Page 1 of 1

LEDComm -- a library for wireless serial communications

Posted: Tue Sep 23, 2014 3:38 pm
by klpauba
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.

Re: LEDComm -- a library for wireless serial communications

Posted: Tue Sep 23, 2014 5:40 pm
by Giovanni
Hi,

Good work with the code (nice touch the serial-like interface) but you don't need to put me as copyright owner :) It is your work, feel free to license it as you wish.

Giovanni

Re: LEDComm -- a library for wireless serial communications

Posted: Tue Sep 23, 2014 7:02 pm
by klpauba
Thanks, Giovanni. I wanted to make it so you would feel free to (eventually) distribute it in the ext/ directory at some point in the future. I was too lazy to search around and see how others had licensed their work.

I'll revisit it.

Next up: LEDComm-UART driver.

Re: LEDComm -- a library for wireless serial communications

Posted: Tue Sep 23, 2014 7:33 pm
by Giovanni
Don't worry, ext software is supposed to remain copyright of the contributors.

Giovanni