The Use of Light Sensor

来自Microduino Wikipedia
跳转至: 导航搜索

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.


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


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


Step 4: Change light intensity to change the sound.


Result

You can change sound through light sensor.

Video