Skip to the content
2 layers30.7 × 34.3 mmModbusRtuSensorHub, the printed circuit board in 3D

PCB with small footprint designed to act as a Modbus RTU slave.

Size
30.7 × 34.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
27
Pads
103
Tracks, vias
363, 18
Pours
1
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
28 Mar 2020
Updated
8 Jan 2022

Overview

ModbusRtuSensorHub is an open-source printed circuit board by MichielVanwelsenaere, from the MichielVanwelsenaere/HomeAutomation.ModbusRtuSensorHub repository on GitHub, published under the MIT licence. It is a 2-layer board of 30.7 × 34.3 mm with 23 parts on 27 nets, routed with 363 tracks and 18 vias.

It is built around the ATTINY3216-SF, MAX1487CSA+T and MIC5504-3.3YM5. Its parts include 8 resistors, 4 capacitors, 2 ICs and 1 diode. It belongs with the interfaces and adapters and home automation and IoT boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

Modbus RTU Sensor Hub

Releases License


:rotating_light: This project is not yet in V1.0 state and is to be considered a work in progress. A release will be created when everything is working as expected.


This PCB with limited footprint is designed to provide a robust and versitale sensor hub using Modbus RTU over RS485.

PCB

General

PCB measurements: ca 32mm x 30.5mm x 11mm

PCB FrontPCB Back
PCB FrontPCB Back

Microcontroller

The sensor hub leverages the very capable ATtiny3216 (arduino compatible!).

  • 32Kb flash, 2k SRAM - that's the same as an ATmega328p!
  • 17 available I/O pins
  • 8 PWM pins (6 on TCA0, 2 on TCD0) with 8-bit resolution.
  • Servo, Tone, Serial, SPI and Wire (I2C) support "just works"
  • 2 Type B timers - so Servo and Tone can both be used simultaneously, or one or both can be taken over for input capture, periodic interrupt, or other functionality.
  • DAC output (just do analogWrite() on the DAC pin - voltage is between 0V and the DAC reference voltage, which can be set with setDACReference() ).
  • 11 analog inputs, referenced to Vcc, external reference, or one of the 5 built-in analog references. Internal clock at up to 20MHz at 5v, up to 10MHz at 3.3v

Microcontroller Pinout

Capabilities

  • wide range of allowed power supply voltage: 7-30V
  • onboard convertor for 3.3V power supply (300mA max)
  • onboard convertor for 5V power supply (1.5A max, board power consumption not included)
  • two dedicated RS485 connector for leveraging Modbus RTU (bus in and out)
  • dedicated 1-Wire connector
  • dedicated UPDI connector for programming the board
  • dedicated SPI connector
  • dedicated I²C connector
  • 2 remaining digital pins
  • 4 remaining digital/analog pins

FeatherDiagram

Getting started

Example projects

Parts

23
QtyValueFootprintReferences
510kResistor_SMD:R_1206_3216MetricR4, R5, R6, R7, R8
3100uCapacitor_SMD:C_1206_3216MetricC1, C2, C3
2Conn_01x03Connector_JST:JST_SH_SM03B-SRSS-TB_1x03-1MP_P1.00mm_Horizontal1-Wire1, UPDI1
1100uCapacitor_SMD:CP_Elec_6.3x7.7C4
1120Resistor_SMD:R_1206_3216MetricR3
1300Resistor_SMD:R_1206_3216MetricR1
14.7kResistor_SMD:R_1206_3216MetricR2
1ATtiny3216-SPackage_SO:SOIC-20W_7.5x12.8mm_P1.27mmU1
1Conn_01x04Connector_JST:JST_XH_S4B-XH-A-1_1x04_P2.50mm_HorizontalRS485
1Conn_01x04Connector_JST:JST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_HorizontalI²C1
1Conn_01x06Connector_JST:JST_SH_SM06B-SRSS-TB_1x06-1MP_P1.00mm_HorizontalSPI1
1Conn_01x9Connector_PinHeader_2.54mm:PinHeader_1x09_P2.54mm_VerticalH1
1LD1086DT50TRPackage_TO_SOT_SMD:TO-252-2LDO1
1LEDLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD1
1MAX1487CSA+TMAX1487CSA_T:SOIC127P600X175-8NU2
1MIC5504-3.3YM5Package_TO_SOT_SMD:SOT-23-5LDO2

Similar boards

  • 4 layers53 × 39 mmAvclan mockingboard rounded, the printed circuit board in 3D

    Avclan mockingboard rounded

    halleysfifthinc/AVCLAN-Mockingboard

    Emulate a CD Changer on a Toyota AVC LAN network

    43 parts65GPL-3.0
  • 2 layers31.5 × 23.3 mmBLE thingy, the printed circuit board in 3D

    BLE thingy

    MarcelMG/BLE_thingy

    31 parts2
  • 2 layers151.2 × 89.3 mmLoadShed, the printed circuit board in 3D

    LoadShed

    DJM0/LoadShed

    Off-grid 4-channel PWM load controller with regulated 12 V output from any 12–32 V battery. Sunrise/sunset + RTC scheduling, LiFePO₄ battery protection, dimming pots and an OLED. ATtiny3216 firmware + KiCad hardware.

    94 parts1MIT
  • 2 layers50.8 × 38.1 mmEngine monitor, the printed circuit board in 3D

    Engine monitor

    alexanderenrique/smart_tbird

    Smart Thunderbird vehicle electronics — ESP32 nodes, alternator delay, display, and tooling.

    63 parts
  • 2 layers60 × 94 mmMcu, the printed circuit board in 3D

    Mcu

    gugray/InterGalacticReceiver

    Tune in to alien transmissions on a CRT screen! Shaders are involved.

    35 parts
  • 2 layers20 × 50.4 mmKoeklok Main, the printed circuit board in 3D

    Koeklok Main

    koenk/koeklok

    Simple modular clock (firmware, schematics, PCBs)

    25 parts

Questions

How big is the ModbusRtuSensorHub PCB?

It measures 30.7 × 34.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the ModbusRtuSensorHub use?

23 parts, built around the ATTINY3216-SF, MAX1487CSA+T and MIC5504-3.3YM5. 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 ModbusRtuSensorHub KiCad files?

From the MichielVanwelsenaere/HomeAutomation.ModbusRtuSensorHub repository on GitHub, at the commit this page was made from: the board is src/ModbusRtuSensorHub.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the ModbusRtuSensorHub 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).