This week I decide to go through my project and use my cardboard prototype to match the assignment and make low feudality prototype of my project
You can check this link to be familiar with my project ideation and inspiration
Wires to make connections
Servo motor to lock or unlock the door
LDR sensor
LED
Resistor 220ohm
Keypad
LCD 16*2
Arduino Uno to control IR and Servo
Arduino IDE to upload the code on (Run the program)
breadboard to make wiring easy
Connect circuits using wiring color code (Black for GROUND and Red for VCC).
Make code on Arduino IDE (If user input the correct password servo will rotate to 90 and unlock the door, and if the user press ' * ' the servo will rotate to 0 and lock the door. Use LDR to control LED beside keypad incase light was off ).
The code file is attached below in Assignment Design Files
"Project min&complete .ino"
Run code and make sure it does not have any errors.
Upload the code on Arduino IDE and upload to Arduino board
Make sure they work, code and wiring do the function correctly.
Code Functionality: (Press on Arrow pointing down)
The main function is to control servo using certain password.
I used keypad to enter the password through and display using LCD
if the password entered was '789#' which is the correct password the motor rotate 90 degree (unlocked position) and any other inputs the motor will locate at locked position
then I added display feature which is shown "Hello THOMAS" if the correct password was entered.
but if it the correct password was not entered the LCD display "Enter Correct Password".
Use cardboard to make low feudality prototype
Connect 5V adaptor to circuit using DC Power connector Ground to ground and VCC to Vin on Arduino.
Install each component on its ideal position
See the results and be PROUD
This Program is very helpful for me and it could help me a lot not just in Maker Diploma but also in my collage life.
the below link has a quick and simplified explanation, and how to download.
I use this assignment to make Low feudality prototype and test my project
Now I can say I am about to finish my project :-)