Вы находитесь на странице: 1из 6

LABS PROJECT

DIY Temperature
Controlled Solder Station
SMD manual soldering
for everyone

By Sunil Malekar (Elektor Labs India)

The Platino Solder Station


presented back in 2015 received
wide acclaim and not just
from the Elektor readership.
In good engineering tradition,
the very fact that the original
project worked off the bat
was a key motivator to seek
enhancements for the intrinsic
design. The concerted effort
and thought that went
into this produced a
completely new
design which is
described here.

14 January & February 2019 www.elektormagazine.com


The basic idea behind the DIY SMT sol- switch high currents without running hot,
dering station published about three and even more so when they are of the project information
years ago [1] has not changed, and con- MOSFET variety (metal oxide silicon field sensors
tinues to use the Weller 'RT' solder tips effect transistor) marked by extremely
measurement
with the handy 3.5-mm jack connectors. low On resistance (RDSON). Together these
soldering
These tips have the heating element and two properties allow the design of a sol-
temperature sensor built in, and so all der tip power driver to remain simple.
entry level
you have to do is provide enough power
Æ intermediate level
to heat the tip, and a method to precisely Separate measurements from
expert level
control its temperature. Here's such a interference
controller in extremely compact form. Complications arise when we want to
measure the tip’s temperature with any
3 hours approximately
Heating is easy sort of precision. Contrary to recom-
Although we do not know what exactly mended good design practices for preci-
hides inside the type RT1 solder tip sion measurement systems, the tempera-
(Figure 1) — sadly but understand- ture sensor’s leads intended for convey- Standard tools
ably Weller does not divulge this infor- ing the tiny varying temperature signal (including soldering tools)
mation — it is safe to assume that the are very close to the heating element’s
heating element consists of some sort of leads carrying a high-power signal. Even
resistive device that gets warm when a worse, the sensor and the heater share a
€60 / £50 / $75 approx.
current flows through it: the higher the wire. Although we can understand why the
current, the hotter the tip. Heating the solder tip was designed this way, it does
tip to a constant temperature can be complicate a system designer's life a bit.
done by regulating the current through
it. Because the tip includes a tempera-
ture sensor, that's quite easy to do: pass
a controlled amount of current through
the tip, and subsequently measure its
temperature. Then lower the current if
the temperature is found too high, or
up it when the temperature is too low.
Today in the digital age where zeroes and
ones define the way our contraptions (and
some people) operate, such a control loop
is typically implemented using a microcon-
troller and a pulsewidth-modulated (PWM)
signal. The average value of the PWM
signal determines the average current
through the heating element (Figure 2). Figure 1. The Weller solder bit type RT1 has a 0.2-mm needle tip. The ‚RT‘ series has many different
models to suit requirements for precision soldering.
PWM rules
PWM (pulsewidth modulation) control
is cool for several reasons. First of all,
microcontrollers excel at generat-
ing PWM signals — it is one of the
things they do best (besides going
haywire when it is most incon-
venient), and multiple channels
with 16-bit precision or more
are easy to get. Furthermore,
PWM signals are great for
controlling (power) tran-
sistors because they make
them switch rapidly from
On to Off and vice versa
without spending much
time in the intermediate
energy-wasting region
(where analogue ampli-
fiers like to operate). As a
result, power transistors can Figure 2. A digitally generated PWM signal and how it relates to analogue average values.

www.elektormagazine.com January & February 2019 15


