I have kind of a proof-of-concept project ahead. I want to transmit a very short message to a smartphone via light. What I have is:
- a LED strip (NOT individually addressable)
- an Arduino
- a typical smartphone
- 8 Bytes I want to transmit
The obstacles:
- not every smartphone camera works well under all light conditions (the recorded color is sometimes not the same as the one the human eye recognizes)
- I don't have complete darkness around, but tough daylight :D.
I want to encode a message in a sequence of light, for example by varying color or pulse duration.
Are there any suitable encoding algorithms or libraries around that can be recommended and I should take a look at?