Skip to content

siliconvalley4066/ESP32TFTOscilloscope

Repository files navigation

ESP32TFTOscilloscope

ESP32 Oscilloscope for 320x240 TFT LCD and wireless WEB display

This displays an oscilloscope screen both on a 320x240 TFT LCD and also on the WEB page simultaneusly. The settings are controled on the touch screen of the TFT LCD and also on the WEB page. You can view the oscilloscope screen on the WEB browser of the PC or the tablet or the smartphone.

Specifications:

  • Dual input channel
  • Input voltage range 0 to 3.3V
  • 12 bit ADC 250 ksps single channel, 10 ksps dual channel
  • Measures minimum, maximum and average values
  • Measures frequency and duty cycle
  • Spectrum FFT analysis
  • Sampling rate selection
  • Built in Pulse Generator
  • Built in DDS Function Generator

  • Develop environment is:
    Arduino IDE 1.8.19
    esp32 by Espressif Systems version 2.0.11
    CPU speed 240 MHz

    Libraries:
    TFT_eSPI 2.5.0
    arduinoFFT by Enrique Condes 2.0.0
    arduinoWebSockets from https://github.com/Links2004/arduinoWebSockets

    You need to customize the TFT_espi library by referring to the TFT_espi folder here.

    10usec/div range is 10 times magnification at 250ksps.
    20usec/div range is 5 times magnification at 250ksps.
    The magnification applies sin(x)/x interpolation.

    For WEB operations, edit the source code WebTask.ino and replace your Access Point and the password.

    Edit:
    const char* ssid = "XXXX";
    const char* pass = "YYYY";
    To:
    const char* ssid = "Your Access Point";
    const char* pass = "Your Password";
    

    For WEB only display, in case no LCD display is connected, un-comment

    //#define NOLCD
    

    in the file GOscillo.ino.

    Schematics:

    About

    ESP32 Oscilloscope for TFT LCD and wireless WEB display

    Resources

    License

    Stars

    Watchers

    Forks

    Packages

    No packages published