Professional Documents
Culture Documents
Microcontroller Mini Project 1
Microcontroller Mini Project 1
Light sensor- when covered it sense when the light is low or high depending on the set number
Led - It will light up when the sound maker makes a sound
Our project has 2 peripheral devices. We used the LED and light sensor. These work together
to make sure there is always enough light. If the light sensor senses a light level value below
200, then the LED turns on to full brightness. The LED stays off while the reading is 200 or
above 200. After looking at online tutorials to make sure we connected the wires to the right
places on the micro:bit, we went online and looked at other tutorials to get inspiration for making
our code. After creating our code, we uploaded it to the micro:bit.
VID_20221018_105726953.mp4
References:
The document for the light sensor code
And
https://wiki.keyestudio.com/index.php/
KS0361(KS0365)_keyestudio_37_in_1_Starter_Kit_for_BBC_micro:bit#Project_23:_Analog_Te
mperature
For the LED