
OLA UNO is an IoT project designed to facilitate hands-on learning in the field of Internet of Things (IoT) π. The project utilizes an ESP32 microcontroller board π€, known for its versatility and capabilities in IoT applications. Two LEDs π‘π‘ are integrated into the setup, which are controlled via an Express server π₯οΈ.
The architecture involves a client-server model where a React-based client interface π± communicates with the Express server. Through HTTP protocol π, React sends commands to the Express server, which in turn interacts with the ESP32 device π€ to toggle the LEDs on and off π‘π based on user input. This setup not only demonstrates basic IoT functionalities like remote control and data exchange but also provides a practical example of integrating hardware, server-side logic, and frontend development in IoT projects π.
API | EndPoint | Description |
---|---|---|
Check Server |
/ |
Checks server status. π |
Send Data |
/send-data |
Sends data to the ESP32. π€ |
Trigger Bulb A |
/triggerBulbA |
Toggles Bulb A on the ESP32. π‘ |
Trigger Bulb B |
/triggerBulbB |
Toggles Bulb B on the ESP32. π‘ |
Get HTML |
/get-html |
Retrieves HTML content. π |
Get Status |
/get-status |
Retrieves the status from the ESP32. π |
Say Hello |
/say-hello |
Sends a hello message to the ESP32. π |
Status | Value | Description |
---|---|---|
Online |
200 |
server Online |
{
"message": "server Online"
}