, , ,

Draw on an oscilloscope with Arduino

Reading Time: 2 minutes

Draw on an oscilloscope with Arduino

Arduino TeamDecember 27th, 2018

If you’ve ever wanted to plot shapes using an oscilloscope, YouTuber Electronoobs reveals the tricks in his latest video. In it, he draws a Christmas tree, along with a few other shapes, and while that holiday is now past, there’s always the 2019. Of course, you don’t have to wait, as these concepts can be applied to anything you like throughout the year!

In the video, Electronoobs uses an Arduino Nano to produce PWM signals on two channels, filtering each of them with a capacitor and resistor. As he explains, shapes must be fairly simple, and end in the same place they started. Even with these restrictions, once the oscilloscope it turned to x/y plot mode and the signal is tuned in, the results are quite good.

In this tutorial we will use two pins from the Arduino to create fast PWM signals. With a small filter, we change the amplitude of that signal according to the width of the PWM pulse. By that, we can draw shapes on the oscilloscope when in XY mode.

Code for the project can be found in Electronoobs’ write-up here.

Website: LINK

Facebook Comments

What do you think?

26 points

Total votes: 0

Upvotes: 0

Upvotes percentage: 0.000000%

Downvotes: 0

Downvotes percentage: 0.000000%

Written by Quad Oner


Die denkwürdigsten Spielmomente des Jahres 2018 – von PlayStation-Entwicklern ausgewählt

Warhammer: Vermintide 2: ​​Back to Ubersreik DLC Available Now on Xbox One