described here as well as to the previ- the heater voltage, pin 2 the signal from
Features ous Platino-based design. Other things the temperature sensor, and pin 3 is for
• +50 °C to +450 °C shared with the previous design [1] are Ground.
temperature range the display — albeit this time we use a MOSFET T1, under control of the PWM
• Precise temperature control graphical OLED display — and the rotary signal, periodically connects the heat-
• Removable RT series solder tip encoder. New is the output current mea- ing element in the solder tip to the
• Temperature data logging surement that enables us to control the heater supply voltage V IN (12 V typ-
• External maximum amount of thermal power the ically). The gate of a MOSFET like T1
12 V DC / 2 A power source soldering tip is allowed to produce. This behaves almost like a capacitor hence
helps to protect the tip against danger- a push-pull stage, T2-T4, is required to
ous currents and to protect small parts drive the gate hard to make sure the
Applying some filtering to the sensor’s against excessive heat. FET is keyed on and off as fast as pos-
output signal and carefully planning the sible, simply by charging and discharg-
moment when to sample it is therefore On to the circuit ing the gate capacitance and without
highly recommended if not obligatory. After the explanations above, the circuit going through hoops to optimise it all.
— shown in Figure 3 — can be easily Transistors T2 and T4 are driven by
Maximum understood. For a change let’s start our T3 because the microcontroller cannot
thermal power control detailed description at the output, con- switch as high up as VIN (12 V).
The design principles we just discussed nector K3. This is where the RT1 sol- The heating current produces a small
apply unequivocally to the design der tip is to be connected. Pin 1 carries voltage across R18, which is copied and

+5V
+5V LCD1
R1 R5
C14 C20 C1 C2

10k

10k
MOSI 100n 10u 10V 10n 10n
L1 ENC1
IO8 OLED_0.96
C16 MH2029-300Y C22
+5V
R16

GND
D6

SDA

VCC
IO9

RST

SCL
D/C
D1 100n 1u
K4
10k

14 34 2 24 44 1 2 3 4 5 6
2 1 MISO
VCC VCC1 UVCC AVCC AVCC1
4 3 SCK 8
PB0(PCINT0/SS)

D3/SCL
IC4 PB1(SCLK/PCINT1)

MISO

MOSI
6 5 RESET 13 9 SCK

SCK
RESET
PB2(MOSI/PCINT2/PDI)
10 MOSI +5V
ICSP CD1206-S01575 1 11 MISO
PE6(AIN0/INT6) PB3(MISO/PCINT3/PDO)
+5V 33 28 IO8 C10
PE2(HWB) PB4(PCINT4/ADC11)
29 IO9 +5V
D3 PB5(PCINT5/OC1A/OC4B/ADC12)
30 100n
BAT54 PB6(PCINT6/OC1B/OC4B/ADC13)
R11
PB7(PCINT7/OC0A/OC1C/RTS) 12 R10
K3
R8 18k
C11 C8 1M 3
D5 31 18 D3/SCL
10k

PC6(OC3A/OC4A) PD0(INT0/SCL/OC0B) R12

solder tip
22u 10V 32 19 3 2
100n PC7(ICP3/CLK0/OC4A) PD1(INT1/SDA) R13 5k6
20 A0 1
PD2(INT2/RXD1) 5k6 IC2.A 1
F1 21 4
K2 MF-MSMF050-2 PD3(INT3/TXD1)
7 25
VBUS PD4(ICP1/ADC8) R15 R14
22 C13 C12
PTC Resettable Fuse PD5(CTS/XCK1)
10M

500mA
100R

1 26
VBUS R4 PD6(T1/OC4D/ADC9)
2 3 27 D6 10n 10n
D– 22R D– PD7(T0/OC4D/ADC10)
3 4
D+ 22R D+ ATMEGA32U4-AU
4 R6 41
ID PF0(ADC0) VIN
5 42 40
GND AREF PF1(ADC1)
R2 R3 6 39
UCAP PF4(ADC4/TCK)
5 38 A2
UGND PF5(ADC5/TMS)
37 A1 T1
micro USB_B PF6(ADC6/TDO) R17 BC847C IRF9540
EXP PAD 36 A0
2x
PF7(ADC7/TDI) R20 NSPBF
4k7

CG0603MLC-05E GND GND XTAL1 XTAL2 GND GND R18


100R

15 23 17 16 35 43 T2 0R020

KX-7
X1 16MHz
C23 C24 T3 T4 3 4
R19 +5V
D5
10k
100n 1u
C19 C17
BC847C BC857C 5

22p 22p

K1 NCP1117-5 IC3 C21 C18


