Light Sensor

来自Microduino Wikipedia
Bruceliu@microduino.cc讨论 | 贡献2015年9月6日 (日) 07:21的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索

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