{"id":19371742,"url":"https://github.com/cbalint13/tinnymodbus","last_synced_at":"2025-04-23T16:31:23.273Z","repository":{"id":40625884,"uuid":"120756383","full_name":"cbalint13/tinnymodbus","owner":"cbalint13","description":"RS485 ModBus tiny multi-sensor module","archived":false,"fork":false,"pushed_at":"2024-01-14T14:44:22.000Z","size":1626,"stargazers_count":91,"open_issues_count":8,"forks_count":28,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-01-15T00:38:49.362Z","etag":null,"topics":["1wire","adc","attiny","i2c","modbus","rs485","sensors","sensors-attached"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbalint13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-02-08T12:05:52.000Z","updated_at":"2024-01-14T15:29:32.000Z","dependencies_parsed_at":"2024-01-09T17:45:02.034Z","dependency_job_id":null,"html_url":"https://github.com/cbalint13/tinnymodbus","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbalint13%2Ftinnymodbus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbalint13%2Ftinnymodbus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbalint13%2Ftinnymodbus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbalint13%2Ftinnymodbus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbalint13","download_url":"https://codeload.github.com/cbalint13/tinnymodbus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223928145,"owners_count":17226665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["1wire","adc","attiny","i2c","modbus","rs485","sensors","sensors-attached"],"created_at":"2024-11-10T08:19:45.067Z","updated_at":"2024-11-10T08:19:45.148Z","avatar_url":"https://github.com/cbalint13.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TINNYMODBUS (ModBus tiny multi-sensor module)\n\nTinnyModBus 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.\n\n![Logo](https://github.com/cbalint13/tinnymodbus/raw/master/docs/tinnymodbus-pcb.png)\n\n\u003e Main specs\n\n  - Size is only **11x26 mm** including **screw sockets**\n  - Can speak **modbus** with several sensors attached, uses a max487 to communicate\n  - Have it's own **500mA** budget, **ESD** protected **rs485** lines, and **reverse-polarity** protection\n  - Can read attached sensor data over **1wire**, **i2c**, **spi**, but also could do **gpio** or **adc**\n  - Has its own **bootloader** that speaks modbus and can be reprogrammed right on rs485 wires\n  - Internal IC metrics like Vcc voltage and SOIC8 temperature are available\n  - It is designed to cost less than **2 USD**\n\n\u003e Wiring of TinnyModBus module\n\nUse 4 wires (ideal twisted):\n\n  - 2x @ 12/24V remote power\n  - 2x @ A,B rs485\n\nConnects sensors:\n\n  - i2c (any from **/devs** drivers)\n  - 1wire (up to 32 18DS20 temperature sensors)\n  - or can do **gpio** or **adc**\n  - multiple **i2c \u0026 1w** sensors can be **simultaneously** wired\n\n\n  ```\n  \u003e~~~~~~~~~~~~\u003e---  GND   ---\u003e|-|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|SCK|\u003e-----  SCK  ----\u003e i2c/SCK sensor(s)\n  \u003e~~~ \u003c1.2km ~\u003e--- 12/24V ---\u003e|+|   TINNY MODULE   |DAT|\u003e-----  DAT  ----\u003e 1wire/DAT or i2c/SDA sensor(s)\n  \u003e~~~~~~~~~~~~\u003e---   A    ---\u003e|A|                  |+5V|\u003e-----  +5V  ----\u003e 500mA max for sensors(s)\n  \u003e~~~~~~~~~~~~\u003e---   B    ---\u003e|B|__________________|GND|\u003e-----  GND  ----\u003e ground\n  ```\n\nModBus detailed register description are in [MODBUS.md](https://github.com/cbalint13/tinnymodbus/blob/master/MODBUS.md).\n\nSchematic, Printed Circuit Board, 3D layout are available on [CircuitMaker](https://workspace.circuitmaker.com/Projects/Details/Cristian-Balint/TinnyModbus), but can be also checked in **docs** folder.\n\n\nDocs \u0026 usage scenario examples are in ```tools/examples/``` folder.\n\n\u003e BUILD\n\nSee [tools/docker](tools/docker) folder for easy build receipt.\n\n\n![SCH](https://github.com/cbalint13/tinnymodbus/raw/master/docs/tinnymodbus-sch.png)\n![PHOTO](https://github.com/cbalint13/tinnymodbus/raw/master/docs/tinnymodbus-photo.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbalint13%2Ftinnymodbus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbalint13%2Ftinnymodbus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbalint13%2Ftinnymodbus/lists"}