Modbus environment sensor

robinob·modbus-environment-sensor

Modbus environment sensor PCB layout, top view — open source STM32 board by robinob

About the Modbus environment sensor PCB

Modbus environment sensor is an open source STM32 PCB design by robinob, published on GitHub. It is a 2-layer board measuring 76 × 74 mm, with 75 components from 36 distinct parts.

Its main chip is the STM32G031F8Px, from the STM32 family. Other key parts include the ENS160-BGLM, max13487, SHT45, MCP16301T-I_CHY and MCP1700x-180xxTT. By type, the board carries 21 resistors, 14 capacitors, 13 test points, 7 ICs, 6 transistors and 5 diodes.

It belongs with the sensors designs in this gallery.

From the project

STM32G031F8P6-based environmental sensor with RS-485/Modbus RTU slave interface. Measures temperature, humidity, and air quality (eCO2/TVOC) via a snap-off remote sensor tab, reporting over an RS-485 daisy-chain bus to a Modbus RTU master.

Main components on the Modbus environment sensor

Modbus environment sensor bill of materials (BOM)

75 components, 36 distinct parts — part numbers from the project's BOM.

QtyPartRefs
1
ENS160-BGLM
U1
1
max13487
U2
1
SHT45
U3
1
STM32G031F8Px
U4
1
MCP16301T-I_CHY
U5
1
MCP1700x-180xxTT
U6
1
TLV70433DBVR
U7
3
BC847
Q1, Q3, Q5
3
BC856
Q2, Q4, Q6
1
KC5032Z8
Y1
2
691382010004
J1, J6
1
691382010008
J5
1
Conn_01x04_Pin
J7
1
MF-R050
F2
1
SW_DIP_x04
SW2
13
TestPoint
TP1, TP2, TP3, TP4, TP5, TP6, TP7, TP8 +5
1
VAL**
mouse-bite-1mm-slot
1
SM712
D2
1
LED_RGBK
D3
2
SS34
D6, D7
Show 16 more
QtyPartRefs
1
1N4148
D8
1
22u / Isat≥1.7A
L2
4
1u
C1, C6, C7, C15
3
100n
C2, C4, C11
4
10u
C3, C5, C13, C14
1
0u1
C8
2
0.1uF
C9, C12
10
10k
R1, R2, R3, R6, R8, R14, R15, R16 +2
1
52k3
R5
3
4k7
R7, R9, R25
1
120R
R18
2
560R
R19, R20
1
100R
R21
1
110R
R22
1
200R
R23
1
3k3
R24

Modbus environment sensor design files

The KiCad project lives in the robinob/modbus-environment-sensor repository on GitHub; these links point at the commit this page was built from.

Modbus environment sensor: common questions

What microcontroller does the Modbus environment sensor use?

The Modbus environment sensor is built around the STM32G031F8Px, from the STM32 family.

How big is the Modbus environment sensor PCB?

The Modbus environment sensor measures 76 × 74 mm, has 2 copper layers and is 1.6 mm thick.

How many components are on the Modbus environment sensor?

75 components, from 36 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.

Where can I download the Modbus environment sensor design files?

From the robinob/modbus-environment-sensor repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.

Can I use the Modbus environment sensor design in my own project?

The repository has no license, so all rights stay with robinob. Use it as a reference, and ask the author before reusing the design.

Can I test firmware for the Modbus environment sensor without the hardware?

Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.

Similar boards