Git Product home page Git Product logo

flashprance's Introduction

FlashPrance

FlashPrance is a toolkit allowing data to be transferred by flashing lights on and off.

Application

It's primary purpose is to allow settings to be sent from a computer or cellphone to an embedded device, such as an Arduino.

The screen of the computer or cellphone will quickly flash between black and white at different intervals, and the device shall measure the duration of the light intervals to decode the data.

Because bandwidth is limited by the frames per second that can be displayed on screen, it is only suitable for very small amounts of data. It takes roughly 1 second to transfer 1 byte.

It's benefit is the cost and convenience. The sender (computer or cellphone) does not need any additional hardware or drivers - only the capability to flash an area of the screen - this may even be a web page. The only additional components on the receiver (embedded circuite) are a light sensor and a resistor - this should cost less than $1.

Planned Features

This is still an early work in progress - most of these features are not implemented yet.

Sender implementation libraries:

  • Web: JavaScript (DONE)
  • iOS: Objective-C (TODO)
  • Android: Java (TODO)
  • Terminal console: NCurses/ANSI (TODO)
  • Generic C++: algorithm + {MFC,GTK,QT,WinForms,...} (TODO)
  • Generic Java: algorithm + {Swing,SWT} (TODO)

Receiver implementation libraries:

  • Arduino (DONE)
  • Generic C: {atmega,attiny,msp430,arm,pic,...} (TODO)

Communication protocol:

  • Data streaming (DONE)
  • Clock syncronization (DONE)
  • Manchester encoding (TODO)
  • 8B/10B encoding (TODO)
  • Message framing: start/length/end (TODO)
  • Checksums (TODO)

flashprance's People

Watchers

Eric Stein avatar James Cloos 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.