Mesh networking for sensor grids

Mesh networking board by Daniel on Hackaday.io:

5170671492304948896.jpg

Low-power mesh networking for small sensor grids

Tiny MQTT-interoperable broadcast mesh networking with simple radios

This project is a low-resource mesh networking stack and mote with battery-powered routers based on state synchronization. The target is for the stack to use less than 2kb SRAM. Nodes use low power listening and an adaptive gossip protocol to synchronize key/values pairs with each other without relying on explicit routing or per-node addressing.

5731331492306797027.png

For example, a light might transmit (/lamp, {“state”:”on”}) to the mesh. Write (/lamp, {“state”:”off”}) to the mesh, and the lamp application will notice. The powerful but simple state synchronization primitive allows you to update the state of the mesh to update the world, and update the state of the world to express the same on the mesh. Trivially bridged to a private MQTT server and managed with off-the-shelf MQTT applications.

The design files and source code are available on Bitbucket:

dholth/mesh

Mesh networking for sensor grids

Smart Living Room with NodeMCU

MobileWill revamped his living room monitor with a new board design:

20160821_223033

Living Room Node Upgrade

For over a year now the living room node and La Crosse Gateway has been sitting atop a plastic bin next to my patio slider in a mess of wires.  This is when you know you have too many projects lying around the house.  So this summer I decided to design a PCB with a nodeMCU that will replace both projects and mount atop of a power brick. I went with the nodeMCU since there is power nearby, ease of connecting directly to the MQTT broker, and I can broadcast more often without the power limitations of a battery. This project frees up two RFM12B boards so that they can be used for the other window and the front door.

The new board features:

  • 2x female headers (so the nodeMCU is removable)
  • DHT11 sensor for humidity/temperature
  • LDR for light level
  • 2pin header for reed switch attached to slider door
  • Connections for 433Mhz radio for the La Crosse outdoor temperature sensor
20160821_221832.jpg
Design files and code are available on GitHub:

github friedcircuits/nodeSensor

 

Smart Living Room with NodeMCU