Lab Eight 🍁

Infrared Motion Sensor, Attitude Sensor MPU6050, Bluetooth, and Wi-Fi

Linyun Liu





Project 25.1: Infrared Motion Detector with LED Indicator

• PHOTO:

• VIDEO:




Project 26.1: Read a MPU6050 Sensor Module

• PHOTO:

• VIDEO:




Project 27.1: Bluetooth Low Energy Data Passthrough

• PHOTO:

• VIDEO:




Project 27.2: Bluetooth Control LED

• PHOTO:

• VIDEO:




Project 28.1: Station mode

• VIDEO:




Project 28.2: AP mode

• PHOTO:

• VIDEO:




Project 28.3: AP+Station mode

• PHOTO:




Project 29.1: As Client

• PHOTOS:

• VIDEO:




Project 29.2: As Server

• PHOTO:




Project 30.1: Camera Web Server

• VIDEO:








Project 1

Design and construct a burglar alarm system with an HC SR501 PIR sensor, a buzzer, an RGB LED, a servo or stepper motor, and other necessary electronic components. Attach a paper hand to the motor. When no one is around the HC SR501 sensor, the RGB LED shows a dim light with a calming colour (like a night light). But when a burglar approaches the PIR sensor, the buzzer makes a siren alarm sound effect, the RGB LED flashes rapidly with changing random colours, and the paper hand waves rapidly. Capture your settings and working circuit in photos and videos (the videos should include sound).

• LIST OF HARDWARE:

HC SR501 PIR sensor, Buzzer, NPN transistor, 1kΩ Resistor, 200Ω Resistor, RGB LED, Servo, Jumpers, ESP32

• CIRCUIT DIAGRAM:

• BREADBOARD VIEW:

• PHOTO OF SETTING ON THE BREADBOARD:

• VIDEO:

• SOURCE CODE:

View Download





Project 2

Design and construct a circuit with an MPU6050, a buzzer, an LCD1602, and other necessary electronic components. This circuit is to help an older adult detect his/her balance and mobility. Assume that this circuit is attached to the user. When the user suddenly falls down forward, backward, to the left, or right, the circuit makes a distinctive sound effect for each direction, and the LCD1602 displays the appropriate message such as “You fell down forward” or “You fell down to the left.” Capture your settings and working circuit in photos and videos (the videos should include sound). In your video(s), simulate the falling downs in the four different directions and show the messages in the LCD1602 display.

• LIST OF HARDWARE:

MPU6050, LCD1602, NPN transistor, Buzzer, 1kΩ Resistor, Jumpers, ESP32

• CIRCUIT DIAGRAM:

• BREADBOARD VIEW:

• PHOTO OF SETTING ON THE BREADBOARD:

• VIDEO:

• SOURCE CODE:

View Download