Skip to content

Latest commit

 

History

History

ESP32_softAP

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
template thumbnail language tags
true
./thumbnail.png
en
Arduino

Name of the file

Level :

What does it do ? ✨

This turns your ESP32 into a soft access point which means it is its own wi-fi network but also a server inside this network. Due to this you can connect on this local network and exchange HTTP messages with your ESP32.

What hardware is needed ? 💾 🔌

  • an ESP32 dev board

Software dependencies 🌈 📂

How to run ? 🚀

Use your Arduino IDE to upload the code to your board. Then check the console to see which name the ESP's network has and the IP address within this network. At this point you can connect to this network, then open a web browser like Google Chrome or Mozilla Firefox and input the IP into your address bar.

How to modify ? 🔩 🔨

These lines are where you can change the name of your local network

const char* ssid     = "basic_softAP_example";

The ESP will send you a webpage with a button when you query it. When the button is pressed the ESP will execute the buttonPressed() function.

Don't worry about the IP. In this config, the ESP will always have the 192.168.4.1 address. More Info

Be Careful ⚠️

In this configuration both the ESP32 and the machine you'll connect on its network won't have access to the Internet.

Additional resources 📄 📗

A very good website with ESP32 related tutorials : https://randomnerdtutorials.com/