This program makes an oscilloscope, function generator and a spectrum analyser of your ESP32!
- Install the latest release of this program on your computer.
- Program your ESP32 with the firmware found here. This can be done using the Arduino IDE.
- You can modify the digital filter by modifying the method
digitalFilter
- You can modify the function generator by modifying the method
generateWave
- You can modify the digital filter by modifying the method
- Start the program, connect to your ESP32 and measure some signals!
The oscilloscope has two channels. Channel 1 is the signal that has been measured on the configured ANALOG_IN_PIN
and channel 2 is the same signal, but passed through the method digitalFilter
and thus is a filtered signal.
The function generator generates a signal on the configured ANALOG_OUT_PIN
. If you want to see this signal on the scope you must connect ANALOG_IN_PIN
and ANALOG_OUT_PIN
physically.
The spectrum analyser analyses the amplification on the set spectrum. For this to work, the ANALOG_OUT_PIN
and ANALOG_IN_PIN
should be connected. On the ANALOG_OUT_PIN
the set spectrum is generated and the amplification is measured on the ANALOG_IN_PIN
.
Please update and configure the COM-drivers as shown in the following image: