Posts

Showing posts from November, 2023

Security system with Microbit

Image
In this blog post I am going to show you a prototype of a security system I created some time ago. It involves 2 LEDs with resistors, a servo and a Microbit V2 if you want to hear sounds. This is the code. As you can see the A and B buttons add A's and B's to a string variable called "keystroke". Then when you press A+B it compares "keystroke" with "password". As you can see the password is "ABA" but you can set it to whatever you want. I have recorded a video with the demo. Enjoy!