Bi-directional communication up and running

Author: Lars Larson

Crossed a major hurdle yesterday – the sensor package now communicates back and forth with the HyperRail hub.

The sensors wait for a signal from the hub, which sends an array of zeros and ones telling each sensor whether or not to take a reading. Once the readings are complete, the data is saved to the Adalogger SD card, then the values are sent back to the hub.

Next, we’ll work on the timing at the hub to move the sensors a specified distance, wait for data, then move on. After that, I’ll work on a live stream to the internet (Adafruit.io or Google sheets) from the hub.

Cheers,

Lars