Ultimate Secrets of MCU Programming: Delays

Ultimate Secrets of MCU Programming: Delays

/*** Direct Hit to the Essence ***/ 1) A certain time delay is required when powering up the entire chip The main reason is that during the power-up process, the power supply is not stable enough, which may interfere with the internal initialization of the chip, causing abnormal operation of peripheral devices; at the same … Read more

51 Microcontroller Traffic Light Controller Tutorial

51 Microcontroller Traffic Light Controller Tutorial

AD Package Library Component Library Collection:Package Library Resource Directory: This design is based on the 51 microcontroller traffic light controller, with control, start, and yellow light flashing (Proteus simulation + program). Simulation: Proteus 7.8 Program Compiler: Keil 4/Keil 5 Programming Language: C Language Number J012 Function Description: Timing control of LED lights; display and flashing … Read more

Implementing Multi-Tasking Operations with Microcontrollers

Implementing Multi-Tasking Operations with Microcontrollers

Limited Time Resource Download:Reply “Tutorial” to get the microcontroller eBook, reply “Simulation” to get Proteus simulation materials, Baidu Disk group share link update time: 2016-05-2,if expired, please leave a message at the end of the article, do not leave a message in the background,you can also search for more resources you want in the background … Read more

Microsecond-Level Delay Solutions on RTOS

Microsecond-Level Delay Solutions on RTOS

Microsecond-Level Delay Design Solutions Generally, in an RTOS system with a clock of 1KHz, the minimum time for thread_sleep() is 1ms. In real-time control, there are situations where microsecond (us) level delays are required. What should we do in this case? There are two implementation approaches for microsecond-level delays: one is to increase the system … Read more

Understanding STM32 Timers: A Comprehensive Training Guide

Understanding STM32 Timers: A Comprehensive Training Guide

Course Introduction Introduction to STM32 Timer Basics and Common Applications The STM32 technical training proudly presents “Chatting with the Moderator about the STM32 Series” training. This training is carefully compiled by the moderator based on the most frequently asked questions in the ST MCU forum, featuring specialized technical Q&A and application case analysis. The first … Read more

FreeRTOS Interrupt Testing Guide

FreeRTOS Interrupt Testing Guide

Introduction to FreeRTOS Interrupts The highest interrupt priority that can call interrupt-safe FreeRTOS API functions is determined by the interrupt service routine. Do not call interrupt-safe FreeRTOS API functions from any interrupt with a higher priority than this (the higher the priority, the lower the numerical value). The code is as follows (version FreeRTOS V202107.00): … Read more

Microsecond-Level Delay Solutions in RTOS

Microsecond-Level Delay Solutions in RTOS

Follow+Star Public Account Number, don’t miss the wonderful content Source | MultiMCU EDU Typically, the RTOS system tick is 1KHz, of course, there are cases of 100Hz or 10KHz. At 1KHz, the shortest system delay is 1ms, and in real-time control, there are situations that require microsecond (us) level delays. What should we do? There … Read more

Create a Raspberry Pi Countdown Timer for Pi Day

Create a Raspberry Pi Countdown Timer for Pi Day

Introduction: Use Raspberry Pi and an e-paper display to start the countdown to your next holiday. Article length: 9501 words, reading time approximately: 12 minutes Pi Day🔗 en.wikipedia.org(Pi Day) (March 14) has come and gone, leaving behind wonderful memories and many Raspberry Pi projects🔗 opensource.com waiting for us to try. It’s hard to return to … Read more