![projectImage](https://dfimg.dfrobot.com/6188847caa9508d63a4183aa/makelog/7c2abaf191a16813e03a72d2ef1b1d4d.png)
![projectImage](https://dfimg.dfrobot.com/6188847caa9508d63a4183aa/makelog/a5680dcad92a49353920ca774605c11e.png)
![projectImage](https://dfimg.dfrobot.com/6188847caa9508d63a4183aa/makelog/19d621c5714d0eac419f18266feac12d.png)
![projectImage](https://dfimg.dfrobot.com/6188847caa9508d63a4183aa/makelog/cba8810806178a16bad513442f2e74d6.png)
![projectImage](https://dfimg.dfrobot.com/6188847caa9508d63a4183aa/makelog/140f248b27802ff8ebead33d807bf640.png)
STEP1: Connect the sound sensor module to the pin P0 of the extension board; LED module to P1.
![projectImage](https://dfimg.dfrobot.com/6188847caa9508d63a4183aa/makelog/bcbb4e422cd0cfb16ccb6598177d99d1.png)
STEP2: Programming
1. Let’s begin to design our project according to the tips: drag “read analog pin P0” and “display” blocks from the “Micro: bit” module; drag out “if… then…else” block from the “Control” module; drag “
![projectImage](https://dfimg.dfrobot.com/6188847caa9508d63a4183aa/makelog/13604b9f85366e088087032a1a2e0745.png)
2. Read the analog value(0~1023) of “read analog pin P0” that connected with sound sensor to detect the sound of intensity.
3. Edit the programs to realize “sound intensity detecting”. “
![projectImage](https://dfimg.dfrobot.com/6188847caa9508d63a4183aa/makelog/f05134b488843981ea9e0719710e1a8c.png)
![projectImage](https://dfimg.dfrobot.com/6188847caa9508d63a4183aa/makelog/8cc19baeadd3f25893a04121c8d62556.png)
![projectImage](https://dfimg.dfrobot.com/6188847caa9508d63a4183aa/makelog/53463d4602daf1a37d3a4043a67a3655.png)
Control the LED to turn on/off according to the value of the pin connected to the sound sensor.
![projectImage](https://dfimg.dfrobot.com/6188847caa9508d63a4183aa/makelog/c2544b8744e6eb0cfc71bb1f2ff5e1b6.png)
1. Drag “set digital pin P0 output” block from “micro: bit” module to script area, and change P0 to P1.
![projectImage](https://dfimg.dfrobot.com/6188847caa9508d63a4183aa/makelog/f63f10d8200988185c3bd16e78482d85.png)
2. Programming to make a “electronic candle”
When the analog value of sound sensor is less than the preset value 80, the LED keeps on, otherwise, blow it like a candle, when the sound intensity is over 80, the LED keeps off for 2 seconds.
![projectImage](https://dfimg.dfrobot.com/6188847caa9508d63a4183aa/makelog/f981a9058bfd679b9ba7bae35f9c1473.png)
![projectImage](https://dfimg.dfrobot.com/6188847caa9508d63a4183aa/makelog/834ea1f9528ed84881bde95a36b04149.png)
![licensBg](/images/license_bg.png)