

Stm8s001rs485
A narrow KiCad made PCB with STM8S001J3, RS485 driver and DS1621S Thermometer, e.g., for STM8EF-MODBUS
- Size
- 33.3 × 6.3 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 21
- Nets
- 16
- Pads
- 67
- Tracks, vias
- 204, 15
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 31 Aug 2019
- Updated
- 1 Feb 2023
Overview
Stm8s001rs485 is an open-source printed circuit board by TG9541, from the TG9541/stm8s001rs485 repository on GitHub, published under the MIT licence. It is a 2-layer board of 33.3 × 6.3 mm with 21 parts on 16 nets, routed with 204 tracks and 15 vias.
It is built around the STM8S001J3M3, SP3485CN-L and DS1621S+T&R, with the XC6206P332MR among its other parts. Its parts include 6 capacitors, 6 resistors, 4 ICs, 2 diodes and 2 connectors. It belongs with the interfaces and adapters and sensors and measurement boards and the STM8 boards of this library.
Main components
4STM8S001J3M3
SOIC-8-150mil-40℃~+125℃ 10bit 128Byte 16MHz 1KB 2.95V~5.5V 5 8 Bit 8KB Built-in FLASH STM8 SOIC-8-150mil Microcontrollers (MCU/MPU/SOC) ROHSSTMicroelectronicsMicrocontrollers (MCU/MPU/SOC)SP3485CN-L
SOIC-80℃~+70℃ 1 1 10Mbps 3V~3.6V Transceiver SOIC-8 RS-485 / RS-422 ICs ROHSMaxLinearRS-485 / RS-422 ICsDS1621S+T&R
SO-8-55℃~+125℃ 1uA 2.7V~5.5V 750ms 9bit I2C Temperature threshold monitoring、Low-power standby、Configurable temperature output、On-chip non-volatile parameter storage、Hardware comparator / independent temperature control output ±1℃ SO-8 Temperature Sensors ROHSMaxim Integrated (Analog Devices)Temperature SensorsXC6206P332MR
SOT-23-40℃~+85℃@(Ta) 1 1uA 200mA 3.3V 6V Fixed Over Current Protection Positive SOT-23-3L Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSTorex SemiconductorVoltage Regulators - Linear, Low Drop Out (LDO) Regulators
README
README.mdA small STM8S001 Break-Out Board with RS485 and DS1621S Thermometer
This KiCad project provides a small PCB with an STM8S001J3M3, a RS485 interface and a DS1621S temperature sensor. Applications include MODBUS with STM8 eForth.
Here is a photo of an assembled board, together with the RS485-CH340E dongle:

The STM8S001J3M3 is a member of the "STM8S Low Density" family that's based on the "STM8S Access Line" cross-breed STM8S903, which, compared with the STM8S003, has some (undocumented) features.
The board is supported by STM8 eForth which means that it runs an interactive development system on the chip: the serial interface for the console can either use RS485, or a two-wire interface on the GPIO PC5.
A µC with merrily 5 GPIO pins is a good shield against feature creep, but the following things "had" to be included:
- most GPIOs, including the I2C bus (PB4 & PB5), and an analog input or timer output (PC5) and the are available on 6 pin header
- a narrow PCB for a cylindrical sensors with a diameter of 7mm
- 5V nominal supply, internal 3.3V power supply with an LDO regulator
- signalling LEDs for RS485 activity (RxTx) and direction (Tx)
- 120R termination optional
Care should be taken not to exceed 6V input supply voltage. The internal 3.3V power supply is accssible on header pin J2.1 - according to the XC6206 datasheet the maximum current is 150mA.
Design
The design is simple: The STM8S001J3 controls the direction of the SP3485 RS485 transceivr with PA1/PD6. R3 makes sure that the SWIM interface is still usable when the SP3485 is in receive mode (i.e. listening for RS485 communication).

LED D1 indicates RS485 communcation direction "transmit". LED D2 pulsing indecates bus activity in both directions where bright pulses indicates "read" and dim pulses "write". R4 is the (optional) RS485 termination resistor.
The BOM is in the docs folder.
Pin Headers
Pin headers are also optional: they allow the board to be used as a module for quickly building a MODBUS node with a "perfboard" (using I2C or GPIOs), but connecting wires directly is also an intended use case.
Description Header J1
| Pin | Signal |
|---|---|
| 1 | 3.4 to 6V for XC6206 3.3V LDO regulator |
| 2 | GND |
| 3 | RS485 "A" |
| 4 | RS485 "B" |
Description Header J2
| Pin | Tag | Pin STM8S001 | GPIO | Features |
|---|---|---|---|---|
| 1 | 3.3 | 4 | VDD | 3.3V from LDO regulator |
| 2 | 8 | PC6 | SPI_MOSI, [TIM1_CH1] | |
| 2 | SWIM | 8 | PD1 | SWIM |
| 2 | 8 | PD3 | TIM2_CH2, TIM2_CH2, ADC_ETR | |
| 2 | 8 | PD5 | UART1_TX, AIN5 | |
| 3 | 5 | PA3 | TIM2_CH3, [SPI_NSS], [UART1_TX] | |
| 3 | SDA | 5 | PB5 | I2C_SDA |
| 4 | 7 | PC3 | TIM1_CH3, [TLI], [TIM1_CH1N] | |
| 4 | 7 | PC4 | TIM1_CH4, CLK_CCO, AIN2, [TIM1_CH3] | |
| 4 | PC5 | 7 | PC5 | SPI_SCK, [TIM2_CH1] |
| 5 | SCL | 6 | PB4 | I2C_SCL, [ADC_ETR] |
| 6 | GND | 2 | VSS | GND |
PCB and Assembly
Components occupy both sides of a PCB of 33.4mm x 1/4" (the minimal width supported by Oshpark).
On the front side there is the STM8S001J3M3, a XC6206 3.3V LDO regulator, some passive components, and the RS485 signalling LEDs:

A generic 3.3V RS485 transceiver (like SP3485 or MAX3485l) and the (optional) DS1621S thermometer chip are on the backside:

Parts
21| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 4k7 | Resistor_SMD:R_0603_1608Metric | R1, R2, R3, R5, R6 |
| 3 | 100nF | Capacitor_SMD:C_0603_1608Metric | C1, C3, C5 |
| 3 | 1uF | Capacitor_SMD:C_0603_1608Metric | C2, C4, C6 |
| 1 | 120R | Resistor_SMD:R_0603_1608Metric | R4 |
| 1 | A0 | Jumper:SolderJumper-2_P1.3mm_Bridged_Pad1.0x1.5mm | JP1 |
| 1 | Conn_02x02_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_Horizontal | J1 |
| 1 | Conn_02x03_Counter_Clockwise | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Horizontal | J2 |
| 1 | DS1621S | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U1 |
| 1 | LED green | LED_SMD:LED_0603_1608Metric | D2 |
| 1 | LED red | LED_SMD:LED_0603_1608Metric | D1 |
| 1 | SP3485CN | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U4 |
| 1 | STM8S001J3M | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U2 |
| 1 | XC6206P332MR | Package_TO_SOT_SMD:SOT-23 | U3 |
Similar boards
- 2 layers50 × 50 mm

- 2 layers20 × 14 mm

- 2 layers18.3 × 14.2 mm

Stm8s001ch330
TG9541/stm8s001ch330
USB Dongle STM8S001J3M3 with CH330N, e.g. for STM8 eForth
14 parts4CC0-1.0 - 2 layers85 × 90 mm

- 2 layers16.9 × 14.4 mm

Rs485-ch340e
TG9541/rs485-ch340e
A small CH340E based configurable RS485 or TTL 2/3-wire USB dongle
17 parts15MIT - 4 layers40 × 40 mm

Enc encoder
ROAR-QUTRC/perseus-v3
The code base for the QUT Robotics Club ROAR teams rover Perseus starting 2026
87 parts10 - 2 layers94 × 94 mm

3axis magnitometer
NarodniySputnik/Gladiolus-1
Gladiolus-1 - автономный модуль для приема и передачи изображений в формате SSTV (Slow Scan TeleVision) на малом космическом аппарате (МКА) формата CubeSat
96 parts9GPL-3.0 - 2 layers39.7 × 28.7 mm

Questions
How big is the Stm8s001rs485 PCB?
It measures 33.3 × 6.3 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Stm8s001rs485 use?
21 parts, built around the STM8S001J3M3, SP3485CN-L, DS1621S+T&R and XC6206P332MR. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Stm8s001rs485 KiCad files?
From the TG9541/stm8s001rs485 repository on GitHub, at the commit this page was made from: the board is stm8s001rs485.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Stm8s001rs485 design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).
