In designing µC-based systems, you often face a situation in which the µC has to respond to an external event happening at an uncertain moment in time. One example is receiving an echo from an object ...
Debouncing button or switch inputs on microcontrollers can be a challenging problem for those first starting to program these devices. Part of the reason for this difficulty is that real-world buttons ...
What’s the biggest difference between writing code for your big computer and a microcontroller? OK, the memory and limited resources, sure. But we were thinking more about the need to directly ...
The need for timing in embedded programming often exceeds the small number of available hardware timers in microcontrollers. For example, the Microchip PIC16F84A has one timer, but you can create as ...
Microcontroller units (MCUs) are single-chip computers optimized for performing embedded computing tasks like controlling a ...
When a WFI instruction is executed or when the processor enters sleep mode using the Sleep-On-Exit feature, the processor stops instruction execution and wakes up when an (higher priority) interrupt ...
The use of a real-time operating system (RTOS) or a bare-metal scheduler is a popular topic of debate among embedded system developers. The supporters of bare metal argue that they can use a ...
When designing a system, one of the most important design decisions is choosing what voltage domain(s) to use. Some voltage domains, such as 5 V, are good for noisy and harsh operating environments ...
The rise in popularity of 32-bit microcontroller (MCU) devices across the embedded community comes as no surprise. These function-rich devices suit an array of different applications, which explains ...