The Use of Light Sensor

From Microduino Wiki
Revision as of 07:25, 23 October 2015 by 1304410487@qq.com (talk) (Created page with "{| style="width: 800px;" |- | ==Objective== How to use Microduino light sensor. ==Equipment== *'''Microduino-CoreUSB''' *'''Microduino-Light Intensity Sensor''' *'...")
(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