Int Slot = 4 //Enter Total number of parking Slots Check here how to add a zip library in Arduino IDE. NOTE: Please upload this code to Arduino and install and libraries before compiling the code. automatic car parking system project Code At last, connect the OUT pin of the first IR sensor with the digital-4 pin of the Arduino and the OUT pin of the second IR sensor with the digital-7 pin of the Arduino. ![]() You can check here the interfacing of 16×2 LCD with the I2C module. Now connect the pins of the I2C module with the pins of 16×2 LCD. Attach the orange(signal) wire of the servo motor to the digital-9 pin of the Arduino. Join the SDA pin of the I2C module with the analog-4 pin of the Arduino and the SCL pin of the I2C module with the analog-5 pin of the Arduino in this automatic car parking system project.Ĭonnect the GND pin of the Arduino with the GND pin of the I2C module, the brown wire of the servo motor, and the GND pin of both the IR sensors. Then connect the 5 volts pin of the Arduino with the VCC pin of the I2C module, the red wire of the servo motor, and the VCC pin of both the IR sensors. ![]() Components Requiredīefore starting please check the address of the I2C module that you are using and modify the code accordingly. ![]() ![]() Also, check our basic electronics projects on 555 timer ic, Arduino projects, and IoT projects. The data keeps updating as the vehicles move in and out of the parking. They can also see on the LCD how many parking slots are free. The visitors can see the status for the availability of the free space outside the parking on a 16×2 LCD.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |