Need some help to build 2.4tft Osciloscope

hi i am not a professional Arduino programmer i need some help to build the osciloscope project. the osciloscope working on 50Hz i need to add zoom to working for more higher frequency i had attached my Arduino file and video

Osciloscope.zip (1.81 MB)

TFT2.9.1.ino (2.54 KB)

Uno isnt fast enough for this kind of project. Reseach .. other boards

Extend your timebase so you’ve time to post your problem and sketch properly ..

the osciloscope working on 50Hz i need to add zoom to working for more higher frequency

How high do you need to go?

The standard Arduino can sample accurately to 15kHz* and above that you loose (unspecified) resolution. "Normally" the Nyquist limit is half the sample rate, but for an oscilloscope where you need to see the waveform/wave shape you probably need 10X the signal frequency so you should be able to get up to 1.5kHz.

...Personally I wouldn't try to build a general-purpose 'scope (or multimeter). The real oscilloscopes on my benches at work are 2 & 4 channels, they go from DC to 100MHz and from 10mV per division to 100V per division (positive or negative) and they have a variety of triggering options. (Plus several other "features".) It's very hard to build something like that. I'm also not a fan of those cheap little DIY kits or oscilloscope boards/adapters that connect to your computer.

If you need an oscilloscope for a special-limited purpose, such as being built-into a project, it might make sense to build your own. But if you need a tool/instrument for your workbench, I'd say buy one or go without. (I've been an electronics hobbyist for many years and I don't have a 'scope at home.)

  • I don't think you can loop a C++ program at 15kHz so you'll probably need to use assembly language, or possibly someone has already written a sampling library.