Arduino Smart Car Parking System With Password Lock
by ROBO HUB in Circuits > Arduino
47 Views, 0 Favorites, 0 Comments
Arduino Smart Car Parking System With Password Lock
Hello builders in this instructables i will show you how i made this arduino powered smart car parking system that has password protection to the respective parking space and is controlled by a single control panel.
When it comes to space everyone are serious whether it may be a personal space or a private space!
Nobody wants their space to be invaded and especially in the case of parking on your privarte space, Lets say for example you have 3 cars at your house and you like a spot and hate when someone else takes your spot.
This was just a example situation, In such cases this type of parking system serves it best purposes.
Well let me know quicky explain about this arduino smart car parking system.
This as the names says uses arduino Uno as the controller and to show the status or i would much say the control panel uses an 16X2 LCD panel with I2C.
You can enter the details or the input can be given to the uno(servo ultimately) with the 4x4 number matrix display.
There is no limit to the parking spaces that you can add here in this project but i think 3 is great number to start with.
I have used 3 parking spaces in total and all of the 3 spaces has the servo of their own to which there is a barrier that open only when the right password is entered.
On the display you can see that there are names for the spaces and offcourse you can change these names also.
Press on the parking space numberon the matrix keypad and then enter the password and now the gate opens and the parking space can now be used.
If you enter the wrong password the servo wont happen and the conrtol panel returns to its original state.
I have made 2 variants using the same circuit setup and you can see that in the working video that is given on the last steps of this instructables.
Supplies
Gather all these supplies before you start to build this project to make the build process much faster
Arduino Uno
Keypad Matrix 4x4
Micro Servo x 3
Mini Breadboard
LCD display
I2C module for LCD
Cardboard
3D printer and PLA filament(optional)
Jumper Cables
Hot Glue
Black and white paper (or any color)
Paper Glue
Ruler and Scissors
3D Design and Printing
I used Tinkercad to make the servo holder and the shaft stick(gate/barrier) for this project.
The design is very simple, i just used the tube and the stick to make this mechanism, If you want to use the same design just use the STL files given below.
You can also use any other shapes that suits best for this purpose.
I have given the settings of the slicer so that you can copy and use the same settings like i did.
The print time is less and you can expect everything to be printed under an hour, i will use only red color to print all the parts.
You can also make changes to the color and experiment with the parts color combination.
There are total of 6 parts in total and this can be replaced with other alternative materials like wood or plastic.
Since there are no rafts or supports you can use the parts after the printing is complete.
Circuit Diagram and Codes
The circuit for this project may look complex when you see the diagram but believe me i will explain this to you in a simple way.
There are total 3 parts in this circuit
Micro Servo
Keypad Matrix
LCD module with I2C
Micro Servo Connections
Gnd and Vcc of all 3 servos is connected to ground and 5v pins on the Arduino Uno, Signal is connected to D10, D11 and D12 pin on the Uno.
Keypad Matrix Connections
Row pin Connections
R1 to D2
R2 to D3
R3 to D4
R4 to D5
Column Pin Connections
C1 to D6
C2 to D7
C3 to D8
C4 to D9
LCD module with I2C Connections
Scl and Sda is connected to A4 and A5 whereas the Vcc and Gnd is connected to 5v and ground pins
After you make all the connections connect uno to computer and arduino IDE and paste the below program, Change the default password as you want and hit on that upload button
Downloads
Testing and Installing
This is an interesting part because you can add your inputs(features) and this step will also allow you to cross check if everything works fine.
If everything works fine then you can simplyproceed with the next steps, If you think something that can be added which adds more value to this project that can also be done too.
In my case everything worked flawlessly, Dont worry if all the electronics are here and there.
Power the board with power bank usb power supply, you will see message on the LCD screen to select the parking space.
Just type a space that you want and then you will be asked to enter the password.
By default these are the passwords inside the program
Parking space 1 - 1111
Parking space 2 - 2222
Parking space 3 - 3333
This can be changed in the program and use it in the project.
After you verify the working of the circuit you can keep all these components on a piece of cardboard and secure the electronics as shown in the images on these steps.
Finish the servos/parking gates with 3d printed parts or the choice of your own materials.
How to Use
I will power this entire project from the USB power supply connected to Uno board.
There was no issue in the performance since the servo works one at a time, the keypad matrix consumes less power.
So there is no need of any additonal power supply(external) and this works great for this project.
After you connect the uno to USB supply, You will see message on the LCD and now the project is ready for using.
Enter the number on the keypad matrix depending on the parking number - Here we have 1,2 and 3
Lets say if you want to open parking number 2, Press 2 on the keypad and now you should enter 2222 as the password and then the gate opens.
Similarly if you want parking number 1 to open, press 1 on matrix pad and then 1111 on the password screen.
This can be changed on the program and change it according to your needs.
After the correct password is entered and the gate opens it will be in that open state for few seconds and then the gate closes automatically.
This is all about making this smart car parking system, consider watching the video given in the next step to know more about the other variant using same setup.
Working Video
Here is a detailed working video of this project along with full build tutorial.
You can see that in this video i made 2 variants using the same circuit, the option is left to you both of them works fine and serves their purposes very well.
If you think you have a better design idea for the same project im very excited to hear that ideas from you.
You can ask your questions in the comments box and i will soon reply as i see them.
Alright then this was all about this smart parking system project using arduino, See you soon with another ideas, Thanks for reading.