iguana / Light-Programmer

Push messages from a webpage to a uC via CdS Photoresistor using Manchester Encoding

Home Page:http://jumptuck.com/2011/12/20/light-programming-showing-results/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Light Programmer

Using a computer monitor that flashes black and white I'm able to push text into a microcontroller. I've used an ATmega168 for prototyping, with the analog comparator connected to the input capture feature of TIMER1. On every interrupt I change the edge sensing to capture the next.

Voltage divider schematic

Manchester Coding

By following the Atmel Application Note I decided on timing based decoding. I may try sample based in the future to see if I can increase relability.

On the sending end I'm using a JavaScript file to flash the background of a webpage. I think this is where the majority of my timing issues are created. It works maybe 40% of the time on my desktop computer. But never works on my netbook, or on an iOS device. This is probably due to sloppy timing with this browser-based approach

More Information

I'll be posting on my blog about this: http://jumptuck.com/category/projects/light-programmer/

About

Push messages from a webpage to a uC via CdS Photoresistor using Manchester Encoding

http://jumptuck.com/2011/12/20/light-programming-showing-results/


Languages

Language:C 74.7%Language:Makefile 20.3%Language:JavaScript 4.1%Language:HTML 0.8%