Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed
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

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started