Coder Social home page Coder Social logo

szczys / light-programmer Goto Github PK

View Code? Open in Web Editor NEW
7.0 6.0 6.0 112 KB

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/

C 94.78% JavaScript 5.22%

light-programmer's Introduction

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/

light-programmer's People

Stargazers

 avatar Al Bennett avatar Matthew Nielsen avatar Pierluigi Dalla Rosa avatar Viorel Dram avatar yair avatar Mike Szczys avatar

Watchers

George Redinger avatar yair avatar Mike Szczys avatar James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.