Vision Protection Device Based on STM32 Microcontroller (Bluetooth Version)

☆ Design Hardware Composition: STM32 microcontroller minimum system + RTC clock module + HC-05 Bluetooth module + HC-SR04 ultrasonic sensor + photoresistor sensor + LCD1602 display + AT24C02 storage chip + lighting circuit + button settings + buzzer + red LED light

1. This design uses the STM32F103C8T6 microcontroller as the main control chip;

2. Real-time display: The LCD1602 displays the current time, date, distance between the user and the vision protection device, light intensity, and reading countdown in real-time;

3. Clock timing: The RTC function module of the STM32 microcontroller is used to keep track of the date and time, powered by an external button battery to ensure the clock continues to run even when the main power is disconnected;

4. Mobile control: The device can connect to a mobile app, which will display alerts and allow users to set limits for controlling the reading countdown start and stop;

5. Posture reminder: When the distance between the user and the vision protection device is less than the set minimum distance, the buzzer will sound and the red LED will flash to remind the user to maintain distance. When the distance exceeds the alarm value, the sound and light reminders will automatically turn off;

6. Light control: The system detects the ambient light intensity using a photoresistor and automatically adjusts the PWM to control the brightness of the light based on the set light intensity limit;

7. Reading reminder: A reading countdown can be activated, and when the countdown reaches zero, the system will sound the buzzer to remind the user to take a break;

8. Alarm reminder: The alarm time and working mode can be set using buttons, with multiple modes available for different scenarios. When the alarm time is reached, the system will keep the red LED light on and sound the buzzer. The user can manually turn off the sound and light reminders, and the alarm will automatically turn off after one minute;

9. Setting function: The buttons allow for calibration of date and time, setting reading time, setting minimum distance alarm value, light intensity limit, alarm parameters, etc.;

10. Power failure protection: The configured parameters will be saved using the AT24C02 storage chip, providing power failure protection for stored data;

Leave a Comment