A Reflow Controller for Soldering With a Griddle or Toaster

WARNING: This design involves use of the mains and a heating element, both of which carry inherent safety risks. This project is a one-off prototype and was not designed to be duplicated. This has been posted as an education resource for understanding the concepts involved.

Accordingly, this information comes with absolutely no warranty or guarantee of any kind. Any attempt to duplicate anything found here is not advised and is solely at your own risk.

There is no way I am going to shell out for a reflow oven. Even with ability to get one direct from China for under $500, it doesn’t make sense for me; it is just no fun. I figured, why buy a glorified toaster when I can glorify my own?

There are times when I would prefer to use a griddle over a toaster. These times mostly involve sensitive parts like sensors or plastic connectors which are easy to screw up in an oven. Before the age of ROHS, connectors were rarely made with the ability to withstand lead-free soldering temperatures. Sometimes you can get these low-temp connectors from surplus for very cheap. The griddle could potentially make them lead-free temperature friendly. The toaster and griddle control involve the same feedback loop. Temperature indicted by thermocouple output dictates power control. It therefore made sense to make one device to control both.

Back of the controller

Back of the controller

Device power is supplied from the wall. A mini transformer converts the mains voltage to 5V RMS, which is rectified using 4 discreet Schottsky diodes. Voltage regulation is provided by several linear regulators. The device is housed in an LMB Heeger MDC642 aluminum enclosure which also serves as the heatsink for a TRIAC which controls the mains flow through the heating element. TRIAC controls is accomplished with a zero-crossing detecting opto-isolating triac driver, the Fairchild MOC3031. automatic zero-crossing does not give you the fine level of control you get with doing it manually but it is easier and produces less magnetic noise. For this application, the level of control was sufficient. The particular TRIAC I used is the BTA20, which is a snubberless insulated gate type. The insulated gate was crucial because it allowed the use of the case as a heatsink. The snubberless feature (meaning the snubber is built in or the equivalent) was not really necessary because the load is purely resistive but it can’t hurt and it prevents random turn-on in the case of mains line surges.

From the BTA20 datasheet:

“By using an internal ceramic pad, the BTA series provides voltage insulated tab (rated at 2500VRMS) complying with UL standards (File ref.: E81734).”

Obviously for safety reasons, it is critical that the case be electrically connected to earth ground. This safety advantage and reduced EMI are the key benefits of using a metal enclosure. Cutouts were made for the LCD, the power entry module, which includes a spot for a 10A fuse, and the Cherry 15A rocker switch I use for power. Additional safety measures could include a thermal cutoff in each heating device.

Inside of the reflow controller

Inside of the reflow controller

The microcontroller used for this experiment is the Texas instruments Stellaris LM3S815. It is part of the TI ARM Cortex M3 value line. It only has 64k of flash and 8K of ram, plenty for this project. To avoid making yet another custom board, I used a Schmartboard development board to power the MCU and breakout its pins. One benefit of using the Stellaris was the Stellaris graphics library. This made it faster to implement the buttons and the slider controls. It also contains a plethora of fonts ready for use. The graph, however, had to be implemented manually.

The touchscreen used is a monochrome 320×240 from Powertip. I bought a surplus lot of about 800 of them and I have been selling them on eBay. I used the Microchip AR1020 to handle the resistive touch functionality. Unfortunately, I ran into some trouble getting the Stellaris hardware I2C to properly communicate with the chip. Everything looked good on the logic analyzer so I am not sure what the problem was and I have not investigated further. I was able to read from the AR1020 but I did have to hardcode the calibration.

Some would argue that the analog portion of this project is the most difficult to implement correctly. Fortunately, it went very smoothly for this project. The Texas Instruments ADS1147 is mostly to thank for that. TI made this ADC specifically for temperature control applications and it has an analog front end with a 128x programmable gain amplifier built in. The only thing that separates the thermocouple leads and the ADC input is some basic RC filtering. It also has digital filtering built-in. I set the output at the lowest rate of 5 samples for second, plenty for this application. There is absolutely no software filtering in my application, the result from the ADC is used as is and it is surprisingly stable. The 16-bit resolution offers just short of 0.01 degree resolution at about 80 ticks per degree.

Analog module
Analog Board Layout
Analog Module

I use a separate aluminum box to house the analog components which includes the ADC, a TI TMP275 I2C temperature sensor, and a precision voltage reference. The digital and analog grounds are wired separately from the main unit. The analog module uses its own linear regulator for power. The primary reason I separated the components was to avoid a moving reference temperature. Thermocouples output a voltage dependent on the gap between the tip and the connection junction. Hence, it is a relative measurement. In order to make it absolute, you need to know what the temperature at the junction is. This is referred to as cold point compensation. When the junction temperature wanders, it makes things difficult.

The software is compact at about 32k, especially considering my reckless use of fonts. I did, however, completely avoid using floating point numbers. There is some safety logic implemented for detecting failing thermocouples and disconnected units but improvement should be made. The detection is made by the lack of temperature increases despite power being applied. The ADS1147 has current excitation features designed for bad thermocouple detection that should also be implemented. I also think it should have the ability to measure the mains current and a backup relay in case the TRIAC fails shorted. Of course, even if all of that were implemented, the early prototype nature of the software would make it irresponsible to leave the unit operating unattended.

