This is an arduino library which enables you to use a simple laser or LED to transmit characters between two arduinos (transmitter arduino with the laser to receiver arduino with a photodiode). Each byte of data is encoded (but not encrypted) to add some robustness to noise during the transmission and then modulated. The pin connection setup is explained in the example skethes included in the library. I originally wrote this as part of a netduino robotics project for uni, but I've since modified it to work with an arduino. It took a lot of work but I'd like to share this valuable resource with you, if you would like to support my work please consider donating (https://www.paypal.me/HobbyTransform) and purchasing the material for your project through the ebay affiliate links to help fund other similar projects.
The materials can be found on eBay,
The 44-bit data is sent via the laser or LED, 1's are on and 0's are off
The 44-bit signal is received by the photo-detector and manchester-demodulated (reverse algorithm of modulation) to reconstruct the 16-bit encoded signal
The 16-bit demodulated signal is then hamming decoded to reproduce the original byte
The byte is then printed on the serial window