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.
Open and closed a servo door lock via bluetooth.
Multi servo motor control via bluetooth using android app arduino and app inventor duration.
Mert arduino 129 724 views.
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.
The code for bluetooth control smart door lock is very simple.
Now press on the send button and aha.
Note that 180 is the degrees you want to move the servo shaft.
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.
If you select 90 then the servo will move 90 degrees instead of 180 degrees.
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.
This is a simple arduino project.
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.
Compile the code and upload the coding to the arduino.
To unlock the door.
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.
Download the bluetooth control app from the play store and install it.
Turn on bluetooth in the mobile enter into app if on the door lock will be open.
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.