About Arduino Security Lock
A very easy and advanced way of using your phones Bluetooth as a key of a automated lock via arduino and Bluetooth Module By setting your own password
Wiring Setup-
(Bluetooth Module)Rx-------Arduino Pin Tx
(Bluetooth Module)Tx--------Arduino Pin Rx
(Bluetooth Module)VCC-----5v
(Bluetooth Module)GND-----GND
Lock-------------------------------Pin 12(Arduino)
Arduino Code-
int Device = 12;
String readString;
void setup() {
Serial.begin(9600);
pinMode(Device, OUTPUT);
}
void loop() {
while (Serial.available()) {
delay(3);
char c = Serial.read();
readString += c;
}
if (readString.length() >0) {
Serial.println(readString);
if (readString == "default") //the initial password is "default",you can change the password from here. Please read the description below before changing the password
{
digitalWrite(Device, HIGH);
delay(1000);//you can change the delay from here
digitalWrite(Device, LOW);
}
if (readString == "lock")
{
digitalWrite(Device, LOW);
}
readString="";
}
}
// you can also change the password of your Bluetooth module and leave the password default so that you can directly connect and unlock without entering the password every time. No one can connect to your Bluetooth module without knowing the password. Else you can change the default password if you don't want to change the password of your Bluetooth module.
Download and install
Arduino Security Lock version 1.6 on your
Android device!
Downloaded 100+ times, content rating: Everyone
Android package:
appinventor.ai_appdwarka.Smart_Lock, download Arduino Security Lock.apk
by Q####:
No such apps are available on the playstore other than this...