# Really basic oscilloscope

**URL:** https://forum.makecode.com/t/really-basic-oscilloscope/10806
**Category:** Show & Tell
**Created:** [November 9, 2021, 5:38pm UTC](https://forum.makecode.com/t/really-basic-oscilloscope/10806 "2021-11-09T17:38:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![paul](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@paul](https://forum.makecode.com/u/paul)
#### Post date: [November 9, 2021, 5:38pm UTC](https://forum.makecode.com/t/really-basic-oscilloscope/10806/1 "2021-11-09T17:38:03Z")

</div>

Just for fun - probably not a substitute for spending a thousand dollars on a real one. Zoom into waveforms, being read from the Meowbit pins.

> **[osc](https://arcade.makecode.com/40726-26979-11662-36131)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

> **[GitHub - paulconnell/osc: A MakeCode project](https://github.com/paulconnell/osc)**
>
> A MakeCode project. Contribute to paulconnell/osc development by creating an account on GitHub.

Brief video showing it reading a 0-3.3V signal twiddling a potentiometer.

> **[Makecode Arcade Meowbit oscilloscope](https://www.youtube.com/shorts/qnqJk1KiLL8)**

up/down buttons change the y-scale  
left-right buttons change the x-scale  
A/B buttons offset the wave up and down the screen

By default it’s in ‘simulation’ mode where you can look at a precalculated sine wave, if you don’t have a circuit to actually connect to the pins or you don’t want to.

Press Menu to begin reading voltage on pin 0 instead.  
Tie GND to ground otherwise you’ll get floating voltage noise probably.

ENSURE the voltage is only in the 0-3.3V range. You will probably harm your device if you don’t.

---

<div class="post-metadata">

### Author: ![paul](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@paul](https://forum.makecode.com/u/paul)
#### Post date: [November 9, 2021, 8:41pm UTC](https://forum.makecode.com/t/really-basic-oscilloscope/10806/2 "2021-11-09T20:41:08Z")

</div>

The sampling is pretty poor btw. It completely suspends sampling the voltage while it renders, so it’s glitchy when cycles repeat. It was only a quick hack to show the kids what a ‘bouncy’ push button looks like, and to show voltage sweeping with the potentiometer. Might try and make it a bit smarter some time, sampling in a background thread, that kind of thing.

---

<div class="post-metadata">

### Author: ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)
#### Post date: [November 15, 2022, 5:45pm UTC](https://forum.makecode.com/t/really-basic-oscilloscope/10806/3 "2022-11-15T17:45:19Z")

</div>

I don’t know what an oscilliscope is but it was very fun to play with and cool visuals!

---

<div class="post-metadata">

### Author: ![isoffline](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/isoffline/32/8791_2.png) [@isoffline](https://forum.makecode.com/u/isoffline)
#### Post date: [November 15, 2022, 11:22pm UTC](https://forum.makecode.com/t/really-basic-oscilloscope/10806/4 "2022-11-15T23:22:48Z")

</div>

well its basically wait im dumb nevermind
