SNODE (Sensor Node) – is an open source library that allows to make it easy to build a multi-master serial bus network for hot-plugging nodes with sensors.
Hardware support
- Arduino ( Nano, Uno, Micro );
- CAN controller ( MCP2515 );
IDE
- PlatformIO
Source code
The full source code could be found here.
Download or Clone the library from GitHub with:
git clone https://github.com/okrutax/senodes.git
Communication between nodes is done over the CAN (Controller Area Network) bus. The CAN bus is a communications protocol which has been around for years as a vehicle bus standard designed to allow nodes to communicate with each other without the need for a host.
In an implementation of SNODE each node could have a few sensors. Each sensor of the node is able to send and receive messages to/from the other sensors of nodes over the CAN bus. This means that a node can have several sensors, each of which can be a master or a slave (the sensor mode type is input or output).
On the picture below with the help of arrows is shown schematic connection between sensors (one sensor is controlled by another) of each of the node.
A short video below shows how the SNODE network works.
SENODES is set of hexagonal sensors allows to create various inventions using the SNODE library.
The video below shows how Senodes modules communicate between each other using the SNODE library.