Skip to content

ESP32 Basic Monitor - A very first approach to control ESP32 remotely.

Notifications You must be signed in to change notification settings

cadu-miranda/esp-32-basic-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 Basic Monitor (v.0.2.10.16)

  • PlatformIO VSCode extension is needed for this project to run.

A very first approach to control ESP-32 remotely

With this project, you can perform:

  • Digital Read / Write -> Light up an LED or read the state of a button;
  • Analog Read / PWM Output -> Read a potenciometer/trimpot value or mudule n LED pulse width;
  • Sensor Read (DHT11, BMP280, LDR and much more).

To run the ESP-32 code, open a new PlatformIO CLI in the microcontroller folder and type:

> pio run --target upload

To run the server, open a new terminal in the server folder and type:

> yarn && yarn start
  • Note that you should run two different VSCode instances (two different windows): one for the server and other for the webpage.

To run the Webpage and monitor/control your ESP-32, install the "Live Server" extension for VSCode, go to (frontend > src > index.html) and click the "Go Live" button in the bottom right corner (A webpage should be opened in few seconds and it will access the ESP-32 Basic Monitor page).

Routes

ESP32 server output has two main routes - one for fast (up to 1s) requests and other for slow (more than 1s) requests.

  1. {esp32_ip}/slow_data_readings (For slow data readings)
  2. {esp32_ip}/fast_data_readings (For fast data readings)
  • MCU: ESP32 Dev Module

About

ESP32 Basic Monitor - A very first approach to control ESP32 remotely.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published