Starter Guide
www.adeept.com
- 48 -
- Several Jumper wires
2. Connect the PIR Sensor to micro:bit.
connection diagram:
3. Experimental code:
Lesson 14 PIR control led->code-> microbit-PIR-sensor.hex
Lesson 14 PIR control led->code-> PIR_sensor.py
4. Click “Download” and download the code onto the micro:bit.
When we approach the PIR sensor with our hands, the LED will illuminate
and it will be off three seconds after we leave our hands.