Lab Seven 🍁
Ultrasonic Ranging, Infrared Remote
Linyun Liu
Project 1
Design and construct a circuit with an ultrasonic ranging module (HC-SR04), a buzzer, an LED bar (or multiple LEDs), and other necessary electronic components. When an object gets close to the HC- SR04, the circuit increases the number of lit LEDs and plays higher tones (i.e., (low) Do-Re-Mi-Fa-So- La-Ti-Do (high)). When an object goes away from the HC-SR04, the circuit decreases the number of lit LEDs and plays lower tones.
• LIST OF HARDWARE:
LED Bar, Ultrasonic (HC-SR04), Buzzer, NPN transistor, 1kΩ Resistor, 200Ω Resistor, Jumpers, ESP32
• CIRCUIT DIAGRAM:
• BREADBOARD VIEW:
• PHOTO OF SETTING ON THE BREADBOARD:
• VIDEO:
• SOURCE CODE:
View DownloadProject 2
Design and construct a circuit with an infrared remote, a buzzer, a motor (DC motor, servo motor, or stepper motor), a NeoPixel, and an LCD1602. By pressing various buttons on the infrared remote, their corresponding electronic components respond with some sound, spinning, light LEDs, or a message on the display. Capture your settings and working circuit in photos and videos (the videos should include sound).
• LIST OF HARDWARE:
Servo, NPN transistor, Buzzer, Neopixel, LCD 1602, 1kΩ Resistor, 10kΩ Resistor, Infrared Receiver, Jumpers, ESP32
• CIRCUIT DIAGRAM:
• BREADBOARD VIEW:
• PHOTO OF SETTING ON THE BREADBOARD:
• VIDEO:
• SOURCE CODE:
View Download