Uploaded December 2021 | Updated November 2026, 3 hours ago
Decimation filter basics theory, anti-aliasing filters, downsampling, and final implementation on an embedded system (STM32 microcontroller with sensor) using the C programming language.
(AD: This video includes a paid promotion for JLCPCB and Altium.)
[SUPPORT]
Free trial of Altium Designer: altium.com/yt/philslab (AD)
PCBA from $0 (Free Setup, Free Stencil): jlcpcb.com/RHS (AD)
Patreon: patreon.com/phils94
[LINKS]
GitHub: github.com/pms67
FIR Filters: youtu.be/uNNNj9AZisM
IIR Filters: youtu.be/QRMe02kzVkA
Serial Oscilloscope: x-io.co.uk/serial-oscilloscope
[TIMESTAMPS]
00:00 Introduction
00:43 JLCPCB and GitHub Repo (Ad)
1:14 Altium Designer Free Trial (Ad)
1:40 Previous Filtering Videos (FIR/IIR)
2:03 Basics
3:30 Downsampling
5:01 Anti-Aliasing Filter
5:58 Non-Ideal Low-Pass Filter
6:59 Decimation Filter
7:28 Decimation Filter Design
9:24 FIR Anti-Aliasing Filter Design
10:50 Software Implementation (STM32)
17:37 Demonstration
ID: QIBvbJtYjWuHiTG0uCoK
Decimation filter basics theory, anti-aliasing filters, downsampling, and final implementation on an embedded system (STM32 microcontroller with sensor) using the C programming language.
(AD: This video includes a paid promotion for JLCPCB and Altium.)
[SUPPORT]
Free trial of Altium Designer: altium.com/yt/philslab (AD)
PCBA from $0 (Free Setup, Free Stencil): jlcpcb.com/RHS (AD)
Patreon: patreon.com/phils94
[LINKS]
GitHub: github.com/pms67
FIR Filters: youtu.be/uNNNj9AZisM
IIR Filters: youtu.be/QRMe02kzVkA
Serial Oscilloscope: x-io.co.uk/serial-oscilloscope
[TIMESTAMPS]
00:00 Introduction
00:43 JLCPCB and GitHub Repo (Ad)
1:14 Altium Designer Free Trial (Ad)
1:40 Previous Filtering Videos (FIR/IIR)
2:03 Basics
3:30 Downsampling
5:01 Anti-Aliasing Filter
5:58 Non-Ideal Low-Pass Filter
6:59 Decimation Filter
7:28 Decimation Filter Design
9:24 FIR Anti-Aliasing Filter Design
10:50 Software Implementation (STM32)
17:37 Demonstration
ID: QIBvbJtYjWuHiTG0uCoK
![(Sponsored) KiCad Breakout Board Design (STM32 + Sensor) - Phils Lab #36
How to design a simple, two-layer breakout board (PCB) for a sensor (differential pressure sensor) and an STM32 microcontroller using KiCad.
(AD: This video includes a paid promotion for JLCPCB and Altium.)
[SUPPORT]
- PCBA from $0 (Free Setup, Free Stencil): https://jlcpcb.com/RHS (AD)
- Free Trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
- Patreon: https://www.patreon.com/phils94
[LINKS]
- Git: https://github.com/pms67
- Full KiCad + JLCPCB Tutorial: https://youtu.be/C7-8nUU6e3E
- Pitot Tube: https://en.wikipedia.org/wiki/Pitot_tube
- Zynq SoC/FPGA Survey: https://forms.gle/3X2fy92tP6KktpeaA
[TIMESTAMPS]
00:00 Introduction / Assembled PCBs
00:35 JLCPCB and Git Repo (Ad)
00:57 Phils Lab Website
01:10 Altium Designer Free Trial (Ad)
01:37 Main Parts (Sensor and STM32 MCU)
02:23 Schematic Overview
02:37 Power Supply and Protection
03:22 Sensor and STM32 Microcontroller
04:59 IO Header and ESD Protection
05:26 PCB Overview
06:00 Component Placement
06:48 Routing Info and SWD Solder-Less Header
07:09 ESD Protection Placement
07:19 Vias
07:35 Silkscreen and 3D Viewer
08:00 Final Steps
ID: QIBvbJtYjWuHiTG0uCoK (Sponsored) KiCad Breakout Board Design (STM32 + Sensor) - Phils Lab #36](https://i.ytimg.com/vi/8S8ez1-YwkU/mqdefault.jpg)
![Thermal PCB Design Tips - Phils Lab #93
Thermal considerations when designing hardware and PCBs. Including discussions on trace widths, planes, copper thickness, power calculations, regulator and package choice, and more.
(AD: This video includes a paid promotion for Altium).
[SUPPORT]
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Patreon: https://www.patreon.com/phils94
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
Advanced Hardware Design Course Survey
https://forms.gle/X4jwvtZeJ1jTXh7r9
[GIT]
https://github.com/pms67
[LINKS]
Instagram: https://instagram.com/philslabyt
[TIMESTAMPS]
00:00 Introduction
00:37 Altium Designer Free Trial (Ad)
01:16 Trace/Plane Width and Thickness
02:41 IPC-2221 Calculator
06:07 Paralleling Layers
07:03 LDO Power Dissipation
09:42 Package Choice (Thermal Resistance)
13:15 Thermal Vias and Pads
17:59 Thermal Reliefs and Copper Balancing
18:55 Summary
20:42 Outro Thermal PCB Design Tips - Phils Lab #93](https://i.ytimg.com/vi/8v-wC5cM_Yk/mqdefault.jpg)
![M.2 System-on-Module Hardware Design - Phils Lab #107
Tiny M.2 form-factor system-on-module design walkthrough, featuring small BGA-package STM32F4 microcontroller, SDRAM, QSPI FLASH, and more.
Tips on schematic & PCB design, including BGA packages, pin-out, M.2 interface standards, ...
(AD: This video includes a paid promotion for Altium).
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Patreon: https://www.patreon.com/phils94
[GIT]
https://github.com/pms67
[SOCIAL]
Instagram: https://instagram.com/philslabyt
[LINKS]
M.2 interface: https://www.delock.de/infothek/M.2/M.2_e.html
[TIMESTAMPS]
00:00 Introduction
01:02 Altium Designer Free Trial (Ad)
01:29 Hardware Design Course
01:58 System-on-Modules
04:17 M.2 Interface
08:06 Block Diagram
09:54 Part Choices
10:30 Schematic Overview
11:51 MCU Pin-Out
13:12 SDRAM Schematic
14:08 Series Termination
14:49 I/O
16:08 Power & Decoupling
16:50 Serial Wire Debug (SWD)
17:13 M.2 Connections
17:56 MCU Pin-Out Flexibility
18:41 PCB Overview
20:50 Tag-Connect SWD Header
21:17 Layers
22:21 BGA Fan-Out
24:04 BGA Power & Decoupling
25:34 SDRAM
27:01 Additional Tips
28:32 Edge Connector Routing
29:36 SWD Routing
30:41 Carrier Board (Future Video)
31:35 Outro M.2 System-on-Module Hardware Design - Phils Lab #107](https://i.ytimg.com/vi/AA_ls_9YdYk/mqdefault.jpg)
![Switching Regulator PCB Design - Phils Lab #60
How to layout and route a switching regulator (buck converter in this example) using Altium Designer. Best practices, tips, and guidelines to minimise noise, EMI, etc.
(AD: This video includes a paid promotion for JLCPCB and Altium.)
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
[SUPPORT]
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
PCBA from $0 (Free Setup, Free Stencil): https://jlcpcb.com/RHS (AD)
Patreon: https://www.patreon.com/phils94
[LINKS]
Advanced PCB design course survey: https://forms.gle/3Kdq1E9KV9TAhiim9
Switching power supply PCB layout seminar: https://www.youtube.com/watch?v=gq-0ZpcGm8E
GitHub: https://github.com/pms67
[TIMESTAMPS]
00:00 EM Test Board
00:46 JLCPCB and Git Repo (Ad)
01:30 Altium Designer Free Trial (Ad)
01:49 Buck Converter Resources
02:23 Buck Converter Topology and Loops
06:12 General Layout and Routing Rules
08:48 Schematic
09:57 Layout
17:32 Routing
24:34 Outro
ID: QIBvbJtYjWuHiTG0uCoK Switching Regulator PCB Design - Phils Lab #60](https://i.ytimg.com/vi/AmfLhT5SntE/mqdefault.jpg)
![PCB Copper Pours 101 - Phils Lab #176
Basics of PCB copper/polygon pours/fills, design rules, thermal relief, stitching, and copper balance.
Altium Develop: http://altium.com/yt/philslab (Ad)
[SUPPORT]
Hardware design courses: https://fedevel.com/instructors/philip-salmony#courses
Course content: https://www.phils-lab.net/courses
Patreon: https://www.patreon.com/phils94
[LINKS]
PCB Stack-Up and Build-Up: https://www.youtube.com/watch?v=QAOEtfvCaMw
PCB Design Rules 101: https://www.youtube.com/watch?v=zeH3WbMWvdg
Secrets of PCB Optimisation: https://www.youtube.com/watch?v=0RyBCnowLsI
Rick Hartley & Robert Feranec Video: https://www.youtube.com/watch?v=52fxuRGifLU
Thermal Relief Design Guide: https://resources.altium.com/p/thermal-relief-design
[TIMESTAMPS]
00:00 Intro
02:57 Altium Develop (Ad)
04:02 Design Rules
10:52 Pour Order (Priority)
11:49 Thermal Relief
22:50 Copper Balance
25:20 Hatching
26:25 Outro PCB Copper Pours 101 - Phils Lab #176](https://i.ytimg.com/vi/Ao2HUjjhlmQ/mqdefault.jpg)
![(Sponsored) Mini 6-Layer Mixed-Signal Hardware Design Walkthrough - Phils Lab #78
Walkthrough of double-sided assembly, 6-layer mixed-signal hardware design (overview, schematic, and PCB) of a digital signal processing board for audio. Tips and tricks along the way for schematics, PCB layout and routing, and manufacturing.
Thanks to the new channel sponsor PCBWay! PCBs manufactured and assembled by PCBWay at https://www.pcbway.com (AD)
(AD: This video includes a paid promotion for PCBWay and Altium.)
[SUPPORT]
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Patreon: https://www.patreon.com/phils94
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
[GIT]
https://github.com/pms67
[TIMESTAMPS]
00:00 Introduction
00:20 PCBWay (Ad)
00:41 Altium Designer Free Trial (Ad)
01:03 Hardware Overview
[SCHEMATIC]
05:35 Power Supplies
07:34 STM32H7 MCU
08:52 Memory (SDRAM, QSPI FLASH, SD)
10:26 USB HS
11:14 USB C, RS485, ADC
12:44 Codec
13:38 Analogue Front-End (In/Out)
[PCB]
16:02 PCB Walkthrough
22:41 Manufacturing Files
23:40 PCBWay Ordering
25:47 Outro (Sponsored) Mini 6-Layer Mixed-Signal Hardware Design Walkthrough - Phils Lab #78](https://i.ytimg.com/vi/AxEL3eESL9I/mqdefault.jpg)
![FPGA/SoC Board Bring-Up Tutorial (Zynq Part 1) - Phils Lab #96
How to test, configure, and program custom hardware based on AMD/Xilinx Zynq system-on-chips (SoCs) and FPGAs. Basic power-up, JTAG checks, FTDI USB-to-UART/USB-to-JTAG programming, Vivado and Vitis configuration, Zynq IP set-up, and Hello World UART test. PCBs by PCBWay https://www.pcbway.com
(AD: This video includes a paid promotion for PCBWay and Altium).
Future bring-up videos will cover DDR3 memory, Ethernet, USB, and more!
[SUPPORT]
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Patreon: https://www.patreon.com/phils94
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
Advanced Hardware Design Course Survey:
https://forms.gle/X4jwvtZeJ1jTXh7r9
[GIT]
https://github.com/pms67
[LINKS]
Instagram: https://instagram.com/philslabyt
Zynq 7000 Series: https://www.xilinx.com/products/silicon-devices/soc/zynq-7000.html
Vivado/Vitis: https://www.xilinx.com/products/design-tools/vivado.html
Bring-Up Tutorial: https://github.com/imrickysu/ZYNQ-Custom-Board-Bring-Up-Guide
[TIMESTAMPS]
00:00 Introduction
00:42 Altium Designer Free Trial (Ad)
01:12 Course Survey
01:30 PCBWay (Ad)
02:02 Zynq Overview
03:15 Custom PCB Overview
07:02 Custom PCB Overview (Bottom)
07:50 Bring-Up Procedure
08:30 Initial Tests (Shorts, Voltages, Oscillators)
11:00 Vivado & Vitis
12:13 Create Vivado Project
13:12 JTAG Connection
13:40 Boot Mode Settings
14:27 JTAG Test (Vivado Hardware Manager)
15:48 Read & Write Memory (Xilinx System Debugger)
17:49 FTDI USB-to-UART & USB-to-JTAG Flashing
19:17 Hello World (Zynq PS UART)
20:00 Create & Configure Block Design (Vivado)
22:42 Export Hardware (Vivado to Vitis)
24:38 Vitis Hello World Application
28:30 Summary
29:38 Outro FPGA/SoC Board Bring-Up Tutorial (Zynq Part 1) - Phils Lab #96](https://i.ytimg.com/vi/B-CbDfrfJRk/mqdefault.jpg)
![(Sponsored) Complementary Filter - Sensor Fusion #2 - Phils Lab #34
Part 2 of sensor fusion video series showing theory and implementation of the complementary filter. Looking at derivation, practical issues, alternative views, and implementation on a real-world embedded system (STM32) in C.
(AD: This video includes a paid promotion for Altium.)
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Patreon: https://www.patreon.com/phils94
Git: https://github.com/pms67
Serial Oscilloscope: https://x-io.co.uk/serial-oscilloscope/
State observers: Observers: https://en.wikipedia.org/wiki/State_observer
Euler Angles: http://control.asu.edu/Classes/MMAE441/Aircraft/441Lecture9.pdf (from slide 17)
[TIMESTAMPS]
00:00 Introduction
00:27 Design Files/Source Code
00:47 Altium Designer Free Trial (Ad)
01:30 Recap
02:08 Complementary Filter Theory
06:14 What does alpha do?
06:46 Practical Considerations
07:47 Implementation (STM32)
10:08 Demonstration (Real-Time)
11:47 Alternative View: State Observer
ID: QIBvbJtYjWuHiTG0uCoK (Sponsored) Complementary Filter - Sensor Fusion #2 - Phils Lab #34](https://i.ytimg.com/vi/BUW2OdAtzBw/mqdefault.jpg)
![Interfacing FPGAs with DDR Memory - Phils Lab #115
How to determine FPGA pin-out of DDR interface, connect FPGA to DDR memory module, using Vivado and Memory Interface Generator (MIG) tools (Spartan-7). Including schematic and PCB design tips. PCBWay https://www.pcbway.com (AD: This video includes a paid promotion for PCBWay and Altium).
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Patreon: https://www.patreon.com/phils94
[GIT]
https://github.com/pms67
[SOCIAL]
Instagram: https://instagram.com/philslabyt
[LINKS]
FPGA Design Tutorial: https://www.youtube.com/watch?v=msXKWn24TN4
Microcontroller on FPGA: https://www.youtube.com/watch?v=oBV-xA_JDFE
FPGA + DDR PCB Tutorial: https://www.youtube.com/watch?v=5vPeSdU22ns
[TIMESTAMPS]
00:00 Introduction
00:44 Xerxes Rev B Hardware
02:00 Previous Videos
02:25 Altium Designer Free Trial (Ad)
02:53 PCBWay (Ad)
03:47 Hardware Overview
06:10 Vivado & MIG
08:06 Choosing Memory Module
10:00 DDR2 Memory Module Schematic
12:31 FPGA Banks
15:37 DDR Pin-Out
17:53 Verify Pin-Out
18:51 Additional Constraints
21:40 Termination & Pull-Down Resistors
22:52 PCB Tips
25:55 Future Video
26:16 Outro Interfacing FPGAs with DDR Memory - Phils Lab #115](https://i.ytimg.com/vi/CMQ-unfgnk0/mqdefault.jpg)
![(Sponsored) Aesthetic PCB Design Tips - Phils Lab #84
Tips for creating aestheticly-pleasing PCB designs, which in turn also benefit functionality, manufacturability, and more. From grid sizes, placement, silkscreen, to edge shielding, and more - make sure to incorporate these tips into your next PCB designs! PCBs by PCBWay https://www.pcbway.com
(AD: This video includes a paid promotion for PCBWay and Altium).
[SUPPORT]
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Patreon: https://www.patreon.com/phils94
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
Advanced Hardware Design Course Survey
https://forms.gle/X4jwvtZeJ1jTXh7r9
[GIT]
https://github.com/pms67
[TIMESTAMPS]
00:00 Introduction
01:10 PCB Showcase
02:34 PCBWay (Coupon: PCBWAY-PHILSLAB) (Ad)
03:14 Altium Designer Free Trial (Ad)
03:39 Why Aesthetics Matter
04:51 Grids
06:22 Sectioning
07:37 Traces
09:35 Board Outline and Component Placement
10:43 Edge Plating/Shielding
11:49 Rounded Corners
12:35 Silkscreen
15:38 Surface Finish and Soldermask
17:26 Outro (Sponsored) Aesthetic PCB Design Tips - Phils Lab #84](https://i.ytimg.com/vi/D2UaRPkRExw/mqdefault.jpg)
![(Sponsored) Symbol and Footprint Creation | Altium Designer - Phils Lab #31
How to create a schematic symbol and PCB footprint in Altium Designer using information from the device datasheet (Raspberry Pi RP2040 microcontroller, QFN package).
(AD: This video includes a paid promotion for JLCPCB and Altium.)
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Visit https://jlcpcb.com/RHS for $2 for five 2-layer PCBs and $5 for five 4-layer PCBs. (AD)
Patreon: https://www.patreon.com/phils94
Git: https://github.com/pms67
RP2040 PCB Design Video: https://youtu.be/X00Cm5LMNQk
[TIMESTAMPS]
00:00 Introduction
00:12 JLCPCB / RP2040 (Ad)
00:34 Altium Free Trial (Ad)
01:02 RP2040 Datasheet
01:45 Symbol
06:10 Footprint
11:35 Importing a 3D Model
13:23 Linking Symbol and Footprint
ID: QIBvbJtYjWuHiTG0uCoK (Sponsored) Symbol and Footprint Creation | Altium Designer - Phils Lab #31](https://i.ytimg.com/vi/DVErHmX-qyw/mqdefault.jpg)