Embedded Tips & Tricks

Here is a collection of very powerful yet simple solutions to many problems we encounter as Embedded Systems Engineers…

Low Pass Filtering with minimal Computational Complexity
It’s extremely fast and only uses single-cycle instructions that are found in even the smallest Microcontrollers…
Simple Software Lowpass Filter – by Barry L. Dorr

Switch and Pushbutton Debouncing
This is a fantastic writeup with efficient software and hardware debouncing solutions complete with example waveforms. Jack Ganssle of The Ganssle Group is a respected source of embedded information and has decades of industry experience.
Software and Hardware Debouncing – by Jack Ganssle