How to Draw Picture With Esp32 to a RIGOL DS1054z Digital Oscilloscope

by Laszlo_s Electronic Designs in Circuits > Electronics

782 Views, 1 Favorites, 0 Comments

How to Draw Picture With Esp32 to a RIGOL DS1054z Digital Oscilloscope

ESP32 draw a picture to DS1054Z oscilloscope

I drawn picture to oscilloscope years ago but that time the oscilloscope was an analog type and I used an arduino nano board.

This time I tried it with a RIGOL DS1054Z digital oscilloscope and Esp32 devkit.

Supplies

RIGOL DS1054Z.png
5195-S7T5aL._AC_.jpg

Only this 2 hardwares you need:

-RIGOL DS1054Z digital oscilloscope

-ESP32 WROOM-32 DEVKIT

or hopefully any other ESP32 and any other digital oscilloscope


How To

1.png
2.png
3.png
4.png

If you are already here I assume you don't need tutorial how to install arduino IDE so skip it.

From here you can download all the files you need:

https://github.com/laszlokovacs25/Draw-picture-to-digital-oscilloscope/


You will need python running on your PC. how to install python3, there are 1000s of tutorials available on internet, I don't waste your time here with that.


If that's done too, you are pretty much in the finish line.

-Open the drawing.py file

-Draw the picture you like

-Double click to the top left corner icon to export the picture to array

-Open the code.txt file

-Copy everything

-Open the oscilloscope.ino file

-Replace the 5th 6th 7th line with the copied code

-Upload

Troubleshooting

Here are some things to look out for:

-ESP32 DAC pinouts are 25, 26

-Oscilloscope settings

(you can find these settings in the youtube video on the top of this page)

-Wire connections