Uploaded December 2023 | Updated November 2026, 3 hours ago
Step-by-step schematic and PCB design tutorial for STM32WB-based hardware (USB, RF, power) in KiCad 7. (Part 2 of 2) (Part 1: youtu.be/nkHFoxe0mrU) PCBs by PCBWay pcbway.com (AD: This video includes a paid promotion for PCBWay).
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: phils-lab.net/courses
Patreon: patreon.com/phils94
[GIT]
github.com/pms67
[SOCIAL]
Instagram: instagram.com/philslabyt
[LINKS]
KiCad 7: kicad.org
STM32CubeIDE: st.com/en/development-tools/stm32cubeide.html
MCU Datasheet: st.com/resource/en/datasheet/stm32wb55ce.pdf
AN5165: st.com/resource/en/application_note/an5165-how-to-develop-rf-hardware-using-stm32wb-microcontrollers-stmicroelectronics.pdf
AN2867: st.com/resource/en/application_note/an2867-oscillator-design-guide-for-stm8afals-stm32-mcus-and-mpus-stmicroelectronics.pdf
Hardware Design Playlist: youtube.com/playlist?list=PLXSyc11qLa1YhVCZ5xWPuPsE5MkgEy5TF
Controlled Impedance: youtube.com/watch?v=0fteCxn5XXA
PCB Stack-Up & Build-Up: youtube.com/watch?v=QAOEtfvCaMw
Manufacturing & Assembly Files: youtube.com/watch?v=PfGJDiz7-TQ
[TIMESTAMPS]
00:00 Introduction
01:03 PCBWay (Ad)
01:42 Courses
02:19 PCB Set-Up
08:14 Design Rules
12:47 Trace and Vias Sizes
13:53 Controlled Impedance
19:15 Importing Components
20:19 Adding Missing 3D Models
24:53 Rats Nets and Net Colours
30:16 Initial Layout
36:16 Tag-Connect and USB Layout (Initial)
39:31 Mechanical Constraints
41:30 RF Layout (Initial)
42:36 Crystal Layout (Initial)
44:13 SMPS Layout (Initial)
45:28 UART Layout (Initial)
46:51 Layout Fine-Tuning
52:46 Decoupling Caps Layout
01:05:57 Misc. Layout
01:21:15 Board Outline
01:26:15 Routing Introduction
01:28:13 Ground Planes
01:31:38 Mounting Holes & Fiducial Markers
01:37:51 Via Placement
01:48:30 RF Routing
01:51:20 Crystal Routing
01:54:40 SMPS Routing
01:58:30 SWD Routing
02:00:21 USB Routing
02:05:29 Misc. Routing (NRST, BOOT0, UART, LED)
02:15:04 Power & Ground Routing
02:25:57 Stitching
02:28:08 Clean-Up (Silkscreen, Teardrops, Non-Functional Pads)
02:33:12 Design Rule Check (DRC)
02:36:03 Further Checks
02:38:11 Bill of Materials (BoM) and Pick 'n' Place (CPL)
02:41:23 Gerber
02:43:54 Additional Documents
02:49:45 Ordering
02:55:56 Outro
Step-by-step schematic and PCB design tutorial for STM32WB-based hardware (USB, RF, power) in KiCad 7. (Part 2 of 2) (Part 1: youtu.be/nkHFoxe0mrU) PCBs by PCBWay pcbway.com (AD: This video includes a paid promotion for PCBWay).
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: phils-lab.net/courses
Patreon: patreon.com/phils94
[GIT]
github.com/pms67
[SOCIAL]
Instagram: instagram.com/philslabyt
[LINKS]
KiCad 7: kicad.org
STM32CubeIDE: st.com/en/development-tools/stm32cubeide.html
MCU Datasheet: st.com/resource/en/datasheet/stm32wb55ce.pdf
AN5165: st.com/resource/en/application_note/an5165-how-to-develop-rf-hardware-using-stm32wb-microcontrollers-stmicroelectronics.pdf
AN2867: st.com/resource/en/application_note/an2867-oscillator-design-guide-for-stm8afals-stm32-mcus-and-mpus-stmicroelectronics.pdf
Hardware Design Playlist: youtube.com/playlist?list=PLXSyc11qLa1YhVCZ5xWPuPsE5MkgEy5TF
Controlled Impedance: youtube.com/watch?v=0fteCxn5XXA
PCB Stack-Up & Build-Up: youtube.com/watch?v=QAOEtfvCaMw
Manufacturing & Assembly Files: youtube.com/watch?v=PfGJDiz7-TQ
[TIMESTAMPS]
00:00 Introduction
01:03 PCBWay (Ad)
01:42 Courses
02:19 PCB Set-Up
08:14 Design Rules
12:47 Trace and Vias Sizes
13:53 Controlled Impedance
19:15 Importing Components
20:19 Adding Missing 3D Models
24:53 Rats Nets and Net Colours
30:16 Initial Layout
36:16 Tag-Connect and USB Layout (Initial)
39:31 Mechanical Constraints
41:30 RF Layout (Initial)
42:36 Crystal Layout (Initial)
44:13 SMPS Layout (Initial)
45:28 UART Layout (Initial)
46:51 Layout Fine-Tuning
52:46 Decoupling Caps Layout
01:05:57 Misc. Layout
01:21:15 Board Outline
01:26:15 Routing Introduction
01:28:13 Ground Planes
01:31:38 Mounting Holes & Fiducial Markers
01:37:51 Via Placement
01:48:30 RF Routing
01:51:20 Crystal Routing
01:54:40 SMPS Routing
01:58:30 SWD Routing
02:00:21 USB Routing
02:05:29 Misc. Routing (NRST, BOOT0, UART, LED)
02:15:04 Power & Ground Routing
02:25:57 Stitching
02:28:08 Clean-Up (Silkscreen, Teardrops, Non-Functional Pads)
02:33:12 Design Rule Check (DRC)
02:36:03 Further Checks
02:38:11 Bill of Materials (BoM) and Pick 'n' Place (CPL)
02:41:23 Gerber
02:43:54 Additional Documents
02:49:45 Ordering
02:55:56 Outro
![Series Termination Resistor Selection (Practical Demo) - Phils Lab #155
Discover Easy, Affordable, and Reliable PCB manufacturing with JLCPCB! Register to get $70 New customer coupons: https://jlcpcb.com/?from=PhilsLab (AD: This video includes a paid promotion for JLCPCB and Altium.)
How to select an appropriate series termination resistor based on oscilloscope measurements for digital systems. Including discussion on drive strength setting and practical tips.
[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]
Series Termination Basics Video: https://www.youtube.com/watch?v=nYvZ791-VZM
Rise & Fall Times Video: https://www.youtube.com/watch?v=UrnRPwrctRE
Output Impedance From IBIS: https://blog.lamsimenterprises.com/2010/12/22/drivers-output-impedance-from-ibis/
[TIMESTAMPS]
00:00 Intro
02:49 JLCPCB (Ad)
03:54 Altium 365 (Ad)
05:00 Hardware & Measurement Set-Up
07:30 Firmware Set-Up
09:25 Varying Drive Strength
09:41 0R (Very-High Drive Strength)
11:16 0R (Low Drive Strength)
12:01 0R (Medium Drive Strength)
13:19 25R
14:01 33R
14:23 50R
14:55 100R
15:12 Summary
16:29 Driver Output Impedance
18:41 Outro Series Termination Resistor Selection (Practical Demo) - Phils Lab #155](https://i.ytimg.com/vi/Poj4V9u9bMg/mqdefault.jpg)
![PCB Stack-Up and Build-Up - Phils Lab #56
What a PCB is made of (build-up), determining a suitable build-up, and manufacturer/manufacturing considerations. Second part of video discusses how to choose a suitable stack-up for your PCB design (i.e. what sequence of layers you should assign (GND/PWR/SIG)) for signal integrity, EMI, etc.
(AD: This video contains a paid promotion for Altium.)
[SUPPORT]
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Patreon: https://www.patreon.com/phils94
[LINKS]
GitHub: https://github.com/pms67
Rick Hartley Video: https://www.youtube.com/watch?v=ySuUZEjARPY
[TIMESTAMPS]
00:00 Intro
00:06 Altium Designer Free Trial (Ad)
(Build-Up)
00:27 Build-Up Basics
01:58 Layer Count
02:50 Prepreg
03:40 Core
04:18 Copper Foil
05:21 Manufacturability
06:36 Example Manufacturer Build-Up
07:23 Example Controlled Impedance Suggestion
07:49 Altium Designer Layer Stack Manager & Impedance Set-Up
09:13 PCB Manufacturer Build-Up Section
(Stack-Up)
09:56 Stack-Up Basics
10:57 Layer Types
12:09 Golden Rules for Determining Stack-Up
13:18 Goal: Prevent Fields from Spreading
13:58 Adjacent PWR + GND Layers
14:34 Improving a 4-Layer Stack-Up
17:05 Return/Transfer Vias
17:49 Additional Stack-Up Tips
18:55 Good Multi-Layer Stack-Ups
19:51 Rick Hartley Video
ID: QIBvbJtYjWuHiTG0uCoK PCB Stack-Up and Build-Up - Phils Lab #56](https://i.ytimg.com/vi/QAOEtfvCaMw/mqdefault.jpg)
![(Sponsored) IIR Filters - Theory and Implementation (STM32) - Phils Lab #32
Tutorial on IIR (Infinite Impulse Response) digital filters, including digital filtering overview, IIR filter theory, FIR vs IIR, Z-transform design/analysis, design using analogue prototypes, and finally an implementation on an embedded system (STM32).
(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
[TIMESTAMPS]
00:00 Introduction
00:19 JLCPCB and LittleBrain Files (Ad)
00:54 Altium Designer Free Trial (Ad)
01:26 Content
01:44 Digital Filter Basics
04:13 FIR vs IIR
05:41 IIR Filter Theory
10:15 IIR Filter Design Example 1 (Z-Transform)
13:54 IIR Filter Design Example 2 (Analogue Prototype)
15:41 Implementation (Header and Source Files)
17:47 Implementation (main.c)
18:48 Demonstration
ID: QIBvbJtYjWuHiTG0uCoK (Sponsored) IIR Filters - Theory and Implementation (STM32) - Phils Lab #32](https://i.ytimg.com/vi/QRMe02kzVkA/mqdefault.jpg)
![STM32 + LVGL Firmware Tutorial - Phils Lab #147
Get your JLCPCB invitation for Electronica 2024 and enter a draw to win a free flight ticket and exciting gifts: https://jlcpcb.com/Electronica/?from=PhilsLab (AD: This video includes a paid promotion for JLCPCB.)
How to integrate LVGL graphics libraries on a custom, STM32-based hardware platform. Including installation, configuration, driver linking, and UI creation basics.
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Patreon: https://www.patreon.com/phils94
[GIT]
https://www.github.com/pms67
[SOCIAL]
https://www.instagram.com/philslabyt
[LINKS]
STM32 + LCD (FMC): https://youtu.be/RWujOLXBFrc
LVGL: https://lvgl.io/
LVGL Docs: https://docs.lvgl.io/master/intro/introduction.html
EEZ Studio: https://www.envox.eu/studio/studio-introduction/
[TIMESTAMPS]
00:00 Intro
00:37 Previous Video
01:23 LVGL Documentation
02:29 JLCPCB (Ad)
03:30 Adding LVGL to Project
05:29 LVGL Configuration
07:34 Resolving Include Errors
08:53 Tick Interface
10:41 Display Interface
11:54 Draw Buffers
14:37 Display Buffer Flushing
18:47 Flush Callback
19:28 Timer Handler
20:42 UI Generation
23:46 Adding UI to Project
25:46 UI Demo #1
26:01 Modifying UI Elements in Firmware
28:13 UI Demo #2
28:34 Outro STM32 + LVGL Firmware Tutorial - Phils Lab #147](https://i.ytimg.com/vi/QYaGhSo5Uaw/mqdefault.jpg)

![STM32 + LCD Display (FMC) Firmware Tutorial - Phils Lab #146
JLCPCB PCB Fab & Assembly from $2! Register to get $80 Coupons: https://jlcpcb.com/?from=PhilsLab (AD: This video includes a paid promotion for JLCPCB and Altium.)
How to use the flexible memory controller (FMC) on STM32 microcontrollers to interface with LCD displays (ILI9341) and parallel, 8080-type interfaces. Including hardware, firmware, and demos.
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Patreon: https://www.patreon.com/phils94
Altium 365 Free Trial: https://www.altium365.com/yt/philslab @AltiumOfficial #AltiumStories (AD)
[GIT]
https://www.github.com/pms67
[SOCIAL]
https://www.instagram.com/philslabyt
[LINKS]
Interactive designs: https://pms67.github.io
8080 Basics: https://www.displaymodule.com/blogs/knowledge/the-interface-of-8080?srsltid=AfmBOopj-zSlAeDUfdTDAszDGQoZwnsu571_rLuI0AuHims1shY5vC_a
Waveshare Display: https://www.waveshare.com/3.2inch-320x240-touch-lcd-d.htm
AN2784: https://www.st.com/resource/en/application_note/an2784-using-the-highdensity-stm32f10xxx-fsmc-peripheral-to-drive-external-memories-stmicroelectronics.pdf
AN2790: https://www.st.com/resource/en/application_note/an2790-tft-lcd-interfacing-with-the-highdensity-stm32f10xxx-fsmc-stmicroelectronics.pdf
STM32H743 Reference Manual: https://www.st.com/resource/en/reference_manual/rm0433-stm32h742-stm32h743753-and-stm32h750-value-line-advanced-armbased-32bit-mcus-stmicroelectronics.pdf
Controllers Tech: https://www.youtube.com/channel/UCkdqtSMnhYuMsJkyHOxiPZQ
[TIMESTAMPS]
00:00 Intro
01:01 Design Files
01:55 Altium 365 (Ad)
02:17 JLCPCB (Ad)
03:18 LCD Types & 8080 Interface
05:43 LCD Choice
08:00 Hardware Overview
12:24 CubeIDE Config & Pinout
14:14 FMC Pinout
17:39 NRST, Backlight PWM, Clocking
22:24 Firmware Basics (NRST, Backlight PWM)
23:46 ILI9341 Driver
26:09 FMC Memory Map
28:32 FMC D/C Address Offset
30:07 STM32H7 FMC Remap
31:33 First Simple Test
32:25 Width, Height, Orientation Settings
33:39 Image Demo
35:33 Outro STM32 + LCD Display (FMC) Firmware Tutorial - Phils Lab #146](https://i.ytimg.com/vi/RWujOLXBFrc/mqdefault.jpg)
![(Sponsored) Accelerometers and Gyroscopes - Sensor Fusion #1 - Phils Lab #33
Part 1 of sensor fusion video series showing the need for combining sensor data, for example, to estimate the attitude of an aircraft (e.g. UAV) using an inertial measurement unit (IMU). Benefits and problems of typical sensors, such as accelerometers and gyroscopes. Real-world, practical considerations and demonstrations on a real-time embedded system (STM32-based, using the C language). Future videos will cover complementary filters and extended Kalman filters.
(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
Serial Oscilloscope: https://x-io.co.uk/serial-oscilloscope/
Euler Angles: http://control.asu.edu/Classes/MMAE441/Aircraft/441Lecture9.pdf (from slide 17)
[TIMESTAMPS]
00:00 Introduction
00:14 JLCPCB and Git Repo (Ad)
00:40 Altium Designer Free Trial (Ad)
01:08 Video Overview
01:44 Why Sensor Fusion?
02:23 Example: Aircraft Attitude Estimation
03:29 Euler Angles
04:27 Accelerometer
07:18 Implementation: Accelerometer Attitude Estimation
09:48 Gyroscope
11:54 Implementation: Gyroscope Attitude Estimation
13:48 Conclusions
ID: QIBvbJtYjWuHiTG0uCoK (Sponsored) Accelerometers and Gyroscopes - Sensor Fusion #1 - Phils Lab #33](https://i.ytimg.com/vi/RZd6XDx5VXo/mqdefault.jpg)
![PCB Design for Manufacturing Tips (DFM) - Phils Lab #40
Ten tips on designing printed circuit boards (PCBs) with manufacturability in mind (DFM) with a practical example of the new LittleBrain++ board.
Going through basics, manufacturer capabilities and design rules, package selection, footprints and solderability, vias, traces, and more!
(AD: This video includes a paid promotion for JLCPCB and Altium.)
[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]
Git: https://github.com/pms67/LittleBrainPlusPlus
Altium DFM Guide: https://www.altium.com/design-manufacturing-resources
Sierra DFM Handbook (PDF): https://pages.protoexpress.com/dfm-handbook.html?utm_source=design%2Bguides&utm_medium=banner&utm_campaign=dfm%2Bhandbook
Rick Hartley: https://www.youtube.com/watch?v=2h7cp_dYJgI
Perfect 0402 Footprint: https://www.worthingtonassembly.com/perfect-0402-footprint
[TIMESTAMPS]
00:00 Introduction
00:24 JLCPCB and Git Repo (Ad)
00:51 Altium Designer Free Trial (Ad)
01:09 What is DFM?
01:44 Recommended Reading
02:17 #1 Basics
03:16 #2 Manufacturer Capabilities
03:50 #3 Design Rules
04:44 #4 Package Selection
06:31 #5 Footprints
07:18 #6 Solderability
08:28 #7 Solder Mask
09:46 #8 Vias
12:13 #9 Traces
13:40 #10 Component Placement and Silkscreen
14:59 Channel Support
ID: QIBvbJtYjWuHiTG0uCoK PCB Design for Manufacturing Tips (DFM) - Phils Lab #40](https://i.ytimg.com/vi/T922aFyN6bw/mqdefault.jpg)
![Ceramic Capacitor DC Bias Effects & Measurement - Phils Lab #152
JLCPCB PCB Fab & Assembly from $2! Register to get $70 Coupons: https://jlcpcb.com/?from=PhilsLab (AD: This video includes a paid promotion for JLCPCB and Altium.)
Basics of DC bias effects and derating of multi-layer ceramic capacitors (MLCC). Acquiring impedance vs frequency curves for DC-biased ceramic capacitors via the two-port shunt-through measurement technique.
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Patreon: https://www.patreon.com/phils94
Altium 365 Free Trial: https://www.altium365.com/yt/philslab
@AltiumStories @AltiumOfficial #AltiumStories (AD)
[GIT]
https://www.github.com/pms67
[SOCIAL]
https://www.instagram.com/philslabyt
[LINKS]
Interactive Designs: https://pms67.github.io/
2-Port Shunt-Through Measurements: https://youtu.be/GjEmwmAI27U
Capacitor Measurement and Modelling: https://youtu.be/Zs3r5XI8FBY
Capacitor Hardware Design Basics: https://youtu.be/kUruN6WBgSw
Bode 100 VNA: Bode 100 VNA: https://www.omicron-lab.com/products/vector-network-analysis/bode-100
@OMICRONLabTutorials
[TIMESTAMPS]
00:00 Intro
00:34 JLCPCB (Ad)
01:31 Altium A365 Free Trial (Ad)
02:00 Interactive Designs
02:28 MLCC Basics
04:52 Derating Basics
06:41 Issues with Derating
08:23 Mitigation
10:27 2-Port Shunt-Thru Measurement
12:01 DC Block & Bias Injector
14:30 Test Board
15:28 Measurement Set-Up
16:50 Bode Analyzer Software Set-Up
18:36 Test Capacitor
19:27 0V DC Bias
20:52 4V DC Bias
23:12 12V DC Bias
25:06 Outro Ceramic Capacitor DC Bias Effects & Measurement - Phils Lab #152](https://i.ytimg.com/vi/Tfatk7wmnhs/mqdefault.jpg)
![(Sponsored) IMU + USB-to-UART Pmod PCB for FPGA | KiCad + Giveaway - Phils Lab #26
Quick look at a simple, two-layer Pmod breakout board for an FPGA. Contains an inexpensive USB-to-UART converter (CH340E) and a popular IMU (MPU-6050). I will be giving away 15 of these boards - please watch the video for details! :-)
(AD: This video includes a paid promotion for JLCPCB.)
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
[TIMESTAMPS]
00:00 PCB Overview
01:19 JLCPCB / Gerber + Assembly Files (Ad)
01:51 Giveaway
03:07 Schematic
04:52 PCB
05:47 Outro
ID: QIBvbJtYjWuHiTG0uCoK (Sponsored) IMU + USB-to-UART Pmod PCB for FPGA | KiCad + Giveaway - Phils Lab #26](https://i.ytimg.com/vi/UFAj4jJ74oA/mqdefault.jpg)
![PCB Chip Antenna Hardware Design - Phils Lab #139
Basics of integrating a PCB chip antenna into hardware designs. Tips on what to watch out for, antenna selection, matching, and PCB design. PCBs by PCBWay https://www.pcbway.com (AD: This video includes a paid promotion for PCBWay.)
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Patreon: https://www.patreon.com/phils94
[GIT]
https://www.github.com/pms67
[SOCIAL]
https://www.instagram.com/philslabyt
[LINKS]
Chip vs Trace Antennas: https://e2e.ti.com/cfs-filesystemfile/ key/CommunityServer-Discussions-Components-Files/307/6683.PCBvsTrace_5F00_ant.pdf
Six Hidden Costs in a Wireless SoC Design: https://www.silabs.com/documents/public/white-papers/six-hidden-costs-in-a-wireless-soc-design.pdf
Chip Antenna Selection: https://www.johansontechnology.com/chip-antenna-selection
5 Things to Consider When Choosing an Antenna: https://www.mobilemark.com/5-things-to-consider-when-choosing-an-antenna/
Antenna Selection Guide: https://www.ti.com/lit/pdf/swra161
Impedance Matching: https://www.analog.com/en/resources/technical-articles/radio-frequency-impedance-matching-calculations-and-simulations.html
Understanding Matching Networks: https://www.allaboutcircuits.com/textbook/radio-frequency-analysis-design/selected-topics/understanding-matching-networks/
w2aew YT Channel: @w2aew
Stitching Vias: https://resources.altium.com/p/everything-you-need-know-about-stitching-vias
[TIMESTAMPS]
00:00 Introduction
01:14 PCBWay (Ad)
01:47 Trace vs Chip Antenna
04:40 Pre-Certified Modules
05:58 Chip Antenna Selection
12:33 Matching, Tuning, Schematic
20:26 Footprint
22:31 PCB
31:53 Outro PCB Chip Antenna Hardware Design - Phils Lab #139](https://i.ytimg.com/vi/UQBMROv7Dy4/mqdefault.jpg)