arduino project

 Arduino project



Our Arduino project first ideas

Using LCD screen to display the snake and the dot. (Find the code to display the snake and dot).
Use the joystick to move the snake. (Find the code to move the snake).
Use the buzzer to put music or a sound when the snake hit the wall. (Look for a code to make a sound).
the screen that displays the number to put the point (code to increment the point each time it eat the dot)
Use the potentiometer to make the snake move faster. (Code to make the snake move faster when you turn the potentiometer) 
Push the button to start and stop the game. (code to start the game and control the game)
A red led will switch on when you lose the game. (When it hits itself or the wall it will light up with a sound)
Use a serial monitor to display the highest score for each player.
Use LDR to control the brightness of the screen.

after many trials, the lCD finally worked




however, we face some obstacles and we, therefore, change the project from a snake game to a parking lot.
we use the LCD, buzzer, ultra sensor, led light, and servo motor.
the LCD displays the number of cars and when the gate is closed and open.
the buzzer makes a sound before the cars appear
the ultra sensor will detect movement within a perimeter
the led light represents the situation that occurs that is:
green light means the gate is open and cars can enter.
yellow light means the number of cars will reach its capacity
red light means the parking lot is full and the gate is closed.

this is the final work 

this is the explanation of the code we use to make the project.








References
https://www.google.com/search?q=arduino+projects&hl=en&sxsrf=APwXEdf3oCnOBxWV7u0QJ5jPU6F7N9kiAw:1682140381328&source=lnms&tbm=isch&sa=X&ved=












Comments