Skip to content

KyleParkJong/Smart-Doorlock-Using-OneTimePassword

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Konkuk Univ. Junior, Electrical-Electronic Laboratory 1 - termproject

FUNDAMENTALS OF ELECTRICAL AND ELECTRONIC DESIGN LABORATORY AND SOFTWARE PRACTICE (Term project) - Kyle Jonghyuk Park, Joongseon Park, Wonjin Park

0. Topic of our Team : Smart Doorlock applying OTP

  • Smart : Person detection using AI (TensorflowLite)
  • OTP (One-Time-Password) : Change to new password every 30 seconds
  • Worked in groups of three

> Evalutation Criteria

  • Creativity
  • Number of modules used, AI used

> Things provided in class

  • Arduino Nano 33 BLE, ArduCam
  • Person detection TensorflowLite training model

1. Programming language & SW tools & HW used

  • Arduino programming (C programming)
  • Arduino IDE, Colab Tensorflow
  • Arduino Uno, Arduino Nano 33 BLE, ArduCam

2. Our design

> Block diagram

ldpcd_result

A, B, C boards are Arduino Nano 33 BLE, all connected through physical wire.

Three boards were used to perform different functions independently.

  • B board

    • Generates a new password every 30 seconds and transmits it to an application on a smart phone produced by App Inventor through Bluetooth.
    • Input received by 4x4 matrix and status displayed via LCD display
    • Send signals to A board
  • A board

    • ArduCam is attached and it detects human using "Person Detection" TensorflowLite model
    • Shows current state through LEDs (Blue : human detected, Red : password wrong, Green : password correct)
    • Send signals to B board and C board
  • C board

    • Controls servo motor, ultrasonic sensor and buzzer through signal from A board
  • More details : /Presentation.pdf

> Flow diagram

ldpcd_result

3. Source code

A board

  • Person_detection_change.ino, Arduino_detection_responder.cpp
    • Coded based on reference code given from class

B board

  • B_board_bluetooth.ino
    • Coded everything a-to-z

C board

  • C_board.ino
    • Coded everything a-to-z
  • More details : /Presentation.pdf

4. Result

Password correct (front)

ldpcd_result

Password wrong (front)

ldpcd_result

Door locked (back)

ldpcd_result

  • Can see servo motor blocking the door

Door opened (back)

ldpcd_result

  • When the door is closed again with the door open, the motor automatically operates and locks the door by recognizing that the door is closed through an ultrasonic sensor.

Checking password with a mobile phone application through Bluetooth.

ldpcd_result

  • More details : /Presentation.pdf

5. Video link

https://drive.google.com/file/d/1uqLRO0FNanon8EQNDO_AI4ZBSms7FCh6/view?usp=share_link

6. What I learned

  • Arduino programming (C)
    • Basic of Arduino
    • Interrupt timing, Bluetooth
    • Other modules (Ultrasonic sensor,4x4 matrix, ArduCam, buzzer, servo, LCD display, 7 segments)
  • Applied Tensorflow Lite AI model into Arduino
  • Learned how to collaborate successfully and efficiently with team-mates

About

Konkuk Univ. 3rd grade Electronical Basic Design Experiment termproject

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors