Your shopping cart is empty!
How to Set a Password for a Door Lock Using Microbit
- Abdulrahman Alhamed
- 03 Aug 2022
- 1403
With only two buttons in microbit, can we make passwords to build security projects? YES, we can!
Let's learn how to set a password for a door lock using microbit. ?
Video Tutorial
Components Required
Connection
By following the diagram above:
- Connect the servo motor to the first servo port
Code
Connect your REKA:BIT to your computer and open MakeCode editor to start programming.
- Add âREKABITâ extension and follow the code block in the picture above
- After completing the code, download it on your micro:bit
You can also view and edit the code by clicking here!
Project Complete
Upon completing the project successfully, the door lock will open once the user enters the correct passwordÂ