Light Theremin

Quickly moving through the book and the next project is a creating a light sensitive tone generator.

Simple to create, the circuit has one photo resistor (as used for the RGB LED),  connected by a power wire, resistor to ground and an Analog (A0) cable from the Arduino.

img

Next the piezo is connected to the board, one leg grounded and the other connected to a digital output (pin 8 for this test). The code is as follows: Screen Shot 2014-05-30 at 14.11.36

the first 5 seconds the time to set the range  between 0 -1023 by placing you hand over the photo-resistor.

Now when you move your hand over it again your notice a tone which changes on light allowance. (No video for this one as it is an annoying noise).

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>