ABOUT ME
I am a programmer/developer of more than 30 years experience, began as a raw electronics designer, and soon started assembly, and then C++, Win32 API (still my favorites), Java, Android apps, C# Desktop applications on security, C# ASP.NET classic, C# ASP.NET MVC (this one was a commercial success), and now I am busy with ASP.NET Core.
*DIFFICULT IF YOU HAVE NO PRIOR KNOWLEDGE OF IOT ELECTRONICS
[IMPORTANT NOTE: projects are easy to write but very difficult to teach. I made my best effort to explain, but we request you to make extra effort to learn it by your own.]
PLEASE NOTE THAT PROJECT IS ALREADY WRITTEN. ONLY EXPLANATION GIVEN.
This ASP.NET Core Project + ESP32 project allows us to control electrical switches from any place in the world to any other place. The project uses an ASPNET Core Web Api application to store the state of the switches. The ASPNET application passes the commands to an ESP32 IOT device programmed through C language. The source codes for (i) ASPNET Project, (ii) ESP32 C-language main.c file + Circuit Diagram have been provided as downloads.
Control electrical switches from any place in the world.
Simple circuit diagram that can be assembled on a breadboard. Soldering is NOT required.
ESP32 WROOM board costs $4 + three LEDs of any color + three 150 ohm resistors are the only components needed.
ASPNET Core WebApi based project.
How to upload this project to Azure App Service.
How to create an Azure PubSub Service.
Using the Azure PubSub Service API to push data to a connected ESP32 device.
A brief explanation of the ESP32 code + the circuit diagram has been provided in the linked videos.
(see the intro video for quick live demo)