TS1C station: inside
The station is the base of the TS1C: a screen, two buttons, an encoder and a dock that charges the iron. It has no heater and no battery of its own: it lives on its USB-C input, keeps the settings and talks to the iron over Bluetooth. This page is what the openware-ts1c firmware knows about the hardware (board H1.80, stock firmware V1.60). The iron has its own page.
The board was not traced. The facts come from the disassembled stock firmware, from measurements on the author's bench and from photos: the internal photos of the FCC filing and the teardown in Kerry Wong's blog. Each one says where it comes from:
Block diagram
Pins and buses as the firmware drives them. The thick lines carry power: yellow is VBUS from USB-C, white the logic supply, red the dock output to the iron.
Photos





Internal photos from Miniware's FCC filing, FCC ID 2ATIFTS1C-S, taken by the SGS lab.
Microcontroller
A WCH CH579M: a Cortex-M0 with a Bluetooth LE 4.2 radio and 32 KB of RAM, in QFN48 stock code photo. It runs at 32 MHz from a 32 MHz crystal; a 32 768 Hz crystal on PA10/PA11 clocks the RTC and the Bluetooth stack. That second crystal sits on the underside of the board, under the microcontroller photo; it works: OpenWare starts Bluetooth only once the RTC counts from it, and the station links to the iron on the bench measured.
- The antenna is a spring coil, marked "RF ANT" on the FCC photo photo.
- Flash: 250 KB for code and 2 KB of DataFlash, by the datasheet. The Miniware loader at 0x0000–0x3FFF (the
TS1C_DFUdisk), the application from 0x4000, DataFlash at 0x3E800, the WCH ROM loader at 0x3F000. SWD is off and the programmer cannot read the flash: the configuration word was read off a dump of the station measured. OpenWare puts its own loader at 0x4000 and the application at 0x6000, and keeps the settings in the DataFlash page. - No LED is driven by the stock firmware, and there is no temperature sensor; the chip's own one is read only by the Bluetooth library for radio calibration stock code.
How it boots
The station and the iron start the same way. After a reset the Miniware loader at 0x0 reads the button once (B on the station, the handle's button on the iron); held, it opens its USB disk. Otherwise it compares 18 bytes at 0x4300 with the application's name and jumps to 0x4000; nothing else is checked stock code. With OpenWare the image at 0x4000 is the OpenWare loader, which carries that name. It stays when the application asked for it or is not valid, waits 5 s for a computer after a watchdog reset, and otherwise starts the application at 0x6000 at once.
- Updates go over USB, no buttons: the loader writes the application (
ts1c.py flash, 3.1 s on the station, 2.6 s on the iron), the application writes the loader (ts1c.py flash-loader, since v0.7.0, a quarter of a second) measured. What makes an image bootable is written last, after a read-back: the application's first 64 bytes, the loader's name at 0x4300. - The Miniware disk (
TS1C_DFUon the station,TS1C_xxxxon the iron) installs OpenWare once, the loader and the application in one HEX, and is the way back. It refuses addresses below 0x4000, so the Miniware loader stays. It writes with no read-back, the first copy of a file always ends as.ERR, and it starts nothing afterwards: plug the device in again measured. - A crash or a hang lands in the OpenWare loader: a crash writes its record and resets into it, a hang is reset by the watchdog into the 5 s window measured.
- Not tested: a reset in the middle of
flash-loader, before the name is written, should open the Miniware disk guess. The iron's Miniware loader was never read out: what it does comes from the stock application and the station's loader.
Power
Everything runs from the station's USB-C VBUS.
- USB PD is negotiated by an ET7301B, compatible with the FUSB302B, on a software I²C bus (SCL PB1, SDA PB2, address 0x22) with its interrupt on PB0 stock code photo. On the author's charger the station makes its 5 and 12 V contracts: 1866 of them in 2 h 45 min with no soft reset, reject or CRC error measured.
- The stock firmware is a PD 2.0 sink for fixed PDOs only: 5 V first and, with the iron docked, a staircase up to the
highest fixed PDO; the manual asks for a 20 V 45 W source. Without PD it shows
CONFIG, turns Bluetooth off and only serves its settings disk stock code. OpenWare takes the highest fixed PDO up to 12 V with 3 A or more, else 5 V, and gives the dock the contract's current less 200 mA. - A chip marked HAF2D sits on the board photo; the dark square part next to the microcontroller on the top side is probably its inductor, and that the pair makes the 3.3 V for the logic is guess. Three 100 µF 25 V capacitors sit on VBUS and a Schottky diode S32 next to them photo.
Dock
The dock has two contacts. Through them the station powers and charges the iron, and its budget of current reaches the iron over Bluetooth with the dock word.
- Power on the contacts: PB9 high puts VBUS on them stock code; the contacts read 4.93 V with PB9 high and 308 mV after it went low measured. The switch is an HM4805A, a dual P-MOSFET photo; that PB9 drives it is guess.
- Over-current: a 10 mΩ shunt (R010) sits in the dock's VBUS line photo. The reference for the current limit is a PWM on PB3 (PWM9, 10 kHz, 128 steps); an over-current comes as a rising edge on PA9, and the interrupt drops PB9 at once stock code. That the shunt feeds a comparator against the filtered PWM is guess; the trip itself was seen with a 1.5 A reference and with 12 V put straight on the contacts measured.
- OpenWare holds the reference at 104 of 128, the stock firmware's value for a 3 A PDO: from a 5.000 V bench supply the iron charged at 1.017 A with no trip, where the 1.5 A value tripped at every switch-on measured.
- The iron-in-dock sensor has two halves: PA2, a digital input with a pull-up, low when the iron is in; and AIN0 on PA4, where a voltage outside 1.5–2.2 V means the iron is in stock code. It is a Hall sensor (the author's word); the window around 1.65 V looks like its output at rest, and PA2 like a mechanical contact guess. That docking and lifting are seen is measured; which half fires is not known.
With the iron docked OpenWare waits 2.5 s, switches the dock on at 5 V, and 2 s later raises the PD voltage without switching the dock off: 12 V put on the contacts at once tripped the protection at switch-on, and with the staircase the iron charges at 12.3 V with no trip measured. Docked at 12 V the iron's heater took 1621 mA and its charger 1171 mA of a 2800 mA budget measured. A lifted iron loses power at once; the stock firmware kept the last PD voltage, up to 20 V, on the contacts for up to 300 ms.
Interface
- Screen: an SSD1306, 128 × 64, on SPI0 at 8 MHz, transmit only (SCK PA13, MOSI PA14, reset PA12, D/C PB17, CS PB18) stock code. The panel is two-colour, rows 0–15 yellow and 16–63 cyan, with a dark band of about 0.8 row between them measured. The stock firmware sends the frame by DMA, OpenWare without; a frame goes out in about 1.7 ms, and the slowest screen draws and sends in 17 ms.
- Buttons A (PA0) and B (PA1), low when pressed; the stock firmware polls them every 21 ms and counts 525 ms as a long press. B held while plugging into a computer starts the Miniware loader.
- Encoder on PA5/PA6: a click is a full cycle of four transitions, both phases high at rest measured. OpenWare reads it in a 1 kHz timer interrupt.
- The buttons, the encoder and the screen are on a separate display board, joined to the main board by a flat cable photo.
- Buzzer on PB19, TMR0 remapped to it, 4 kHz at 12.5 %, as the stock firmware does; OpenWare's beeps are heard measured. The buzzer is the square part on the underside of the main board photo.
- Bluetooth: the station is the central, one link. The stock firmware uses service 0xFFE0 and connects to
the MAC in
config.TXT. OpenWare looks for an iron namedTS1C-with the Nordic UART service, asks for an ATT MTU of 146 and talks to it in SCPI text commands; it links only to the iron that passed the check in its own dock. The transmitter runs at 0 dBm. - USB on PB10/PB11 through the same USB-C. The stock firmware is a flash drive with
config.TXT; OpenWare's loader is a vendor device and its application a serial port (USB 1209:0001) with SCPI commands. - UART0 TX on PB7 at 1 Mbaud is the stock firmware's debug output; OpenWare does not use it.
Pin map
| Pin | What is on it |
|---|---|
| PA0 | button A, low when pressed stock code |
| PA1 | button B; held at plug-in, the Miniware loader stock code |
| PA2 | iron-in-dock sensor, digital, low when docked stock code |
| PA4 | AIN0: iron-in-dock sensor, analog, docked outside 1.5–2.2 V stock code |
| PA5, PA6 | encoder phases measured |
| PA7 | configured as an input, never read stock code |
| PA9 | dock over-current, rising-edge interrupt stock code measured |
| PA10, PA11 | 32 768 Hz crystal stock code |
| PA12, PA13, PA14 | OLED reset, SCK, MOSI stock code |
| PB0 | PD chip interrupt stock code |
| PB1, PB2 | software I²C to the PD chip stock code |
| PB3 | PWM9: dock current-limit reference, 10 kHz stock code |
| PB7 | UART0 TX, stock debug output stock code |
| PB9 | dock power, high = on stock code measured |
| PB10, PB11 | USB D−, D+ measured |
| PB17 | OLED D/C; also SWD TCK, which is off stock code |
| PB18 | OLED CS stock code |
| PB19 | buzzer, 4 kHz measured |
The firmware does not set up the other pins.
How the firmware drives it
- A main loop with no sleep. The interrupts: Bluetooth, the encoder timer at 1 kHz, the PD timer every 1 ms at the lowest priority, and PA9 for a dock over-current. A watchdog of about 1 s.
- USB PD lives in that 1 ms interrupt: a screen frame (up to 17 ms) and a PD exchange (up to 12 ms) from the main loop could miss the source's 24 ms deadline. No offer in 620 ms means one soft reset and then no PD; two failed steps above 5 V leave it at 5 V until reset. The station never sends a hard reset: VBUS is its own supply.
- The dock runs every 100 ms: the staircase above, an over-current drops the power and brings it back after 2 s, and an over-current above 5 V keeps it at 5 V until the iron is lifted.
- Pairing by the dock: the station links to the iron standing in its dock and checks that the iron's contacts follow its dock power, switching the dock off for 2–5 s if it has to. The iron that passes is remembered; with no iron of its own the station links to none.
- The link: the next command line goes 0.25 s after the answer; a setpoint turned on the encoder shows in the iron's telemetry 126–351 ms later, 202 on average measured.
- Settings: a 28-byte record with a CRC-16 in a DataFlash page, saved 3 s after the last change. The
stock firmware keeps a text
config.TXTon a FAT12 disk in the flash.
The station's interface runs in the browser: the emulator is this firmware built for WebAssembly, explained here.