ESP12 (ESP8266) Arduino WiFi Oscilloscope Source Code

WiCard - Smart Programmable WiFi Controller Module

ESP12 (ESP8266) 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.

The link of project in our online store: ESP12 (ESP8266) Arduino WiFi Oscilloscope Source Code

This project contains two folders ESP8266WiFiAutoConnect (the autoconnect source code) and PHP Script (For server use option).

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.

The WiFi autoconnect configuration page:

wifi oscilloscope config

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 link of project in our online store: ESP12 (ESP8266) Arduino WiFi Oscilloscope Source Code

 

Leave a Reply

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

one × one =