Thanyasit / ESP32_Web_Server_with_WiFi_and_ADC

ESP32 WebServer with WiFi(Access Point), ADC and LED by ESP-IDF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP32 Web Server with WiFi and ADC

Description

This is a simple example that demonstrates how to create GET and POST handlers for the web server on ESP32 using the ESP-IDF framework. The example contains code to create a Wi-Fi softAP, an HTTP server, and ADC read value.

Prerequisites

ESP32 development board ESP-IDF v4.3 or later

Setup

Clone this repository or copy the code from main.c file. Configure the Wi-Fi SSID and password in menuconfig. Compile and flash the code to your ESP32 development board.

Usage

Connect to the Wi-Fi network created by the ESP32. Open a web browser and enter the IP address of the ESP32 in the address bar. The web page will display the current ADC reading and a slider to change the ADC value. Change the slider position and click on the "Set Value" button to update the ADC reading.

License

This code is licensed under the MIT License. See the LICENSE file for details.

About

ESP32 WebServer with WiFi(Access Point), ADC and LED by ESP-IDF

License:MIT License


Languages

Language:C 80.3%Language:HTML 12.1%Language:CMake 4.6%Language:Makefile 3.0%