VIN +5V INA138
D2 IC1
3 2 10u
100n
5 10V
MBRS540 8
R21 1
C3 C4 C5 C6 C9 C7 A1 7
T3G
1 100k IC2.B 2
IC2 6
10u 47u 10u C15
100n 100n 100n 4
35V 10V 10V
1
MCP6002 150500 - 11

Figure 3. The schematic diagram of the soldering station cleverly mixes analogue and digital electronics to achieve its objectives.

16 January & February 2019 www.elektormagazine.com


component list

amplified by the circuit around IC3, IC2.B Digital circuitry circuit. It is a type ATmega32U4 which
and R21 permitting the microcontroller’s LCD1 represents the 0.96” OLED dis- has a USB interface built in. To the left
onboard analogue-to-digital converter play in the project. Its wiring may seem of IC4 we find micro USB connector K2,
(ADC) to sample it via signal line A1. strange but do realise that these dis- which connects to this interface. Com-
Capacitor C15 provides some noise fil- plays can work in either SPI or I2C mode ponents R2, R3 take care of any ESD
tering. Note that the current version of depending on how some of its resistors surges that may appear on these lines
the ATmega firmware limits the current and jumpers are set. In this design the for some reason. F1 is a resettable fuse.
to 1.5 amps. display is used in SPI mode. However the All in all the USB port is pretty resilient,
labelling on these displays often refers to and connecting a computer to it is not a
Low-noise amplifier IC2.A boosts the the I2C signals, which is why it is drawn great risk. The soldering station is safe
solder tip’s temperature sensor output that way. When you buy this display to too, and, when programmed with the
voltage. Networks R12-C12 and R13-C13 use in the project, make sure to get the right software, will appear to the PC as
together form a second-order low-pass SPI version. an Arduino Micro or Leonardo.
filter to get rid of some of the noise inher- ENC1 is the rotary encoder that's used
ently "on the line". The signal on line A0 to set the temperature of the solder- Power supply
is sampled by the microcontroller IC4. ing station. It has a built-in pushbutton A 12-volt 2-ampère regulated power
Resistors R11 and R14 allow detection and therefore requires three digital inputs supply is required to make the solder
of a disconnected sensor enabling the IO8, IO9, and D6. station work properly. Although a 12-V
supply power to the tip to be cut. This Already briefly mentioned above, IC4 is DC 'brick' supply is cheap and conve-
prevents destruction of the tip through the microcontroller that provides the cal- nient, you should check its output reg-
overheating. culation power and PWM circuitry for the ulation and output current ability before

www.elektormagazine.com January & February 2019 17


Figure 4. Top side of assembled board with LCD and rotary encoder Figure 5. Component side of assembled board with all SMD parts
mounted. mounted.

using it. If the supply voltage is weak EEPROM to avoid having to set it every Assembly
or too noisy under load the tempera- time the soldering station is switched on. You can choose to buy a semi kit from
ture measurements may become inac- The tip temperature is measured period- Elektor Store, or hamster the parts from
curate. IC1 makes 5 V out of the VIN ically. To do this properly the PWM signal your favourite supplier(s) and the board
supply to power the digital part of the is first switched off (pulled Low), and from Elektor, and spend an afternoon
circuit together with the temperature after a short delay (to allow the change soldering SMDs.
sensor ADC input circuitry. Components to have its effect), the signal on A0 is Assembling the board requires SMT tools
L1 and C22 are additional measures to sampled. The current temperature is and the photographs in Figures 4 and 5
keep noise out of the ADC peripheral. calculated and compared to the target of the finished board should provide use-
For development purposes it is also pos- value, and if the difference is too large ful in replicating the project at home. One
sible to power the circuit from the USB (about 5 °C), the PWM value is adjusted special component is the 0.02-ohm cur-
port. When VIN is not applied, D3 con- accordingly. rent sense resistor pictured in Figure 6.
nects VUSB to the 5-volt rail, effectively Contrary to temperature measurements, The resulting 'module' is quite small and
powering the circuit. The solder tip will heater current measurements are taken should easily fit in all sorts of enclosures
not heat up in this case, but tempera- when the PWM signal is High (i.e. on) and leave plenty of space for a 'brick'
ture measurements are possible, mean- because otherwise the value would style 12 V/2 A power adapter or a power
ing that you can use this device as a always be zero or thereabouts. transformer with rectifier, stabiliser, etc.
thermometer too! The user interface (UI) consists of the to give it some weight! The prototype of
rotary encoder and the display. For the the solder station pictured here was built
Details about the software first pin-change (PC) interrupts are used; into a Teko type 102 case with dimen-
The program that makes it all work the process is controlled using the pop- sions 110 × 70 × 46 mm.
together takes care of several functions: ular Adafruit graphics library. Along that same thought and for reasons
Target as well as measured temperatures of comfort you may want to build the
• PWM generation; and the complete solder station status solder station board into a heavy metal
• temperature measurement; are transmitted via the USB serial port. case (no pun intended). If the case is
• temperature sensor detection; too light it will move around too easily,
• heater current measurement; Programming the firmware whereas you want it to stay put on your
• heater voltage measurement; The software for IC4 (see [2]) was bench. A good solution therefore would
• USB communication; written as an Arduino sketch. As such be to build the module with its power
• interaction with the user. you need the Arduino IDE to compile supply — using a heavy transformer —
  it. Because the solder station is Arduino into a single case.
