https://github.com/todbot/blinkmnet
A network of Arduino-connected BlinkMs
https://github.com/todbot/blinkmnet
Last synced: about 1 year ago
JSON representation
A network of Arduino-connected BlinkMs
- Host: GitHub
- URL: https://github.com/todbot/blinkmnet
- Owner: todbot
- Created: 2015-02-23T19:01:46.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-23T19:06:02.000Z (over 11 years ago)
- Last Synced: 2025-03-07T02:48:12.328Z (about 1 year ago)
- Language: C++
- Homepage: http://blinkm.thingm.com/
- Size: 199 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BlinkMNet -- A network of Ardiuno-connected BlinkMs
```
Operation:
- Receive command from Serial or NSS from upstream Arduino or PC
- Perform command
- Relay command via NSS to downstream Arduino
Command format:
0 1 2 3 4 5 6
- 7 bytes - startbye, addr, blinkm_cmdbyte, arg1, arg2, arg3, chksum
- startbyte = 0x85
- cmdbyte == 'c', 'f', 'o', etc.
- chksum = xor sum of array
Arduinos and BlinkMs are connected like:
>--+ +---------+ +---------+ +--------> ...
rx | | tx rx | | tx rx | | tx
+-v---+--+ +--v---+--+ +--v---+--+
| Arduino | | Arduino | | Arduino |
+---+-----+ +---+-----+ +---+-----+
| | |
| | |
+--v----+ +--v----+ +--v----+
|BlinkM1| |BlinkM3| |BlinkM5|
+--+----+ +--+----+ +--+----+
| | |
+--v----+ +--v----+ +--v----+
|BlinkM1| |BlinkM4| |BlinkM6|
+--+----+ +--+----+ +--+----+
| | |
... ... ...
```
2011 - Tod E. Kurt - http://todbot.com/blog/