标题: Reflow Soldering Controller(有电路图和固件源代码) [打印本页] 作者: liyf 时间: 2012-10-6 14:08 标题: Reflow Soldering Controller(有电路图和固件源代码) Reflow Soldering Controller
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.
I built the whole thing on a 5x5cm stripboard:
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: ReflowController Eagle Files
ReflowController.zip
Version: 1.0
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.