ESP32 in general

Can your micro controller do this?

I get ideas from Random Nerd Tutorials and TechTutorialsx with help fro W3Schools.

The ESP32 can be a WiFi STA and an AP at the same time with the ability to tell which a request came from. I did a test with WebSockets slider changing the intensity of the built in LED On the IoT Redboard, Light blue for the STA page and light green for the AP page. Connected to both at the same time. Slider moved in sync on both.

I did a test with 2 servers and 2 sets of page files to 2 tabs on the Browser. Worked great.

I have not tried it ye (had sensor issue)t but there is an example of the ESP32 working with its mesh network and using one node to send the data to a WiFi page.

Because of FreeRTOS you can pin tasks to the core you want and have it communicate to other task with ques and semaphores.

Hope this inspires some fun projects.

Dale

Very cool! Feel free to share your code too if you’re comfortable

Here is a pasted together demo based on techtutorialsx.com examples. He does not care who does what with his examples but asks to be cited.

So this is 3 servers from constants sin .h files, from SD card and inline. You can select WIFi AP, STA or APSTA. So with 2 systems one on LAN and the other on the AP you can have 3 tabs open in each browser. This was tested with a RPi 4B4 and a RPi 4B8 and an IoT Redboard.

Please tell me what you think

Dale

ESP32_WiFi_Demo.zip (13.4 KB)