(Sponsored) Altitude Estimation with Pressure Sensors (STM32, Firmware + Hardware) - Phils Lab #68 @PhilsLab
(Sponsored) Altitude Estimation with Pressure Sensors (STM32, Firmware + Hardware) - Phils Lab #68  @PhilsLab
Uploaded July 2022 | Updated November 2026, 3 hours ago
Estimating altitude (relative) with pressure measurements via a barometric pressure sensor. All the way from theory with equations, to implementation on custom hardware and custom firmware written for an STM32 microcontroller. Utilising an I2C/SPI-based absolute pressure sensor (SPL06-001), showing how the driver code was written. Including basics on simple digital IIR low-pass filters.

(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: 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

[TIMESTAMPS]
00:00 Introduction

00:11 Altium Designer Free Trial (Ad)
00:34 JLCPCB & Design Files (Ad)

01:06 Altitude from Pressure
02:10 Measuring Pressure
03:16 Calculations
04:15 Hydrostatic Method
05:17 Filtering Measurements
06:39 1st Order IIR Filter

08:05 Hardware Overview
09:11 Tag-Connect Debug Header/Probe

09:51 Pressure Sensor Datasheet (SPL06-001)

10:54 STM32CubeIDE Set-Up
12:04 Implementation (main.c)
16:31 Sensor Driver (SPL06.c/SPL06.h)

17:36 Initial Interrupt/Firmware Test
19:50 Pressure (Raw and Filtered) Measurement Test
23:30 Altitude Estimation Test

ID: QIBvbJtYjWuHiTG0uCoK
(Sponsored) Altitude Estimation with Pressure Sensors (STM32, Firmware + Hardware) - Phils Lab #68Op Amp Theory and Design - Phils Lab #53Gigabit Ethernet Hardware Design - Phils Lab #143All-Pass Filter Software Implementation (STM32 DSP) -  Phils Lab #162(Sponsored) How PCBs are Manufactured & Assembled (PCBWay Factory Tour) - Phils Lab #120RC High-Pass Filters Explained - Phils Lab #122Gigabit Ethernet + FPGA/SoC Bring-Up (Zynq Part 4) - Phils Lab #99Notch Filters - Digital Audio Processing with STM32 #2 - Phils Lab #492-Layer PCB Design Tips - Phils Lab #137(Sponsored) Solid-State Power Amplifier Design for Guitar - Phils Lab #12(Sponsored) PCB & Schematic Tip: Net Ties - Phils Lab #69(Sponsored) How To Design a Breakout Board | JLCPCB | Altium Designer - Phils Lab #35
Phil’s Lab |

(Sponsored) Altitude Estimation with Pressure Sensors (STM32, Firmware + Hardware) - Phil's Lab #68

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER