Case 01 | Smarthon

Case 01: Automated Smart Playground Lamp


Motion sensor is used to detect if there are people moving in the playground, if there are, the LED light will be turned on; otherwise, it will be turned off.  



Smart City IoT Starter Kit / Automated Smart Playground Lamp


  • Create an automated smart playground lamp using motion sensor


  • micro:bit X1

  • Smarthon iot:bit X1

  • LED Light X1

  • Motion Sensor X1

  • USB Cable X1​

  • Playground Cardboard Model X1

  • Screws X2

  • Nuts X2

Step 1

  • Put together all the cardboard parts

  • Attach the LED light to the top of the model

Step 2

  • Connect Motion sensor to P0

  • Connect LED light to P1

Motion Sensor


LED Light

Step 3

Step 4

  • The motion sensor will constantly check the value of the motion sensor. If someone is moving (motion sensor value >= 700), the LED will light for 10 seconds.

  • Download code and transfer to micro:bit

  • Insert micro:bit into WiFi IoT expansion board

Well Done!

You have successfully built your very own smart lamp!

Summer Courses

Schools and Partners

Contact Us

Tel: (+852) 3500-3963

Phone: (+852) 5707-0679

Whatsapp: (+852) 5707-0679


Address: Unit 01-03 & 05-06, 25/F, CDW Building, 388 Castle Peak Road, Tsuen Wan

© 2019-2020 - Smarthon Limited