ATmega SolderingStation SMD v2

2 years ago

Profile:T12 Quick Heating Soldering Station based on ATmega328P

Open source license: CC-BY-SA 3.0

  • 4.8w
  • 171
  • 150


1. Overview

T12 Quick Heating Soldering Station featuring

  • Temperature measurement of the tip
  • Temperature control via rotary encoder
  • Boost mode by short pressing rotary encoder switch
  • Setup menu by long pressing rotary encoder switch
  • Handle movement detection (by checking ball switch)
  • Iron unconnected detection (by idenfying invalid temperature readings)
  • Time driven sleep/power off mode if iron is unused (movement detection)
  • Measurement of input voltage, Vcc and ATmega's internal temperature
  • Information display on OLED
  • Buzzer
  • Calibrating and managing different soldering tips
  • Storing user settings into the EEPROM


2. Versions, Upgrades and Notes

Soldering Station v2.0:


Soldering Station v2.5:


Soldering Station v2.6:


UI Upgrade by LHW-createskyblue

LHW-createskyblue created an awesome upgrade to the user interface which can be installed optionally. It features:

  • Beautify the detail page and increase the power bar
  • Menus have ICONS
  • Better scrolling animation
  • Get rid of the U8g graphics library and use the ArduBoy graphics Library (Lite) to improve the frame rate and reduce memory usage to make graphics possible
  • Add flip display Settings to adapt to the habits of different people
  • Knob direction setting menu
  • Screen saver
  • English and Chinese language pack
  • System Password
  • Better numerical input experience
  • Chip overheating and low voltage alarm
  • Watchdog timer automatic reset the MCU

Notes and Errors

  • In the board version 2.5 the diode D1 may overheat. To be on the safe side, the 18V zener diode D4 should be removed and the soldering station should be operated with a maximum of 20V. Alternatively, the diode D1 can be replaced with an SS54 schottky diode and the BJT Q1 with an FMMT619.

3. Power Supply Specification Requirements

Choose a power supply with an output voltage between 12V and 24V which can provide an output current according to the table below. The power supply must be well stabilized. The current and power is determined by the resistance (R = 8 Ohm) of the heater.

Voltage (U) Current (I) = U / R Power (P) = U² / R
12 V 1.50 A 18 W
13 V 1.63 A 21 W
14 V 1.75 A 25 W
15 V 1.88 A 28 W
16 V 2.00 A 32 W
17 V 2.13 A 36 W
18 V 2.25 A 41 W
19 V 2.38 A 45 W
20 V 2.50 A 50 W
21 V 2.63 A 55 W
22 V 2.75 A 61 W
23 V 2.88 A 66 W
24 V 3.00 A 72 W

4. Temperature Measurement and OpAmp Considerations

A thermocouple (temperature sensor) is located in the T12 soldering tip. It creates a very small voltage depending on the temperature difference between the hot end and the cold junction (about 22 microvolts per degree Celsius). To measure this, the heater must be switched off since both share the same connections. The low voltage is amplified by the OpAmp and measured by the ADC of the microcontroller. The LMV358 is a very cheap and versatile OpAmp, but not the ideal choice for this task because it has a fairly high input offset voltage and is quite noisy. Although the SolderingStation also works with this OpAmp thanks to the software's smoothing and calibration algorithms, I highly recommend spending a little more money in a better one. The OPA2330AIDR or OPA2333AIDR for instance have the same pinout and can also be used with this board. They provide significantly more accurate and stable temperature measurements.


5. Heater High Side Switch with N-Channel MOSFET and Charge Pump

The microcontroller switches the heater on and off via the MOSFET. Since the temperature measurement must be done over the same line and against ground, the MOSFET has to be placed between the supply voltage and the heater (high-side switch). A P-Channel MOSFET is normally used for this configuration. However, N-Channel MOSFETs usually have a lower resistance (RDS (on)), in the case of the IRLR7843 only 3 milliohms. A low resistance means a higher efficiency and a lower heat development of the MOSFET. For an N-channel MOSFET to function as a high-side switch, an additional circuit is required to maintain a positive GATE-TO-SOURCE voltage after the MOSFET is switched on. This is done using a so-called charge pump consisting of a capacitor and a diode. The principle of operation is illustrated in the following graphic by Smallp Tsai:


