<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/simple-diy-stm32-oscilloscope-project-xovmr6gnr" -->

---
title: Simple DIY STM32 Oscilloscope Project | daily.dev
description: BTTLab demonstrates part one of a series building a DIY single-channel oscilloscope using the built-in ADC of an STM32F207 microcontroller, achieving 2 MSPS at...
canonical: https://daily.dev/posts/simple-diy-stm32-oscilloscope-project-xovmr6gnr
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Simple DIY STM32 Oscilloscope Project | daily.dev
og:description: BTTLab demonstrates part one of a series building a DIY single-channel oscilloscope using the built-in ADC of an STM32F207 microcontroller, achieving 2 MSPS at...
og:url: https://daily.dev/posts/simple-diy-stm32-oscilloscope-project-xovmr6gnr
og:image: https://api.daily.dev/og/posts/xovmr6gnr.png
og:image:alt: Simple DIY STM32 Oscilloscope Project
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Simple DIY STM32 Oscilloscope Project

**[Hackaday](https://daily.dev/sources/hackaday)** · 2 min read · 0 upvotes · 0 comments

## Summary

BTTLab demonstrates part one of a series building a DIY single-channel oscilloscope using the built-in ADC of an STM32F207 microcontroller, achieving 2 MSPS at 12-bit resolution. The build is documented via a YouTube video and GitHub repository, using the ST HAL for firmware. The post notes limitations like the ADC's 0-3.3V input range, making AC measurement tricky, and suggests the firmware could be adapted to other STM32 MCUs with attention to per-family ADC performance differences.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://hackaday.com/2026/08/19/simple-diy-stm32-oscilloscope-project>

## Questions this post answers

### What sampling rate and resolution can the STM32F207's built-in ADC achieve for a DIY oscilloscope?

The STM32F207's built-in ADC can achieve 2 MSPS at 12-bit resolution when used to build a single-channel oscilloscope. This is far below dedicated oscilloscope hardware like a Rigol DS1054Z which hits around 1 GSPS, but it is sufficient for basic, low-frequency circuit and protocol debugging.

_daily.dev surfaces hands-on microcontroller builds like this for engineers weighing MCU ADCs against dedicated hardware._

### Why can't I directly measure AC voltage with an STM32 ADC input?

STM32 ADC inputs are rated for a specific voltage range, typically 0 to 3.3V when the MCU runs off 3.3V power, so feeding in higher or negative voltages such as raw AC signals risks damaging the chip. Measuring AC requires additional front-end conditioning circuitry to shift and clamp the signal within the safe input range before it reaches the ADC.

_Developers building analog front-ends for microcontrollers can find similar hardware debugging write-ups on daily.dev._

## Similar posts on daily.dev

- [A TV Transmitter From An STM32](https://daily.dev/posts/a-tv-transmitter-from-an-stm32-pd6jausvj) · Hackaday · 0 upvotes · 0 comments
- [Hackaday Europe 2026: High Performance SDR On The Cheap](https://daily.dev/posts/hackaday-europe-2026-high-performance-sdr-on-the-cheap-msasjurah) · Hackaday · 0 upvotes · 0 comments
- [How bad can a $2.97 ADC be?](https://daily.dev/posts/how-bad-can-a-2-97-adc-be--ryvinidjh) · Hacker News · 5 upvotes · 0 comments

---

Tags: [#embedded](https://daily.dev/tags/embedded), [#stm32](https://daily.dev/tags/stm32)

[View this post on daily.dev](https://daily.dev/posts/simple-diy-stm32-oscilloscope-project-xovmr6gnr)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Simple DIY STM32 Oscilloscope Project","url":"https://daily.dev/posts/simple-diy-stm32-oscilloscope-project-xovmr6gnr","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/simple-diy-stm32-oscilloscope-project-xovmr6gnr"},"datePublished":"2026-08-19T11:33:27.822Z","dateModified":"2026-08-19T11:33:48.557Z","description":"BTTLab demonstrates part one of a series building a DIY single-channel oscilloscope using the built-in ADC of an STM32F207 microcontroller, achieving 2 MSPS at...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/599b2f35bbafe3361966d6a679334600?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/599b2f35bbafe3361966d6a679334600?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hackaday","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hackaday","logo":"https://media.daily.dev/image/upload/s--JhDfhy70--/f_auto,q_auto/v1767541814/logos/hackaday","url":"https://daily.dev/sources/hackaday"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/simple-diy-stm32-oscilloscope-project-xovmr6gnr","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"embedded,stm32","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hackaday","item":"https://daily.dev/sources/hackaday"},{"@type":"ListItem","position":3,"name":"Simple DIY STM32 Oscilloscope Project"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/simple-diy-stm32-oscilloscope-project-xovmr6gnr#faq","mainEntity":[{"@type":"Question","name":"What sampling rate and resolution can the STM32F207's built-in ADC achieve for a DIY oscilloscope?","acceptedAnswer":{"@type":"Answer","text":"The STM32F207's built-in ADC can achieve 2 MSPS at 12-bit resolution when used to build a single-channel oscilloscope. This is far below dedicated oscilloscope hardware like a Rigol DS1054Z which hits around 1 GSPS, but it is sufficient for basic, low-frequency circuit and protocol debugging. daily.dev surfaces hands-on microcontroller builds like this for engineers weighing MCU ADCs against dedicated hardware."}},{"@type":"Question","name":"Why can't I directly measure AC voltage with an STM32 ADC input?","acceptedAnswer":{"@type":"Answer","text":"STM32 ADC inputs are rated for a specific voltage range, typically 0 to 3.3V when the MCU runs off 3.3V power, so feeding in higher or negative voltages such as raw AC signals risks damaging the chip. Measuring AC requires additional front-end conditioning circuitry to shift and clamp the signal within the safe input range before it reaches the ADC. Developers building analog front-ends for microcontrollers can find similar hardware debugging write-ups on daily.dev."}}]}
```

