TinnyModBus is a very small 11x26mm reconfigurable atmel attiny85 mcu based micro-module that speaks modbus over rs485 two wires. It collects measurements locally from large variety of implemented sensors. It can be reprogrammed right on its own rs485 via it's own bootloader.
Main specs
Wiring of TinnyModBus module
Use 4 wires (ideal twisted):
Connects sensors:
multiple i2c & 1w sensors can be simultaneously wired
>~~~~~~~~~~~~>--- GND --->|-|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|SCK|>----- SCK ----> i2c/SCK sensor(s)
>~~~ <1.2km ~>--- 12/24V --->|+| TINNY MODULE |DAT|>----- DAT ----> 1wire/DAT or i2c/SDA sensor(s)
>~~~~~~~~~~~~>--- A --->|A| |+5V|>----- +5V ----> 500mA max for sensors(s)
>~~~~~~~~~~~~>--- B --->|B|__________________|GND|>----- GND ----> ground
ModBus detailed register description are in MODBUS.md.
Schematic, Printed Circuit Board, 3D layout are available on CircuitMaker, but can be also checked in docs folder.
Docs & usage scenario examples are in tools/examples/
folder.
BUILD
See tools/docker folder for easy build receipt.