Hi friends, this weekend I am going to build a micro:bit inductive door with the sonar:bit sensor-the door opens automatically for 5 seconds if there is something detected near it. Let’s see how it works in this
video:
Video link: https://youtu.be/9BuWziEuM78
Materials required:
You will need prepare the materials as below:
micro:bit x 1
Sonar:bit x 1
360 degrees servos x 1
Bricks x N
Screws and nuts x 2
Build the door part:
Built the Sonar:bit connections part:
Connect them together with the Wukong expansion board to complete the project:
Outlook of the project:
Code: https://makecode.microbit.org/_KgkRyh45MVHt
If you have any idea or suggestions, please feel free to contact us via [email protected], thank you!