ESP8266 and ESP32 Arduino WiFi Oscilloscope Source Code

Electronics and Programming tutorials and projects

ESP8266 and ESP32 Arduino WiFi Oscilloscope Source Code

wifi oscilloscope

The “Ai Thinker ESP12” module has an ACD pin which works in range of 0V to 3.3V with 10 bits resolution (0-1023). The pin is between RST and EN. This pin is the input of WiFi Oscilloscope.

This project is available as ESP8266 WiFi Oscilloscope and ESP32 WiFi Oscilloscope.

The source code contains 4 files:

  1. ESP8266WiFiOscilloscope.ino – the main program
  2. AC.ino (autoconnect handler)
  3. AC.h (configuration headerfile)
  4. ScopePage.ino (Oscilloscope’s UI)

After upload run the program in “normal mode”.

Then in case you are using ESP12, the blue LED on the board would be turned on for 1 second then turns off. Then you’ll be able to see the module’s hot spot ssid via the WiFi networks in your PC or smart phone.

The default SSID is WiCardAC and the default password is 12345678. Connect and go to 192.168.4.1/config with a web browser.

In the “Modem Configuration” section, you’re able to view/edit the SSID and password of WiFi modem/router and then click on “Save” after inserting. The module would connect to the modem after about 30 seconds in case of validity of ssid and password.

  • This page is also available via the DHCP IP of the module.

In the “Device Hot Spot Configuration“ section, you can set the module hotspot’s SSID and password. Also you can set a password for the internal page with Secure Link section. (Example: the secure link is ABCD and the root page would be at 192.168.4.1/ABCD/ address)

The “Hidden HotSpot” button will set the module’s hot spot as hidden hotspot and the “Disable HotSpot when is connected to the modem” would disable the module’s hotspot, when is connected to the modem.

The WiFi Oscilloscope Page

This page is at the root address (192.168.4.1 or the router’s given IP) and shows the signal diagram.

The default sample rate is 10 Ksps (suitable for up to 2KHz signals). With click on the sample rate button (10KSPS), the sample rate decreases to 500 sps whch is suitable for blew 100Hz signals.

The project is available in the following:

 

2 Responses

  1. masood says:

    wonderful submit, very informative. I’m wondering why
    the other experts of this sector do not notice this. You
    must proceed your writing. I’m confident, you have a huge readers’ base already!

  2. p says:

    This is very interesting, You are a very skilled blogger.
    I have joined your feed and look forward to seeking more of
    your excellent post. Also, I’ve shared your site in my social networks!

Leave a Reply

Your email address will not be published. Required fields are marked *

four × five =