Save the Day with Smart Electronics · Extension option
Make it move with a servo motor
Build VilBot a sunshade that opens itself when the light changes.
🔀 This is an extension lesson. Your class does Lesson 3 or Lesson 4, not both — check with your teacher which one you are on.
Open the Lesson 3 worksheet
Open Worksheet: Lesson 3 Servo Motors and put your name on your copy.
Using the Kitronik expansion kit instead? Use this one: Worksheet: Lesson 3 Servo Motors (Kitronik kit)
Wire and test the servo
Match the three servo wires to the right pins — signal, power, ground — before you run anything.
Send it to a few set angles and watch that it stops where you told it to.
Let the light sensor drive it
Read the micro:bit light sensor, then decide the level at which the sunshade should open and the level at which it should close.
Test it under real classroom light, not just with your hand over the sensor.
⚙️ A servo holds an angle, it does not spin
Tell it 0, 90, or 180 and it travels there and stays. That is what makes it good for a shade and bad for a wheel.
If it buzzes and shakes at rest, you are asking for an angle past its range. Pull the number back.
📤 Turn it in
Click Start Assignment at the top right, then upload your finished worksheet or paste the share link to it.
Need help submitting your worksheet? Watch the tutorial below.