This is a complete rewrite of the open source software for the ts100 soldering iron. The version two fork of this code has no shared code with the original firmware from Miniware (E-design) group.
This project is considered feature complete for use as a soldering iron, so please suggest any feature improvements you would like!
A short(ish) video that goes through every single menu option in the firmware is available over here. This video was created on an earlier 1.x version of the firmware, so alot has changed but should be fairly intuitive as the menu has vastly improved.
This firmware does NOT support the usb port while running for changing settings. This is done through the onscreen menu only. Logos are edited using the tool or python script and uploaded in DFU mode.
Please note that when running the iron off a Lithium battery pack, the Iron is only rated to 24V input. So using a fully charged 6S battery slightly exceeds this rating, and is done so at your own risk. Please calibrate your irons voltage reading when you are using a lithium battery after any firmware upgrades.
- PID iron temperature control
- Automatic sleep with selectable sensitivity
- Motion wake support
- Settings menu on the unit
- Set a voltage lower limit for Lithium batteries so you dont kill your battery pack
- All settings saved to flash when you exit the menu
- Improved readability Fonts
- Use hardware features to improve reliability
- Can disable movement detection if desired
- Calibration of the thermocouple offset
- Boost mode lets you temporarily change the temperature when soldering (ie raise temperature for short periods of time)
- Battery charge level indicatior if power source set to a lipo cell count.
- Custom bootup logo support
- Automatic LCD rotation based on orientation
- Supports both the version 1 and version 2 hardware
This is completely safe, if it goes wrong just put the .hex file from the official website onto the unit and your back to the old firmware. Downloads for the hex files to flash are available on the releases page. The file you want is called ts100_EN.hex unless you want the translations, they are ts100_language short name.hex.
Officially the bootloader on the iron only works under Windows. However, users have reported that it does work under Mac, and can be made to work under Linux sometimes. Details over on the wiki page.
- Disable Teracopy or other Explorer replacements.
- Hold the button closest to the tip, and plug in the USB to the computer.
- The unit will appear as a USB drive.
- Drag the .hex file onto the USB drive.
- The unit will disconnect and reconnect.
- The filename will have changed to end in .RDY or .ERR
- If it ends with .RDY you're done! Otherwise something went wrong, retry?
- Disconnect the USB and power up the iron. You're good to go.
For the more adventurerous out there, you can also load this firmware onto the device using a SWD programmer. On the bottom of the MCU riser pcb, there are 4 pads for programming. There is a complete device flash backup included in this repository. (Note this includes the bootloader, so will need a SWD programmer to load onto the unit). Please do not use the backup of the bootloader for anything malicious, its only saved here for those who are tinkering with their iron and decide to replace it.
This firmware uses a different method of updating the bootup image. This removes the need for emulating a USB drive on the iron just to allow for a bootup image to be setup. There are further instructions on the wiki. Instructions are kept on the wiki so that users can update the information if they find extra helpful information.
This new firmware uses a new menu system to allow access to the settings on the device. When on the main screen, the unit shows prompts for the two most common operations.
- Pressing the button near the tip enters soldering mode
- Pressing the button near the USB enters the settings menu.
- Holding the button near the tip will enter soldering temperature adjust mode (This is the same as the one in the soldering menu, just to let you edit before heating up).
- Holding the button near the USB end will show the firmware version details.
In this mode the iron works as you would expect, pressing either button will take you to a temperature change screen. Use each button to go up and down in temperature. Pressing both buttons will exit you from the temperature menu (or wait 3 seconds and it will time out). Pressing both buttons or holding the button near the USB will exit the soldering mode. Holding the button at the front of the iron will enter boost mode (if enabled).
This menu allows you to cycle through all the options and set their values. The button near the USB cycles through the options, and the one near the tip changes the selected option. Note that settings are not saved until you exit the menu. If you leave the unit alone (ie don't press any buttons) on a setting, after 3 seconds the screen will scroll a rough description of the setting.
The menu is arranged so that the most often used settings are first. With submenu's being selected to enter using the front button (as if you were going to change the setting). Scrolling through the submenu will return you back to its entry location after you scroll through all of the options.
Due to the tolerance on the resistors used for the input voltage divider, some irons can be up to 0.6V out on the voltage measurement. Please calibrate your iron if you have any issues with the cutoff voltage. Note that cutoff messages can also be triggered by using a power supply that is too weak and fails under the load of the iron. This is more critical than before with the new cell count based cutout voltage.
To calibrate your Iron:
- Measure the input voltage with a multimeter and note it down.
- Connect the input to your iron.
- Enter the settings menu
- Under the advanced submenu
- Select the calibrate voltage option
- Use the front and back buttons to adjust the displayed voltage to minimise the error to your origional measurement
- Hold both buttons to save and exit to the menu
Some tips will have an offset on their readings, to calibrate this out perform the following steps:
- Connect power to your iron
- Make sure the tip is at room temperature (ie. wait for a fair while after using the iron before calibration)
- Enter the settings menu
- Scroll down to the advanced menu, and then the temperature calibration
- Press the button to change the option (tip button)
- The display will start to scroll a warning message to check that the tip is at ambient temperature!
- Press the button near the tip of the iron to confirm.
- The display will go to "...." for a short period of time as the unit measures the tip temperature and the handle temperature and compares them
- The display will then go back to TMP CAL
- Calibration is done, just exit the settings menu as normal
- You're done. Enjoy your iron.
This allows you to change the front key (one near the tip) to become a boost button when you hold it for > 2 seconds. This allows you to set this button to change the soldering temperature for short periods. For example when soldering a big joint and you want to boost the temperature a bit.
The boost temperature is set in the settings menu.
If you love this firmware and want to continue my caffine addiction, you can do so here (or email me for other options) : https://paypal.me/RalimTek
The code in this repository that is based on the STM tools is under a BSD like licence. The code created by the communitiy is GNU GPLv3. The FreeRToS is under its own licence.
This software is provided as-is, so I cannot provide any commercial support for the firmware. However you are more than welcome to distribute links to the firmware, or provide irons with this software on them. Please do not re-host the files, but rather link to this page, so that there are not old versions of the firmware scattered around. If this firmware does make you money, it would be nice to recieve a donation, however there is no enforcement.