Mastering Arduino in Ten Days: DS1307 Digital Clock

Mastering Arduino in Ten Days: DS1307 Digital Clock

Background Knowledge The DS1307 is an I2C interface real-time clock (RTC) chip, primarily used for independent timing (data retention during power loss), providing accurate year/month/day/hour/minute/second information for devices like Arduino and microcontrollers. It is one of the most commonly used timing modules in hardware DIY projects. 【Core Features】 Independent Timing: Built-in 32.768kHz crystal oscillator with … Read more

Vision Protection Device Based on STM32 Microcontroller (Bluetooth Version)

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. … Read more

Vision Protection Device Based on STM32 Microcontroller

Vision Protection Device Based on STM32 Microcontroller

☆ Design Hardware Composition: STM32 microcontroller minimum system + RTC clock 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 … Read more

Precise Timing with ESP32: Say Goodbye to Time Synchronization Issues in Your Embedded Systems!

Precise Timing with ESP32: Say Goodbye to Time Synchronization Issues in Your Embedded Systems!

ESP32 is a powerful microcontroller widely used in IoT projects. However, in applications requiring precise timing, the built-in RTC of the ESP32 often falls short. This is where <span>ESP32Time</span> library comes into play! It allows you to easily set and retrieve the internal RTC time of the ESP32, ensuring your project maintains accurate timing. ESP32Time: … Read more

How to Properly Cancel HTTP Requests in Your Project

Why is it Necessary to “Cancel” HTTP Requests? Many front-end developers have had this experience: quickly typing multiple keywords in a search box, switching pages, or loading while scrolling, old requests have not returned, and new requests have been sent out. The result is: Page display is chaotic (old data overwrites new data) The browser … Read more

Using Linux RTC for Wake-Up Functionality

In Linux systems, we can use crontab to set periodic tasks, such as scheduled shutdowns, but how do we schedule wake-ups? After 2000, many computer motherboards have supported the RTC (real-time clock) functionality. If the corresponding BIOS program supports the relevant settings, then it can be configured in the BIOS. If not, or if you … Read more

How to Properly Cancel HTTP Requests in Your Project

Why is it Necessary to “Cancel” HTTP Requests? Many front-end developers have experienced this: when quickly typing multiple keywords in a search box, switching pages, or loading content while scrolling, the old requests have not returned, and new requests are being sent out. The result is: Page display issues (old data overwriting new data) Browsers … Read more