How to Set a Password for a Door Lock Using Microbit

How to Set a Password for a Door Lock Using Microbit

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

sunflower circuit 50

By following the diagram above:

  • Connect the servo motor to the first servo port

Code

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

door lock project

Upon completing the project successfully, the door lock will open once the user enters the correct password 

Related Products

Động Cơ Micro Servo SG90

51,700₫ 47,000₫

x 1 đơn vị

SG90 Micro Servo

Không có sẵn

x 1 đơn vị



Chat hỗ trợ
Chat ngay