Introduction: Arduino XY Display on a Oscilloscope Shield

Picture of Arduino XY Display on a Oscilloscope Shield

Over the years I have often taken a oscilloscope displaying logo's and text using the x y mode to events my Makerspace has been helping at. Normally driving it using the PWM pins on a Ardiuno and a RC circuit to smooth out the jitter.

A couple of years ago i came across an excellent youtube video by Alan Wolke, in which he used a R2R ladder as DAC this improved refresh speed and overall enabled the display of a more detailed image. He later improved on this using code from Bob at VintageTek. I have included links to both these invaluable youtube videos below.

#144: Use Arduino Uno to create spinning XY graphic on an Oscilloscope

#164: More XY Oscilloscope graphics, VintageTEK and how projects evolve

Step 1: Schematic

Picture of Schematic

The circuit is pretty much a direct copy of Alan Wolke's but I opted to just a R2R array as apposed to making it out of individual resistors. This was largely due to laziness and not wanting to solder all those resistors in!

Step 2: Prototype

Picture of Prototype

Quickly after seeing the video I upgrade my solutions using a protoboard shield. This served us well and was used at many events but whilst it worked it was a little fragile, So I decided to make life easier and build a PCB version of the shield. This would make It simpler to set up and improve reliability.

Step 3: PCB

Picture of PCB

To be honest designing a PCB was probably overkill, and I did so not least as a learning experience. I opted to go with BNC connectors as they are simple and always at hand. If you opted for just connecting probes directly you should be able to omit the capacitors as the probes should have enough capacitance themselves.

Step 4: Parts & Assembley

Picture of Parts & Assembley

The following is a list of parts you will require to build the shield.

  • 2 x AMP 5227161-1 BNC Coaxial, Right Angle Jack, Through Hole Right Angle, 50 ohm Connectors
  • 2 x BOURNS R2R 10 kohm, SIP, Bussed, 4300R Series, 10 Pins Resistors
  • 2 x KEMET C317C100J1G5TA Multilayer Ceramic Capacitor, Gold Max, 10 pF, Goldmax, 300 Series
  • 0.1 pitch Pin Header
  • PCB

You will also require solder and maybe flux to assemble.

To use it you will need

  • Arduino (I used an Uno)
  • 2 x 50ohm BNC to BNC cables
  • Oscilloscope with X Y Mode

Step 5: Code

Picture of Code

Rather than reinvent the wheel I have used the code suggested on Alan's youtube post. It really does a very good job! You can download it here.

I have since created a few extra displays.

Step 6: Examples

Picture of Examples

A couple examples of the type of things you could display on your scope. Animation is also possible but I have not yet tried this.

Step 7: Conclusion

Picture of Conclusion

In conclusion a nice fun little project. I have plans on how i might adapt this going forward but going to keep this a secret for now.

Still not sure I got the correct value for the capacitors if I get chance I might try a few other values.


jerry84302 (author)2018-01-09

I would like to know if you are able to sell these shields, or if you know where you can get one. I would like to play with it, and yours looks really neat.

I had not intended in selling them but as there is interest I will list them on Tindie. I am of course happy to release the eagle files so you can order your own pcb's.

that would be great. could you let me know once you add it, and the name to search for. i would like to get one for me and another for my father. thanks, jerry

harrimand (author)2018-01-06

Great Project. I thought it would be good to be able to preview the image on the PC so I wrote a small python program using the Processing3 IDE that will read the XY point pairs from a file and plot it in a window. I posted the program on github. My curiosity is... Did you use a program to generate the XY point pairs from an image? I wasn't sure about posting the picture that was generated without your permission. I would be happy to if you like.

Nice idea that, sure it will come in useful. I am currently working on something the other way around, I might well use this for my testing. Good work!

Kirand1 (author)2018-01-02

where did you get you pcbs made, the project looks really good.

High Voltage Fun (author)Kirand12018-01-04

I had the PCB's made by Seeed Studios.

I have used them a few times and they are hard to beat.

andybiker (author)2017-12-31

Nice Tek 465. I gave mine away two years ago after having it for 25 years. superb.
good job on the XY plotting. how about a clock next?

Yes, great little analogue scope, only issue I have with it is a dodgy intensity pot, I will get around to fixing it some day.

I like the clock idea, that could compliment what I have been working on nicely.

3366carlos (author)2017-12-31


About This Instructable




Bio: An IT Professio​nal from the West Midlands, with an interest in history, food, wine and all things technical​.
More by High Voltage Fun:Arduino XY Display on a Oscilloscope ShieldUSB Powered RGB LED Christmas TreeGas Bottle Hot Smoker
Add instructable to: