If you select 90 then the servo will move 90 degrees instead of 180 degrees.
Open and closed a servo door lock via bluetooth.
This is a simple arduino project.
Mert arduino 129 724 views.
In this video you can learn how to make a simple password based door lock system using arduino servo motor and 3 4 matrix.
Download the bluetooth control app from the play store and install it.
Compile the code and upload the coding to the arduino.
I have designed android application in such that it sent a command with the password.
From here we could add a sensor like a knock sensor so we can unlock our door with a special knock or even a voice recognition system.
The code for bluetooth control smart door lock is very simple.
Go to the analogwrite message group tap on the button displaying 8 and adjust the analog value with the help of the scroller to 180.
Multi servo motor control via bluetooth using android app arduino and app inventor duration.
After tying in the servo with the latch the servo must be put in a suitable position preferably in the middle of the latch so that the open close motion can be achieved properly.
Note that 180 is the degrees you want to move the servo shaft.
From here we could add a sensor like a knock sensor so we can unlock our door with a special knock or even a voice recognition system.
First of all i tied attach the servo motor to the door lock as shown in the image.
Actually i set two command one is open and another is close and password may contain any digit later or symbol or combination of them as you like.
To unlock the door.
The servo arm will be connected to the slider lock and will move to 0 degrees to lock the door and 60 degrees to unlock it using commands it gets from out bluetooth device.
Before that the function fixes the arduino and elements near the door such that the servo motor s shaft is connected to the door lock.