Graph after reflow completed

Graph after reflow completed

Some brief tests showed some very good results. A test board with a 0.5mm pitch, 64 pin TQFP PIC32 turned out good with no burning and all pins connected (see video). My only complaint is that griddle is not powerful enough to heat up at the rate the profile calls for. I had to elongate the profile and dull the steep ramps for it to work. It was the smallest griddle I could find, even so, the open air nature of it makes it difficult to heat quickly at high temperatures. Too slow is better than too fast however. The only problem with too slow is the potential to use up all of the flux before melting point. This could cause oxidation leading to poor wetting. For my test board, the LCD breadboard adapters, it didn’t seem to be an issue but they are about a 2 on a 1-10 reflow difficulty scale.

Reflow Controller Into

Soldering With Griddle

Soldering With Toaster


Power Board Schematic

Analog Board Schematic

LCD Board Schematic

Source Code

Reflow Controller Source (ARM C)

    • TERiggs
    • January 28th, 2011

    Now this project is cool (well maybe not cool) I have been wanting to do something like this for a long time. I may not be good at thinking things up but I am good at copying things and I think Godfor those who are willing to share there ideas.

    • Chuck Robideaux
    • May 2nd, 2011

    Like TERiggs, I am very appreciative for these geniuses that share their creations!

    Tnx and 73 to CafeLogic!

    Chuck W8DUX

    • Chuck Robideaux
    • May 3rd, 2011

    This is a “Must Do” project for me; your LCD input/output was the deciding factor.
    I have ordered 2 of the displays used in this controller and requested samples of the IC’s.
    My programming and PIC/Arduino skills are at the Novice level while my assembly skills are mid-to-high.
    The schematics and code have been downloaded and are being studied while awaiting the parts.
    The comments in your code are in a foreign language (Polish?)
    Do you have the code comments in English?
    I would be very grateful if you would share any/all information to help me build a copy of your superb stand-alone controller!

    Tnx in advance
    Chuck W8DUX

    • Is your you have bought the kit, ebay?, How you worked is cool? also
      I’m interested in doing, if you could comment on your experiences
      would be great, Thanks

    • jaspreet
    • May 5th, 2011

    i m interested in buying ur reflow controller do u sell ?

    • Luis
    • June 23rd, 2011

    jaspreet :hii m interested in buying ur reflow controller do u sell ?

    I am also interested in building this project; I imagine that you do not sell the product finished because the liabilities, but If you could sell a disasembled kit it will be a great project for the summer. and that way you are free from any liabilities. Please let us know.

    • Aleks
    • January 1st, 2012

    This is a very interesting project and much better than others i saw with Atmega & Pic uCs. Can you let me know, which compiler you used for the ARMC code?

    Thx and best wishes for 2012

  1. Extremely nice design and fantastic content material , absolutely nothing else we want : D.
    Fake Ray Ban Knock Off http://www.forestjournal.jp/knockoff.php?pid=67

  2. Remarkably! It is as should you read my mind! A person appear to know therefore considerably relating to this, just like you authored the book inside it or something. I feel that you can do with a couple of images to drive the content residence a bit, on top of that, this genuinely is great weblog. The outstanding study. I will undoubtedly review once more.
    Ray Bans Vs Knockoffs http://www.forestjournal.jp/knockoff.php?pid=119

  3. Im not 100% on this, but I do like the concept. High-quality read here
    White Ray Ban Wayfarer Knockoffs http://www.forestjournal.jp/knockoff.php?pid=121

  4. こんにちは、この週末は気難しい 私、の理由この印象 教育 ポスト私はこの偉大を読んでいます。
    セール対象商品 限定品 http://www.barkingspuds.com

  5. を介して私のいとここのウェブサイトのブログ | 示唆推奨 | 私がいた私があることを使用しました。 私は ない 正 かこの公開で| |ビアを介して 他 により誰のような知る|認識|理解|認識detailed 約 トラブル。 信じられない | あなたにしているあなたは! おかげで、ありがとうございました!
    セール対象商品 即日発送可能 http://www.gowebtech.com

  6. Понимаю Ваши чувства, Незнакомка, Сочувствую. Я и сам был в депрессии, часто было плохое настроение, которое лишало сил, в том числе бороться с привычкой БÃÂ°Ã‘Ñ‚Ãрбировü°Ñ‚ÑŒ. Но я победил! Пожже напишу подробнее, спешу на работу.Очень похвально, Незнакомка, что Вы встали на этот путь. У вас тоже всё получиться, не сдавайтесь!

  7. That’s a sharp way of thinking about it.

  8. I’m sorry but how did god get inside the conversation to begin with? The posting I just browse was about a male and a shark, did not see god’s identify wherever within the posting. Just holy rollers hoping to push their faith on everyone!! Oh and if god exists then why does god allow guy kill nearly a hundred million sharks a calendar year and then god tells the shark to save the man that kills his species??? I do not imagine so!!!!!!

  9. Hahaha…I love it! I prefer your version of my cat pose. It's reminiscent of my cat Trixie after she gets spooked :p I love the polka dots! But come on…who doesn't love polka dots? :)JennaSewSavoirFaireCreations.blogspot.com

  1. January 23rd, 2011