TaskScheduler: A Lightweight Cooperative Multitasking Scheduler for Arduino, ESP32, STM32 and Other Microcontrollers

In embedded development, multitasking is key to improving system efficiency and functionality. For resource-constrained microcontrollers, traditional preemptive multitasking frameworks (like FreeRTOS) can be overly complex and resource-intensive. In this case, the lightweight cooperative multitasking scheduler TaskScheduler becomes an ideal choice. Introduction to TaskScheduler TaskScheduler is a library that provides cooperative multitasking capabilities for microcontrollers such … Read more

The Evolution of the Most Powerful Mobile Chips: How Apple’s A-Series Processors Are Forged!

Apple held its 2019 Fall Conference at 1 AM Beijing time on the 11th. This time, the upgrade of the iPhone 11 from the X to the XS generation is quite significant, with the A13 chip featuring regular hardware upgrades, camera upgrades, the addition of night mode, increased battery capacity, and the pro version standard … Read more

Arduino UNO R4 Launch: Enhanced Specifications and Chip Upgrade

Arduino has not released a new model for the UNO since the launch of UNO R3 in 2010. This model has endured and remained popular for a long time. Thirteen years later, they finally released an upgraded model — Arduino UNO R4. Compared to the old version, the new model has made significant improvements in … Read more

Arduino Uno | Measuring Distance with HC-SR04 Ultrasonic Sensor

Example Effect Press the serial monitor, and you can see that the measured distance is 9.8cm-10.1cm with an error of about 0.2cm. HC-SR04 An ultrasonic sensor used for distance measurement, widely applied in robotics to avoid obstacles and measure distances. Its module uses Trig to trigger distance measurement, which emits 8 40kHz square waves and … Read more

Creating a Vector Laser Projector: A Year in the Making

【Click the above「blue text」 to follow the DF Maker Community and become a tech enthusiast together】 The community’s public account records weekly shareable maker-related content, released every Friday~ Content is open-source, contributions or recommendations of related content are welcome. Submission email: <span>[email protected]</span> Images & Videos bbLaser——Vector Laser Projector ▲ Click to watch For a long … Read more

The Untold Stories of Business WiFi

This is the first time Xiao Hei Yang has reposted someone else’s article. Having followed business WiFi for a long time, this article resonates deeply with me. I originally wanted to write a critique on business WiFi, but now I feel that this article is enough as a foundation. Author: He Mingke Link: View Original … Read more

Quick Start for Beginners: Mastering ESP32 with Arduino IDE

Hello everyone, I am Machine Panda. In order to do a good job, one must first sharpen their tools. Therefore, choosing a suitable development environment is crucial. Since this series mainly uses the ESP32 microcontroller, there are generally three mainstream development methods: Arduino, a convenient and flexible open-source electronic prototyping platform, supports ESP32, ESP8266, etc., … Read more

Porting Arduino IDE on Fedora 21

Without further ado, let’s get to the point. Last year, I made a small news about getting the latest version of Arduino IDE running on Loongson Fedora 21, but later I found that the serial monitor and serial plotter were completely unusable, which made it very inconvenient to debug Arduino boards on Loongson computers. A … Read more