Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Automatic Parking Gate Simulater: Create a sketch using the Ultra-Sonic Sensor, a Servo motor, a piezo buzzer, and 2 LEDs: one Green LED + one
Automatic Parking Gate Simulater: Create a sketch using the Ultra-Sonic Sensor, a Servo motor, a piezo buzzer, and 2 LEDs: one Green LED + one Red Led. Your sketch should simulate the opening and/or closing of a parking gate represented by a servo motor that is being controlled by an ultra-sonic sensor. Your program works as follows: if an object is being detected by the ultra-sonic sensor, the servo motor opens rotates to 90 and remains open for 3 seconds a piezo buzzer beeps during these 3 seconds while the green led is on. IF NO object is detected, the servo motor closes back to 0 and piezo buzzer stops beeping and the red light led lights back. You should post to Google Classroom three files: The code in a Notepad - TEXT File (.txt). (40 points) Screenshot/Snapshot showing the circuit's design. (40 points) Short video (10 secs max) showing the run (circuit working). (20 points)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started