Coder Social home page Coder Social logo

mcmatrix / light-programmer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from szczys/light-programmer

0.0 2.0 0.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/

HTML 0.84% JavaScript 4.11% C 74.72% Makefile 20.33%

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

Watchers

James Cloos avatar Janar Sööt 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.