/cxg-e60wt

CXG-E60WT Soldering Iron firmware (STM8S103K3)

Primary LanguageC

CXG-E60WT Soldering Iron firmware (STM8S103K3)

A firmware for new soldering irons with STM8S103K3 MCU onboard. Some missing features have been implemented, such as sleep/wake up modes, sounds, errors check, etc.

For those who wants to re-build the firmware: you'll need two essential pieces of software to work with the STM8:

  • stm8flash, a utility for interfacing your ST-Link dongle
  • SDCC, a compiler

On Linux:

To install SDCC

sudo add-apt-repository ppa:laczik/ppa
sudo apt-get update
sudo apt-get remove sdcc sdcc-libraries
sudo apt-get install sdcc

To install stm8flash

git clone https://github.com/vdudouyt/stm8flash.git
cd stm8flash
make
sudo make install

To build the firmware

git clone https://github.com/Lymes/cxg-e60wt.git
cd cxg-e60wt
make
make flash

Service Menu

You can enter the Service Menu pressing "+" key and Power ON.

Doble-click on any key will cyclically change the following menu items:

  • SOU: enable/disable sound, values 0..1 (default 1)
  • CAL: calibration value in degrees, range -99..99 (default 0)
  • SL1: sleep value in minutes, range 1..30 (default 3)
  • SL2: DEEP sleep value in minutes, range 1..60 (default 10)

To exit the Service Menu just switch OFF/ON the soldering iron

PLEASE NOTE:

  • when in SL1 mode, the soldering iron will keep 100°C
  • to reset to DEFAULT values press "-" key and power ON the device.

CXG-E60WT Schematic diagram

CXG-E60WT Scheme

Additional hardware

The following additional hardware has been installed:

Please feel free to use, modify, add new cool features. Good luck!