Light Sensor

From Microduino Wiki
Revision as of 07:21, 6 September 2015 by Bruceliu@microduino.cc (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Objective

How to use Microduino light sensor.

Equipment



  • Other Hardware Equipment
    • 1x USB cable


Program

Debugging

Step 1: Connect A2 pin of Microduino-SensorHub to Microduino light intensity sensor and D6 to Microduino buzzer.

MicroduinoLightSensor.png


Step 2: Connect your PC with USB cable, download and burn it to Microduino-CoreUSB.

MicroduinoLightSensor1.png


Step 3: Power on and you can hear the sound of a buzzer.

MicroduinoLightSensor2.png


Step 4: Change light intensity to change the sound.

MicroduinoLightSensor3.png


Result

You can change sound through light sensor.

Video