After powering up the program arranges Micro (Leonardo) compatible, that is also Users opting to build a discrete 12-V,
for the tip to be heated full throttle to the “Board” to select in the IDE. 2-A power supply for the solder station,
ensure a quick start. Once the target K4 is intended for programming the must observe all electrical safety precau-
temperature is reached — this takes a microcontroller. Once you have flashed tions applicable in their region or country.
few seconds — PWM regulation kicks in, the Arduino Micro or Leonardo bootloader That's why Elektor Labs recommends the
and you can start soldering. Note that the you can also program the MCU over USB use of a sealed 12-V DC supply of the
target temperature is stored in the MCU’s from the Arduino IDE. type used for printers and lighting as

18 January & February 2019 www.elektormagazine.com


that largely eliminates the safety hazard.
So off to the local charity shop to find a
suitable 'brick'!

Another light challenge is to find a cable


that's:

• flexible;
• heat- and spillage-resistant;
• specified for the rated current;
• solderable to 3.5-mm jack plugs.
 
We found USB cables quite suitable —
simply cut off the connectors and use
two wires for ground and power.
One idea is to mount a socket on the
enclosure and run wires from it to the
module. The solder tip connects to the
cable and the cable in turn connects to
the socket.
In short, make your DIY solder station
look like a commercially available prod-
uct; there are good reasons why they all
look much the same.
Figure 6. Close up of the 0.02-ohm, 2-watt current sensing resistor on the prototype.

Using the solder station


The solder station is pretty easy to use
as all you have to do is power it and set a
target temperature by turning the rotary @ www.elektor.com
encoder. Any value from 50 °C to 450 °C ªDIY Temperature Controlled Solder Station, bare PCB:
can be set. The target temperature is www.elektor.com/diy-solder-station-bare-pcb
displayed together with the measured ªDIY Temperature Controlled Solder Station, kit of parts
temperature of the solder tip. www.elektor.com/diy-solder-station-kit-of-parts
If the rotary encoder is not operated for ªDIY Temperature Controlled Solder Station, programmed microcontroller
about 15 minutes, the solder station will www.elektor.com/diy-solder-station-controller
enter its power-saving mode. Push the
encoder button to wake it from slumber.
Pushing the encoder button for 10 sec-
Weblinks
onds will also put the solder station to
sleep. [1] Platino-based Solder Station, original publication
180348-01 www.elektormagazine.com/140107
[2] Downloads for this article
www.elektormagazine.com/180348-01

Advertisement

Enclosures and Platforms


for Pi and Arduino
www.hammondmfg.com/1593HAM.htm
www.hammondmfg.com/1593HAMEGG.htm
01256 812812
sales@hammond-electronics.co.uk

www.elektormagazine.com January & February 2019 19

Вам также может понравиться