9.13 Lab Exercises
Lab assignment #4
Modify your CARDEMO#1 system by replacing the Op Amp comparator circuit with your ATmega328p/Arduino Uno. Submit a video demonstrating that your car moves forward under bright light and remains motionless under ambient light. Your car should have a green LED glowing under bright light and a red LED glowing under ambient light.
Lab assignment #5
Build a system to detect object distance using your Arduino Uno and infrasound sensor. Display round-trip echo delay and distance on your serial monitor. Test the system with objects placed between 0 and 5 feet from your sensor. Your system should cause an LED to glow when objects are detected at distances between 1 and 3 feet.
For Lab 5, please submit a single video demonstrating the following:
– A sheet of paper displaying your name
– An object moving closer to and farther from the sensor within 0 to 5 feet
– The LED reacting to distance: LED turns on when the object is 1 to 3 feet away, LED turns off when the object is out of range. Show the LED turning on by moving the object. Show the LED turning off by moving the object.
– The serial monitor printing both the round trip echo delay and the computed distance