6. Building Instructions

In addition to the components for the PCB you will need the following:

  • 3D-printed case
  • Aviator Plug (4- or 5-pin depending on your iron handle)
  • DC Power Jack (5.5 * 2.1 mm)
  • Rocker Switch (KCD1 15 * 10 mm)
  • Some wires
  • 4 Self-tapping screws (2.3 * 5 mm)


Make sure that all parts fit nicely into the case. Solder the wires to the connectors and protect them with heat shrinks. Use thick wires (AWG18) for the power connections. Make all connections according to the schematic down below but keep in mind, that there's no standard pinout. Solder the wires directly to the corresponding pads on the pcb. To make the soldering station ESD-safe, connect the earth (E) terminal of the aviator plug to a female dupont connector and glue it into the corresponding opening on the case. Now you can connect the soldering station via a male dupont connector to an earth terminal. Upload the firmware and screw the pcb on top of the case.


The pinout shown works for the Quecoo handles from aliexpress. Different handles may have different pinouts. If you are assembling your handle yourself, follow the scheme shown below. The video by John Glavinos (electronics4all) shows how it's done.


7. License


This work is licensed under Creative Commons Attribution-ShareAlike 3.0 Unported License. (


SolderingStation v2

Open in editor


Open in editor


ID Name Designator Footprint Quantity BOM_Manufacturer Part
1 1N4148W D2 DIODE-SOD-123 1 1N4148W-E3-08
2 LMV358IDR U3 SOP-8_150MIL 1 LMV358IDR
3 16MHZ X1 HC-49S 1 X49SD16MSD2SI
4 MLT-5030 BUZZER1 MLT-5030 1 MLT-5030
5 OLED OLED I2C - OLED 0.96" 128X64 1 SSD1306 I2C OLED
6 18V D4 ZENER-SOD-123 1 MM1Z18
7 5V1 D3 ZENER-SOD-123 1 MM1Z5V1
8 47k R12 0603 1 0603WAF4702T5E
9 1k5 R2 0603 1 0603WAF1501T5E
10 10k R11,R13,R3,R4,R6,R7,R14,R10,R1 0603 9 0603WAF1002T5E
11 1k R9 0603 1 0603WAF1001T5E
12 200k R8 0603 1 0603WAF2003T5E
13 IRLR7843TRPBF Q2 TO-252-2 1 IRLR7843TRPBF
14 KF350-3.5mm P3,P2,P1 KF350-2P 3 WJ2EDGVC-5.08-2P
15 ICSP-6 ICSP ICSP-6 1 ?
16 3x6x2.5 RESET KEY-3.0*6.0 1 3x6x2.5Red head high temperature
17 Rotary Enc SW1 BOURNS_PEC11R-4XXXF-SXXXX 1 PEC11R-4015F-S0024
18 100n C10,C1,C9,C3,C2 0603 5 CC0603KRX7R9BB104
19 1u C13 0603 1 CL10A105KB8NNNC
20 330n C11 0603 1 C1608X7R1H334KT000E
21 22p C5,C6 0603 2 CL10C220JB8NNNC
22 2n2 C8 0603 1 0603B222K500NT
23 1k R5 1206 1 1206W4F1001T5E
24 47u C4 1206 1 1206F476M100NT
25 22u C12 1206 1 C3216X5R1V226MTJ00E
26 10u C7 1206 1 GMK316BJ106KL-T
27 78M05 U2 TO-252-2 1 ME78M05K3G
28 PWR LED1 LED0603 1 19-217/BHC-ZL1M2RY/3T
29 FMMT619 Q1 SOT-23-3_L2.9-W1.6-P1.90-LS2.8-BR 1 FMMT619
30 SS54 D1 DIODE-SMA(DO-214AC) 1 SS54


Project Members


周一至周五 9:00~18:00
  • 0755 - 2382 4495
  • 153 6159 2675


周一至周五 9:00~18:00
  • 立创EDA微信号


  • QQ交流群


  • 立创EDA公众号