The Simplest Digital Filter (STM32 Implementation) - Phil’s Lab #92
How to implement a simple digital filter (low-pass and high-pass exponential moving average (EMA)) on a real-time embedded system (STM32 audio codec). Useful for noise reduction, removing DC offsets, and more in simple situations.
Discussion on filter basics, advantages & disadvantages, theory, implementation in C, and real-time time- and frequency-domain tests.
[SUPPORT]
Free trial of Altium Designer:
PCBs manufactured and assembled by PCBWay:
Patreon:
Mixed-signal hardware design course:
Advanced Hardware Design Course Survey
[GIT]
[LINKS]
Instagram:
[TIMESTAMPS]
00:00 Introduction
00:44 Altium Designer Free Trial
01:15 What We’ll Look At
01:47 EMA Filter Basics
03:40 Digital Filter Basics
05:03 Low-Pass Filter Theory
08:36 Filter Coefficient Effect on Frequency Response (Alpha)
09:57 Software Implementation in C (Low-Pass)
13:11 Low-Pass Filter Real-Time Test
16:39 High-Pass Filter Theory
18:32 Filter Coefficient Effect on Frequency Response (Beta)
19:11 Software Implementation in C (High-Pass)
20:23 High-Pass Filter Real-Time Test
23:04 Outro
6 views
1616
413
1 month ago 00:14:53 1
DIY wall decor! Decorative plaster from ordinary putty!
1 month ago 00:04:38 1
ШЭКГ. Урок 04.2 Знакомство с Интернет. Часть 2. Как всегда быть в сети Интернет?
1 month ago 00:02:30 1
ШЭКГ. Урок 04.3 Знакомство с Интернет. Часть 3. Как по Wifi подключиться к сети Интернет
1 month ago 00:33:14 1
4 Levels to creating realistic bubbles in blender
1 month ago 00:08:45 1
My son loves it! He eats it every day! Incredible strength and energy!
1 month ago 00:02:55 1
Origami | 日本初 学生アカデミー賞 受賞 | Award Winning Animated Short Film by Kei Kanamori
1 month ago 00:04:08 17
How to Make Twine Wrapped Star - Jute Craft Home Decorations Ideas 2024 - CRAFTMANIA
1 month ago 00:05:40 1
Sometimes The Simplest Mods Are The Most fun.. ( RagMod Grapple ) | Garry’s Mod
1 month ago 00:21:01 1
Yet Another “BEST“ AFK Money Farm on YouTube (1 Plat/sec) | Terraria
1 month ago 00:15:30 1
A Simple Base For Your Scale Model - Meng’s Pickup with ZU-23-2 in 1/35th Scale: “Qilo Edition“
1 month ago 00:00:37 1
САМЫЙ ЛЕГКИЙ язык в МИРЕ СЕРБСКИЙ, Русский сложнее, ПРОВЕРИМ? #белград #сербия #shorts #4k
1 month ago 00:46:24 4
How are holograms possible? | Optics puzzles 5
1 month ago 00:07:17 1
самый простой БЕЛКОВЫЙ КРЕМ! крем МОКРОЕ БЕЗЕ! Швейцарская меренга!
1 month ago 00:03:25 1
Bach - WTC I Prelude and fugue no. 9 in E major BWV 854 - Rieger | Netherlands Bach Society