OpenWare

TS1C iron: inside

The TS1C iron is cordless: a 750 F supercapacitor in the handle feeds the tip, and it charges from its own USB-C or from the station's dock. A bidirectional buck-boost converter sits between the two: it charges the supercapacitor, and turns it back into 12 V for the heater. This page is what the openware-ts1c firmware knows about the hardware (board H1.60, stock firmware V1.40). The station has its own page.

The board was not traced. The facts come from the disassembled stock firmware, from measurements on the author's bench, from datasheets 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:

measured measured on the author's iron
stock code seen in the disassembled stock firmware
photo read off a photo of the board
guess our explanation, not checked

Block diagram

TS1C iron block diagram: the CH579M in the middle; the crystals, the power hold, the link to the station, the BOOST button and the tail LED above it; USB-C, the PD chip and the dock contacts with their switches on the left; the cold-junction thermistor, the thermocouple amplifier, the current source, the heater switch and the tip on the right; the SC8815, the supercapacitor and its thermistor below; the inputs, the SC8815 and the heater switch meet at the VBUS node along the bottom

Pins and buses as the firmware drives them. The thick lines carry power: yellow from USB-C, red from the dock contacts, orange the node both inputs feed and the heater draws from, teal the supercapacitor. The SC8815 moves energy between the node and the supercapacitor in either direction.

Photos

The iron's handle opened: the blue supercapacitor, the flexible board with the electronics, the tip sleeve on the right and the USB-C in the tail on the left
Opened: the supercapacitor, the flex board, the tip sleeve
The electronics out of the handle: the supercapacitor, the flex board with the QFN48 microcontroller, the green board with the button by the tip socket, the upper flex with the gold dock contact tabs
The electronics out: the CH579M on the flex, the button board, the dock contact tabs
The other side: the large 2R2 inductor of the SC8815, a capacitor, the tip socket and the round USB-C board
Other side: the SC8815's 2.2 µH inductor
The supercapacitor close up: cda Super Capacitors LIC1840Q3R8757 750F 3.8V
The supercapacitor: CDA LIC1840Q3R8757, 750 F, 3.8 V
The round board in the tail with the USB-C connector
The USB-C board in the tail

Internal photos from Miniware's FCC filing, FCC ID 2ATIFTS1C-P, taken by the SGS lab.

Microcontroller

The same WCH CH579M as the station: a Cortex-M0 with Bluetooth LE 4.2, 32 KB of RAM, QFN48, at 32 MHz from a crystal, with a 32 768 Hz crystal on PA10/PA11 for the RTC and Bluetooth stock code photo. Flash: 250 KB for code, by the datasheet; the Miniware loader at 0x0–0x3FFF (hold BOOST and plug USB-C into a computer: a TS1C_xxxx disk), the application from 0x4000. The row 0xFA00–0xFAFF of the author's iron does not take a write: a defect of that chip measured.

How it boots

TS1C boot diagram, the same for the station and the iron: after a reset the Miniware loader reads the button and checks the string at 0x4300, then jumps to the OpenWare loader, which starts the OpenWare app or stays; the app and the loader write each other over USB, the Miniware USB disk writes once and on the way back; on the right the flash map with sizes and the RAM area that survives a reset; below, the stock chain

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.

Power: inputs, node, supercapacitor

Heating

Sensors

WhatPinHow
Tip temperaturePA15 (AIN5)Thermocouple through an amplifier; T = −3.0·10⁻⁶·d² + 0.1209·d − 9.5 + cold junction, where d = V·1000/3300·4096 − 166 stock code. No per-unit calibration; OpenWare moves the zero to the cold junction a second after reset if the tip is cold
Tip resistancePA15, PB0PA15 read with and without the current source on PB0: R = ΔV·1000/91/0.45·0.818 Ω stock code measured
Cold junctionPA4 (AIN0)NTC, a 163-point table, −1 to 80 °C; reads 25.6 °C at room temperature measured. The stock table has two typos, up to 1.9 °C off; OpenWare fixed them
Supercapacitor temperaturePA8 (AIN12)NTC, a table over 0–110 °C; 25.0 °C at room temperature measured. OpenWare stops charging above 50 °C and with the sensor open; the stock firmware's protection never fires because of a bug in its code
USB-C voltage, dock contactsPA5, PA12÷11 dividers, every 100 ms
Node and cellSC8815 ADCVBUS, VBAT, IBUS, IBAT over I²C every 200 ms; coarse, IBUS about 18 % low measured
Motion—The stock firmware polls a LIS3DH-like accelerometer on the first I²C bus stock code, but only the PD chip answers there measured: apparently there is no accelerometer

The ADC picks its gain by overflow (0, −6, −12 dB) and is calibrated from the chip's own constants, the same in the stock firmware and OpenWare. How true the tip reading is: by Sn63/Pb37 melting at 183 °C on the edge of the tip, the iron read about 160 °C; holding "300 °C" by the iron, an external thermocouple read 337–357 °C at the end of the tip. One melting run so far measured.

Handle

Pin map

PinWhat is on it
PA0BOOST button stock code
PA2dock switch PWM, 500 Hz 1 % measured
PA3heater pulse, 100 kHz 50 % measured
PA4AIN0: cold junction NTC stock code
PA5AIN1: USB-C VBUS ÷11 stock code
PA6PWM4, always held off; purpose unknown stock code
PA7SDA of the PD chip's I²C stock code
PA8AIN12: supercapacitor NTC stock code
PA9power hold, high = stay on stock code
PA10, PA1132 768 Hz crystal stock code
PA12AIN2: dock contacts ÷11 stock code
PA15AIN5: thermocouple amplifier; tip resistance stock code
PB0current source for the tip resistance stock code measured
PB1PWM7, heater current limiter, only during a pulse measured
PB2PWM8, set up by the stock firmware and unused stock code
PB4USB-C VBUS to the node, high = on measured
PB8dock switch latch, high keeps it closed measured
PB9SCL of the PD chip's I²C stock code
PB10, PB11USB D−, D+ measured
PB12LED in the tail stock code
PB13PD chip interrupt stock code
PB14SC8815 PSTOP, high = stop, pulled up on the board measured
PB15SC8815 /CE, low = on measured
PB16, PB17SC8815 I²C; also the CH579's debug pins stock code

How the firmware drives it