strategicqert.blogg.se

Gaget locker
Gaget locker










  1. Gaget locker serial#
  2. Gaget locker Activator#
  3. Gaget locker android#

Serial.println("WRONG PASSWORD") //Display error message Serial.println("UNLOCKED") //Display unlocked message Inpt=inpt+inbyte //Changing the input character into a stringĬheck() //Run the password check routineĬase true: //If the lock is enabled/locked Inbyte=(char)Serial.read() //Char reading While(Serial.available()) //Repeat till bytes are available in buffer

Gaget locker serial#

Void serialEvent() //Checking for serial interrupt If(lock_enable=true) //Activator infinite loop PinMode(A0, OUTPUT) //Pin to activate the door Serial.begin(9600) //Enabling serial communication String pwd="frank" //Predefined passwordīoolean lock_enable=true //Flag to check lock status

  • If “L” command was entered turn off the activator, if a wrong command was entered send an error message to BT terminal.
  • If the lock is opened look for serial interrupt and check for the single character command entered via BT terminal.
  • If match occurs send unlocked message and activate the door activator, if not send an error message and enter password message after few seconds.
  • Look for the password match between user entered string via BT and predefined password.
  • When serial interrupt occurs, fetch the data from the receiving buffer of Arduino.
  • gaget locker

  • Send the Enter password prompt message via Bluetooth to the terminal.
  • Initialize the serial communication in your Arduino.
  • Less power consumption by Bluetooth will be of great advantage.
  • Wireless activation of door locker will be the most highlighting specs of this system.
  • Bluetooth access reduces the hardware size and complexity of adding keypad to the system.
  • The locker password can be set to any complex level and length with no restrictions.
  • However you can choose any Bluetooth terminal software in any platform, everything will work just fine.

    Gaget locker android#

    I have used SENA BTerm software Android for this project. This kind of software available for all smart phone platforms such as Android, iOS and Windows. This software is used to send raw data from our device to the HC-05 module connected to the Arduino. BT TERMINAL SOFTWARE:Ī special software known as Bluetooth serial terminal is needed for this project.

    gaget locker

    This module should be powered by +3.3v and special key pin for secured communication. This module converts the data received through Bluetooth and converts it into serial format that can be understood by Controllers equipped with UART communication. The HC-05 is a pretty famous Bluetooth module used in standard embedded applications where BT connectivity is required. I have added a simple LED in the project i have built-in place of Relay since i haven’t got one to use, kindly excuse me for that. If that’s the case alter the design in such a way that the system is provided with enough power to drive the activator.

    Gaget locker Activator#

    You may replace it with any other electronic activator or door activator if you are going to use it for doors. I have added a relay to act as an activator for the E-locker in the above design. DESIGN:Īrduino is the heart of this locker system and HC-05 module provides the bluetooth connectivity for the arduino. This locker allows you to lock/unlock your locker without physical touch when you are within the range of Bluetooth communication.

    gaget locker

    But this Bluetooth enabled Door locker uses Bluetooth as a medium to connect with the locker and your smart phone to feed input credentials.

    gaget locker

    DIY Arduino based lockers can be found plenty in the internet where keypad was used to feed lock input.












    Gaget locker