查看完整版本: Reflow Soldering Controller(有电路图和固件源代码)

liyf 发表于 2012-10-6 14:08:00

Reflow Soldering Controller(有电路图和固件源代码)

                              Reflow Soldering Controller                                                                                  http://pleasantsoftware.com/developer/3d/wp-content/uploads/IMG_0189-300x225.jpg
This is reflow soldering controller for use with a toaster oven as reflow soldering oven.
I bought the toaster oven in a local super market for about 40 . There was also a cheaper oven on sale, but I wasn’t sure if it did 250°C, so I bought the more expensive and prettier one.
Since I don’t want to loose the warranty and also haven’t any interest of the oven’s internals, I designed the reflow controller as an oven-external device which directly switches the oven’s mains on/off.
The relay I use is for 6V, but it seems to work just fine with the 5V supply from the ATtiny. On the mains side, the relay is rated for 230V/16A.
The whole controller is based on a ATtiny 45 µController. I use one pin as input for the 100k thermistor for temperature measurement (connected to JP3), one pin controls the mains relay (via a BC140 transistor), one pin controls a LED for feedback and one pin is connected to a switch for user input.
http://pleasantsoftware.com/developer/3d/wp-content/uploads/Bildschirmfoto-2011-11-23-um-00.50.07-240x300.png
I built the whole thing on a 5x5cm stripboard:
http://pleasantsoftware.com/developer/3d/wp-content/uploads/Bildschirmfoto-2011-11-22-um-18.25.19-300x293.png
http://pleasantsoftware.com/developer/3d/wp-content/uploads/IMG_0182-300x225.jpg

Disclaimer: If you plan to build such a thing, be aware that 220V (or 110V) are involved in this circuit. That voltage potentially kills you. So be careful and don’t do it if you’re not sure, what you’re doing!
Here are the Eagle files for the hardware:
http://pleasantsoftware.com/developer/3d/wp-includes/images/crystal/archive.png
      ReflowController Eagle Files
   ReflowController.zip
   Version: 1.0
   
   
   65.1 KiB
248 Downloads
Details...

FirmwareI managed to pack full PID controlled temperature management, 3 “programs” and a minimalistic UI into the 4k program memory of the ATtiny 45.
The main program (1) handles the reflow soldering process. It controls the oven’s temperature with the following temperature profile:

[*]heat up to 150°C
[*]hold this temperature for 40 seconds
[*]heat up to 190°C
[*]hold this temperature for 10 seconds
[*]heat up for 245°C
[*]hold this temperatiure for 10 seconds
[*]cool down
The temperatures and holding times are easily changeable in the firmware code.

There’s a second program (2), holding 110°C for about 1 hour (great for drying stuff) and a third program (3), switching the oven on for virtually forever. The latter might be used for driving the oven with it’s build in bi-metal temperature control in arbitrary situations (without unplugging the controller).

The user interface is simple:
After connecting the oven and the controller, press the controller’s button to switch the program. The active program is indicated by the LED, blinking 1, 2 or 3 times. To start the selected program, press the button longer than 1 second.

In case of program 1, the led then shows the state of the program by a repeated blinking pattern:
1 blink: heating up to and holding 150°C
2 blinks: heating up to and holding 190°C
3 blinks: heating up to and holding 245°C
After the third phase, the LED is switched on continuously. This means, you can open the oven’s door to speed up the cooling progress. When the oven’s temperature falls below 55°C (i.e. it’s save to touch the PCB), the LED is switched off and the program is reset.
You can abort any program by pressing the button.

The current firmware uses 4084 bytes of the available 4096 byte maximum of the ATtiny 45.
The sources are available at GitHub: https://github.com/zaggo/ReflowController

To program the ATtiny, I used the procedure described at the high-low tech blog.

原理图和源代码



jobo007 发表于 2012-10-17 09:23:08

这样的好东东应该使劲顶!!!

jy11 发表于 2013-2-28 15:48:16

学习 下,谢谢。

jy11 发表于 2013-2-28 15:48:38

学习 下,谢谢。

uuuxxx 发表于 2013-12-3 19:25:27

研究一下看看。。

四哥! 发表于 2014-11-14 14:25:01


学习 下,谢谢。

robter 发表于 2015-10-13 23:00:40

这个很好,学习学习

gl542400 发表于 2017-2-11 15:21:29

学习 下,谢谢。
页: [1]
查看完整版本: Reflow Soldering Controller(有电路图和固件源代码)