Interested in purchasing an AxxSolder 3.1? On Tindie you can purchase assembled and tested AxxSolder 3.1 boards with connectors.
AxxSolder is a STM32 based soldering iron controller for JBC C115, C210 and C245 cartridges.
Two different versions are designed around the same PCB and software - one soldering station based on the JBC ADS stand and one portable version. The hardware takes a DC input source of 9-24V OR a USB-C Power Delivery source. The recommended power supply is a Meanwell LRS-150-24 which can power all compatible JBC irons at full power. If a 65W, 20V USB-PD supply is used then NT115 and T210 handles can be powered at full power and T245 at limited power. The power limiting is automatic and AxxSolder reads the power capability of the USB-PD source and reduces output power accordingly. The software is written for the STM32G431CBT6 and implements a PID for temperature control, TFT display driver, sleep function when the handle is at rest and functions for read/write user settings to flash to name a few. Enclosures for both station and portable versions are 3D printed and design files are available under /CAD. A video showing the AxxSolder station can be found under DEMO. A bill of materials (BOM) with individual component prices can be found under /bom.
Please use Discord for build related and general questions.
- AxxSolder Overview
- Questions and support
- Features
- DEMO
- Schematic
- PCB
- Software Version History and Hardware Compatibility
- AxxSolder Station
- AxxSolder Portable
- Recommended power supply
- Handle identification and connections
- Firmware update
- First start up after build
- Settings
- PID control
- Cartridge differences
- Temperature calibration
- Temperature measurement
- Current measurement
- The tip temperature is set by a rotary encoder. Pressing the encoder puts AxxSolder into Sleep mode and heating is turned off, press again to wake up.
- AxxSolder is capable of driving C115, C210 and C245 style cartridges from JBC. With the "H_sense1" and "H_sense2" inputs AxxSolder can determine if the connected handle is either a NT115, T210 or T245 and adjust max output power accordingly. The max power output is limited in software to 130W for T245, 65W for T210 and 22W for NT115 handles.
- When the handle is put into the stand (connected to Stand_sense) AxxSolder goes into "Standby mode". On the portable version an aluminium plate is mounted and allows the AxxSolder to go into Standby mode when the cartridge or handle rests against it. After 10 min in Standby mode AxxSolder goes into "Sleep mode" and turns heating completely off. This is similar to what JBC calls Sleep and Hibernation.
- If AxxSolder is left in normal running mode for longer than 30 min, the station automatically goes into sleep mode after 30 min as a safety feature.
- Should the temperature ever go higher than 480 deg C overheating is detected and the station goes into sleep mode in order to protect the tip.
- At start-up any USB-PD source is detected and the highest possible power is negotiated. AxxSolder limits the soldering iron output power to the max output power of the USB-PD source automatically.
- User settings are stored in non volatile flash and can be configured via a settings menu described in SETTINGS.
- The two buttons are used to store temperature presets, e.g. 330 deg C and 430 deg C. Both preset temperatures are configurable in the settings menu.
- The TFT display used in this project is a 2 inch 320x240 Color TFT display 2.0" 320x240 Color IPS TFT Display and shows information about:
- Set temperature
- Actual temperature
- Current power as a bar graph
- In case of sleep mode, the power bar shows "ZzZzZz"
- In case of Standby mode, the power bar shows "STANDBY"
- Input voltage
- MCU temperature
- Current detected handle type
- Current max power output
- Current power source USB-PD / DC
https://www.youtube.com/watch?v=I5uLvEM9wpY
The schematic for AxxSolder is shown below. Both station and portable versions use the same PCB and software. The MCU is a STM32G431CBT6.
The PCBs are designed in KiCad and manufactured by PCBWay. PCBWay has sponsored this project with PCBs and stencils. As usual the quality of the PCBs is great. As some components have a rather fine pitch (0,5 mm as of the LQFP-48 package of the STM32) and some packages are "no lead" with a bottom thermal pad e.g. the WSON-8 package of the OPA2387 it is suggested to use a stencil to apply solder paste and then reflow the board using either a reflow oven or hot-plate. The boards on the image below were reflowed on a hot-plate (a homemade AxxPlate). A microscope is also recommended and helpful during assembly. Printed Circuit Boards with assembled components are shown in the image below. A 3D view (from and back) of the AxxSolder PCB is generated with KiCad and shown below.
Version | Date | Hardware Compatibility |
---|---|---|
v3.2.0 | Aug 13, 2024 | V3.* |
v3.1.0 | Jun 5, 2024 | V3.* |
v3.0.2 | Apr 25, 2024 | V3.* |
v3.0.1 | Mar 26, 2024 | V3.* |
v3.0.0 | Mar 02, 2024 | V3.* |
v2.2.4 | Dec 11, 2023 | V2.* |
v2.2.4 | Nov 28, 2023 | V2.* |
v2.2.3 | Nov 25, 2023 | V2.* |
v2.2.2 | Oct 24, 2023 | V2.* |
v2.2.0 | Oct 20, 2023 | V2.* |
v2.1.3-revC | Oct 16, 2023 | V2.* |
v2.1.1 | Oct 7, 2023 | V2.* |
v2.1.0 | Oct 7, 2023 | V2.* |
The preferred setup is to pair AxxSolder with the JBC ADS stand. This makes a very nice, compact and powerful soldering station. The JBC ADS stand is paired with a custom 3D printed enclosure for AxxSolder and the PCB is mounted with two mounting brackets. All 3D printed parts are available under /CAD.
The JBC ADS stand comes with a silicone cable fitted with two Binder 99-0621-00-07 connectors. In order to use this cable a Binder 99-0624-00-07 is mounted into the AxxSolder enclosure and wired as the image below:
By default, the stand separates the two signals coming from the "tool rest position" and the "tip change position" and does NOT have two separate connections for tip sensing 1 and 2 (as is needed). Therefore, a modification is done to the PCB inside the JBC ADS stand in order to combine the "tool rest position" and the "tip change position" sense into one connection and separate the two tip sense connections. This is shown in the image above. The stand is held together with two PH0 screws from the side.
It is often nice to have a compact and portable soldering iron controller for when you are away from your comfortable desk. A neat powerful package with the same capabilities as your main soldering station. This is why AxxSolder Portable was designed. The only difference between AxxSolder station and Portable is the enclosure. As AxxSolder accepts an input of 9-24 V it is compatible with a range of battery options. The author usually use a battery pack consisting of 12 Samsung INR18650 35E in a 3S4P configuration which works very well. The portable version has an aluminium tab on the enclosure connected to the same input on the PCB as the "handle rest" on the station version. This allows the user to rest the iron onto the aluminium tab and automatically enter sleep mode.
The connections from the handle to the PCB through the Hirose RPC1-12RB-6P(71) connector is shown below. The blue wire in the portable version is connected to the aluminium plate which tells the AxxSolder to go into sleep mode when in contact with the soldering iron. The yellow wire is connected to pin 6 and is used to determine which handle is connected.
A well-suited power supply with isolated output (SELV) is the Meanwell LRS-150-24. It is rated for 156 W at 24 V. A cover protecting the terminals for this power supply can be found under /CAD.
Another suitable power supply is the Meanwell XLG-150-24 wich has a slightly different form factor and is fully enclosed.
In order for AxxSolder to know which type of handle (NT115, T210, T245) is connected specific pins must be connected within the handle connector. By default, the original JBC handle T245 has NO pins connected while in the original T210 pins 5 and 6 are connected. The original NT115 handle has a different connector from JBC and must be modified. If the user changes the connector or uses a non-genuine handle it is important to make sure that pin 5 and 3 is connected within the connector. All the necessary connections are shown in the image below. While powering on AxxSolder fir the first time after doing these connections within the handle connector or connections to AxxSolder it is wise to attach a handle without its cartridge and ensure that AxxSolder shows the correct handle type on the display. Failing to detect the handle type will cause damage to the tip as the thermal calibration and max power allowed will be wrong.
Flashing or updating the firmware on the STM32 MCU can be done in two ways, by using a SWD programmer or directly via USB.
There is a bug in the new ST Programmer software version 2.17 throwing the error: "Error: Database: There's no active configuration for this device. All the 3 configurations are disabled!" when trying to connect to the MCU.
Download version 2.15 instead:
These come in a variety of models and are available from several different places online. In the below example a STLINK-V3MINIE SWD programmer is used. The MCU is programmed by the following steps:
- Disconnect any soldering iron handles from AxxSolder during the firmware update process.
- Download the latest AxxSolder.bin file from Releases
- Connect your SWD programmer to the target MCU with GND, 3.3V, (N)RST, SWCLK, SWDIO
- If your SWD programmer can not supply 3.3V it is necessary to power the AxxSolder from an external supply.
- Start your programming software. STM32CubeProgrammer is used in this example.
- Connect to the target by selecting ST-LINK and click on Connect
- Load the latest AxxSolder.bin downloaded in Step 2 by clicking Open file and select the downloaded binary file.
- Write the firmware to the MCU by clicking Download.
- If you get the message File download complete everything succeeded and the SWD programmer can be disconnected and AxxSolder power cycled once and AxxSolder should boot.
- Disconnect any soldering iron handles from AxxSolder during the firmware update process.
- Download the latest AxxSolder.bin file from Releases
- Connect AxxSolder via USB to a computer that runs STM32CubeProgrammer.
- Hold down the most right button while powering on AxxSolder to enter DFU mode.
- Connect to the target by selecting USB and click on Connect
- Load the latest AxxSolder.bin downloaded in Step 2 by clicking Open file and select the downloaded binary file.
- Write the firmware to the MCU by clicking Download.
- If you get the message File download complete everything succeeded and the USB cable can be disconnected.
- Power cycle once and AxxSolder should boot.
The first start up after you have built your AxxSolder can be intense. Double check all solder connections under a loupe/microscope. Especially the OPA2387, LTC4440 and the STM32G431 are small packages with tight pad spacing and can have solder bridges. Do also double check the connections to the soldering iron/stand which are shown in this document under AxxSolder Station and AxxSolder Portable.
The first thing to do after you have double-checked everything is to follow the steps under Firmware update. It is wise to do the first programming of AxxSolder without any handle piece and with only 3.3 V, not VDD. After the programming is done you can now power up AxxSolder again via either with 3.3 V, this time you can attach your handle. This allows you to test that your handle type is detected correctly (the detected handle type NT115/T210/T245 is shown in the display). The Standby feature can also be tested by touching the stand (STAND Input).
If the handle is detected correctly, the Standby function works and the display works you proceed to test the 7.35V DC/DC. This is done by once again disconnect the handle, but this time apply current limited 9-24 V VDD. 100 mA at 24 V is enough to check that the display starts and that you can measure the 3 bus voltages; 3.3V, 7.35V and VDD. If the bus voltages look good and the display shows the main screen you are ready to apply full VDD power and attach the soldering handle.
If you are not 110% sure about your soldering/connections it is wise to be on the safe side and keep your soldering tip in a water bath in over to prevent it from over-heating in an uncontrolled manner. During the development this method was used and saved a few of those expensive JBC cartridges..
To access the user settings the user holds down the encoder button at start-up. A SETTINGS text is then presented and the button can be released. While in the settings there are several parameters available.
Setting | Desciption | Unit | Default |
---|---|---|---|
Startup Temp | Default temperature selected after boot | deg C | 330 |
Temp Offset | Temperature offset applied to measured temperature | deg C | 0 |
Standby Temp | Temperature to go to after handle is set in stand | deg C | 150 |
Standby Time | Time for which standby temperature is held before cooling down | minutes | 10 |
Sleep Time | Time that the iron can be ON before cooling down (safety feature) | minutes | 30 |
Buzzer Enable | Enable or Disable the buzzer | ON/OFF | ON |
Preset Temp 1 | Preset temperature for button 1 | deg C | 330 |
Preset Temp 2 | Preset temperature for button 2 | deg C | 430 |
GPIO4 ON at run | Enable 3.3V output on GPIO4 when the iron is in run mode | ON/OFF | OFF |
Screen rotation | Rotate the screen | "0"=-180 deg, "1"=-90 deg, "2"=0 deg, "3"=90 deg | 2 |
Limit Power | Limit the output power | "0"=no user limit, "5"=5 W, "10"= 10 W, "15"= 15 W ... | 0 |
I measurement | Measure the heater current | ON/OFF | ON |
Startup beep | Beep after startup | ON/OFF | ON |
Temp in celcius | Show temperatures in Celcius and not Fahrenheit | ON/OFF | ON |
-Load Default- | Load default parameters | N/A | N/A |
-Save and Reboot- | Exit and Save | N/A | N/A |
-Exit no Save- | Exit without Save | N/A | N/A |
As the thermal mass of each cartridge differs the PID parameters should in theory be adjusted to each different cartridge. As a matter of simplification, the PID parameters are only different between the different handle types, NT115, T210 and T245. This gives a good enough PID performance in my tests. The Max allowed power is also different between handle types.
/* Determine if NT115 handle is detected */
if((sensor_values.handle1_sense >= 0.5) && (sensor_values.handle2_sense < 0.5)){
handle = NT115;
sensor_values.max_power_watt = 22; //22W
Kp = 3;
Ki = 1;
Kd = 0.25;
PID_MAX_I_LIMIT = 100;
}
/* Determine if T210 handle is detected */
else if((sensor_values.handle1_sense < 0.5) && (sensor_values.handle2_sense >= 0.5)){
handle = T210;
sensor_values.max_power_watt = 65; //65W
Kp = 5;
Ki = 5;
Kd = 0.5;
PID_MAX_I_LIMIT = 125;
}
else{
handle = T245;
sensor_values.max_power_watt = 130; //130W
Kp = 8;
Ki = 3;
Kd = 0.5;
PID_MAX_I_LIMIT = 150;
}
PID_SetTunings(&TPID, Kp, Ki, Kd); // Update PID parameters based on handle type
PID_SetILimits(&TPID, -PID_MAX_I_LIMIT, PID_MAX_I_LIMIT); // Set max and min I limit
The PID parameters are adjusted to achieve a fast response with minimum overshoot and oscillation. The below image is showing the set temperature, actual temperature response as well as the P, I and D contributions during a heat-up cycle from 25 deg C to 330 deg C. This heat-up sequence takes ~1.5 seconds for a C210-007 cartridge.
Cartridges from JBC do all contain a thermocouple element to read the tip temperature and a resistive heater element. The configuration of thermocouple and heater element differ slightly between cartridge models. In order to determine the internal configuration of the cartridges two cross sections were done. These show clearly how the C210 and C245 cartridges are constructed internally. The images can be seen here: https://www.eevblog.com/forum/projects/axxsolder-jbc-soldering-controller. As the thermocouple output also differs (see my measurements Temperature calibration) the correct handle/cartridge type has to be set. This is done automatically be the inputs "Handle_sense_1" and "Handle_sense_2" This can be done thanks to the design of the handle connector. For the JCB T210 handle pin 5 and 6 are connected internally in the connector and for NT115 pin 3 and 5 should be connected. This allows AxxSolder to sense which handle is connected and assign correct thermocouple correction, PID parameters and max output power.
The voltage from the thermocouple embedded inside the cartridge is amplified by an OPA2387 operational amplifier and then read by the ADC of the MCU. To correlate the measured ADC value to the cartridge temperature experiments were done. A constant power was applied to the heating element of the cartridge and the ADC value was read as well as the actual tip temperature. The tip temperature was measured by a "Soldering Tip Thermocouple" used in e.g. the Hakko FG-100.
The measured data was recorded and plotted for both the C115, C210 and C245 cartridges. The specific cartridges used were the C115112, C210-007 and C245-945. The measured data were fitted to polynomial equations:
These are then used in the software to retrieve correct tip temperatures.
As the thermocouple and heater element is connected in series inside the JBC cartridges and the thermocouple voltage measures over the same pins as the heating element we have to be careful when to do the temperature measurement. In order to not disturb the thermocouple measurement with heater element switching, the switching is turned off for 0.5 ms just before the temperature measurement is taken. The 0.5 ms delay ensures that the switching is turned off and the thermocouple signal is stabilized around a stable voltage.
The measured signal over the thermocouple is clamped to 3.3V with a BAV199 Schottky diode in order to protect the op-amp OPA2387. The voltage measurement is taken by the internal ADC in DMA mode with a circular buffer. The buffer holds several measurements which are averaged and filtered in software.
The yellow curve in the image below (Channel 1) shows the PWM signal driving the gate of the MOSFET. The green curve shows the amplified voltage between GREEN and RED wire in the JBC handle for at 330 degree C and 5% power and the purple 25 degree C and at 80% power (the tip held under water trying to heat up).
The blue pulse indicates the wait time of 0.5 ms and the purple pulse is where the ADC is sampled.
The current is sampled four times per second by a 30 us current pulse through the heater. This is done both to check if there is a functioning tip in the handle (otherwise the display shows "---" at current temp) and to be able to calculate the power drawn by the heater. By knowing how much the heater draws in ampere the actual power can be calculated by knowing the bus voltage and pulse duty cycle. to measure the current the gate to the MOSFET is turned on, 10 us later the voltage over the current shunt is sampled by the ADC and the result is converted. This is shown the image below.