Question: hello i need solution using c++ arduino with the desgin Create a circuit using an ultrasonic distance sensor and a servo motor. When the program

hello i need solution using c++ arduino with the desgin
Create a circuit using an ultrasonic distance sensor and a servo motor. When the program starts, the servo motor should be at angle zero. The ultrasonic distance sensor should measure the distance to a moving object simulating a person approaching a door. If the distance becomes less than 60 m the servo motor should rotate to angle 100 to simulate opening a door. After 10 seconds the servo should rotate back to angle zero to simulate closing the door. You should display the measured distance on the serial monitor
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
