Uploaded February 2026 | Updated September 2026, 2 weeks ago
Learn how to build a digital twin of the STM32 Nucleo board using Zephyr OS and QEMU — no physical hardware required. Engineer Ari Mahpour walks you through creating a fully virtual PCB target, injecting signals into ADC channels, and reading back telemetry over serial, all running in emulation on your local machine. This approach is ideal for distributed embedded teams who need to develop and test firmware before boards return from fabrication.
Take your embedded testing workflow to the next level by reusing the same pytest integration test scripts across both virtual and physical targets. Ari demonstrates how to abstract your test infrastructure so that swapping a QEMU-based digital twin for a real Nucleo board requires minimal changes — making hardware-free CI testing a practical reality for any embedded project.
⚙️ Resources from this Video:
- Building Zephyr OS Applications with the Nucleo H723ZG: youtu.be/PxH_xcbKxhM
- Our Zephyr & Nucleo STM32 Nucleo Playlist: youtube.com/playlist?list=PLtZurp7-0DcWAQO3I2v7hFfUYhmHXIJDf
- Ari's Zephyr Nucleo H723 Github: github.com/amahpour/zephyr-nucleo-h723zg-example/tree/main
- Ari's Zephyr Nucleo H723 Github Architecture: github.com/amahpour/zephyr-nucleo-h723zg-example/blob/main/docs/architecture.md
✨ Don't Miss Out: Subscribe to our channel for more electronics, supply chain, and industry content: youtube.com/@Octopart?sub_confirmation=1
⚙️ Browse Octopart for Parts & Tech News: octopart.com
⚙️ TikTok: tiktok.com/@octopart_official
⚙️ Instagram: instagram.com/octopart
#ZephyrOS #EmbeddedSystems #DigitalTwin
0:00 Intro
01:46 Virtualization Benefits
03:53 Target Emulation
05:59 Firmware Setup ️
09:01 ADC Set Command
11:15 ADC Driver Overview
13:26 Virtual Target Command
15:11 Firmware Board Config
17:18 Serial Testing Demo
19:44 Integration Test Run
21:22 Voltage Sweep Test
23:35 Abstract Class API
26:53 Device Under Test ️
28:47 ADC Set Command
30:45 Digital Twin Summary
Learn how to build a digital twin of the STM32 Nucleo board using Zephyr OS and QEMU — no physical hardware required. Engineer Ari Mahpour walks you through creating a fully virtual PCB target, injecting signals into ADC channels, and reading back telemetry over serial, all running in emulation on your local machine. This approach is ideal for distributed embedded teams who need to develop and test firmware before boards return from fabrication.
Take your embedded testing workflow to the next level by reusing the same pytest integration test scripts across both virtual and physical targets. Ari demonstrates how to abstract your test infrastructure so that swapping a QEMU-based digital twin for a real Nucleo board requires minimal changes — making hardware-free CI testing a practical reality for any embedded project.
⚙️ Resources from this Video:
- Building Zephyr OS Applications with the Nucleo H723ZG: youtu.be/PxH_xcbKxhM
- Our Zephyr & Nucleo STM32 Nucleo Playlist: youtube.com/playlist?list=PLtZurp7-0DcWAQO3I2v7hFfUYhmHXIJDf
- Ari's Zephyr Nucleo H723 Github: github.com/amahpour/zephyr-nucleo-h723zg-example/tree/main
- Ari's Zephyr Nucleo H723 Github Architecture: github.com/amahpour/zephyr-nucleo-h723zg-example/blob/main/docs/architecture.md
✨ Don't Miss Out: Subscribe to our channel for more electronics, supply chain, and industry content: youtube.com/@Octopart?sub_confirmation=1
⚙️ Browse Octopart for Parts & Tech News: octopart.com
⚙️ TikTok: tiktok.com/@octopart_official
⚙️ Instagram: instagram.com/octopart
#ZephyrOS #EmbeddedSystems #DigitalTwin
0:00 Intro
01:46 Virtualization Benefits
03:53 Target Emulation
05:59 Firmware Setup ️
09:01 ADC Set Command
11:15 ADC Driver Overview
13:26 Virtual Target Command
15:11 Firmware Board Config
17:18 Serial Testing Demo
19:44 Integration Test Run
21:22 Voltage Sweep Test
23:35 Abstract Class API
26:53 Device Under Test ️
28:47 ADC Set Command
30:45 Digital Twin Summary










