Skip to the content
2 layers33.3 × 6.3 mmStm8s001rs485, the printed circuit board in 3D

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

4

README

README.md

A small STM8S001 Break-Out Board with RS485 and DS1621S Thermometer

Order from OSH Park

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:

STM8S001J3 RS485 assembled

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).

STM8S001J3 RS485 schematics

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

PinSignal
13.4 to 6V for XC6206 3.3V LDO regulator
2GND
3RS485 "A"
4RS485 "B"

Description Header J2

PinTagPin STM8S001GPIOFeatures
13.34VDD3.3V from LDO regulator
28PC6SPI_MOSI, [TIM1_CH1]
2SWIM8PD1SWIM
28PD3TIM2_CH2, TIM2_CH2, ADC_ETR
28PD5UART1_TX, AIN5
35PA3TIM2_CH3, [SPI_NSS], [UART1_TX]
3SDA5PB5I2C_SDA
47PC3TIM1_CH3, [TLI], [TIM1_CH1N]
47PC4TIM1_CH4, CLK_CCO, AIN2, [TIM1_CH3]
4PC57PC5SPI_SCK, [TIM2_CH1]
5SCL6PB4I2C_SCL, [ADC_ETR]
6GND2VSSGND

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:

STM8S001J3 RS485 front

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

STM8S001J3 RS485 back

Parts

21
QtyValueFootprintReferences
54k7Resistor_SMD:R_0603_1608MetricR1, R2, R3, R5, R6
3100nFCapacitor_SMD:C_0603_1608MetricC1, C3, C5
31uFCapacitor_SMD:C_0603_1608MetricC2, C4, C6
1120RResistor_SMD:R_0603_1608MetricR4
1A0Jumper:SolderJumper-2_P1.3mm_Bridged_Pad1.0x1.5mmJP1
1Conn_02x02_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_HorizontalJ1
1Conn_02x03_Counter_ClockwiseConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_HorizontalJ2
1DS1621SPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU1
1LED greenLED_SMD:LED_0603_1608MetricD2
1LED redLED_SMD:LED_0603_1608MetricD1
1SP3485CNPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU4
1STM8S001J3MPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU2
1XC6206P332MRPackage_TO_SOT_SMD:SOT-23U3

Similar boards

  • 2 layers50 × 50 mmIlonanpa, the printed circuit board in 3D

    Ilonanpa

    SadaleNet/ilonanpa

    ilo nanpa li ilo pi nasin nanpa pi toki pona.

    81 parts13BSD-2-Clause
  • 2 layers20 × 14 mmSTM8S001J3 tiny board, the printed circuit board in 3D

    STM8S001J3 tiny board

    HexRx/STM8S001J3_tiny_board

    A tiny dev board for STM8S001J3 MCU

    10 parts4MIT
  • 2 layers18.3 × 14.2 mmStm8s001ch330, the printed circuit board in 3D

    Stm8s001ch330

    TG9541/stm8s001ch330

    USB Dongle STM8S001J3M3 with CH330N, e.g. for STM8 eForth

    14 parts4CC0-1.0
  • 2 layers85 × 90 mmFurnace 230V, the printed circuit board in 3D

    Furnace 230V

    brrastak/furnace

    Schematics of furnace for glass fusing

    82 parts
  • 2 layers16.9 × 14.4 mmRs485-ch340e, the printed circuit board in 3D

    Rs485-ch340e

    TG9541/rs485-ch340e

    A small CH340E based configurable RS485 or TTL 2/3-wire USB dongle

    17 parts15MIT
  • 4 layers40 × 40 mmEnc encoder, the printed circuit board in 3D

    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 mm3axis magnitometer, the printed circuit board in 3D

    3axis magnitometer

    NarodniySputnik/Gladiolus-1

    Gladiolus-1 - автономный модуль для приема и передачи изображений в формате SSTV (Slow Scan TeleVision) на малом космическом аппарате (МКА) формата CubeSat

    96 parts9GPL-3.0
  • 2 layers39.7 × 28.7 mmFordacp, the printed circuit board in 3D

    Fordacp

    tomaskovacik/fordacp

    HW for Dale Thomas fordcap CD changer emualtor

    36 parts8

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).