LEDComm -- a library for wireless serial communications
Posted: Tue Sep 23, 2014 3:38 pm
I've created a library for ChibiOS called LEDComm.
It allows you to use a single LED for slow (around 30 baud), very short range wireless (less than an inch), bidirectional asynchronous serial communications. The signalling allows for half-duplex operation, 7- or 8-bits per character (transferred in big-endian order) and optional odd, even, mark or space parity. A description of its operation is provided at http://mecrisp.sourceforge.net/ledcomm.htm.
LEDComm was developed as part of a project to collect data from honey bee hives. I wanted an effective (and cheap) way to exchange data between the hive boxes that didn't involve wires. Just as Giovanni Di Sirio has shared ChibiOS with the community, I offer this small contribution in return.
The code is available at https://github.com/klpauba/LEDComm and is intended to be copied to $(CHIBIOS)/ext/ledcomm.X.Y.Z (the current -- and first -- version is tagged as 1.0.0).
Constructive criticism is welcomed.
It allows you to use a single LED for slow (around 30 baud), very short range wireless (less than an inch), bidirectional asynchronous serial communications. The signalling allows for half-duplex operation, 7- or 8-bits per character (transferred in big-endian order) and optional odd, even, mark or space parity. A description of its operation is provided at http://mecrisp.sourceforge.net/ledcomm.htm.
LEDComm was developed as part of a project to collect data from honey bee hives. I wanted an effective (and cheap) way to exchange data between the hive boxes that didn't involve wires. Just as Giovanni Di Sirio has shared ChibiOS with the community, I offer this small contribution in return.
The code is available at https://github.com/klpauba/LEDComm and is intended to be copied to $(CHIBIOS)/ext/ledcomm.X.Y.Z (the current -- and first -- version is tagged as 1.0.0).
Constructive criticism is welcomed.