![11](https://private-user-images.githubusercontent.com/103739510/343892923-afe981d8-fbc1-49bd-92ae-dd7e217dc690.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3Mjk2NDYsIm5iZiI6MTcyNTcyOTM0NiwicGF0aCI6Ii8xMDM3Mzk1MTAvMzQzODkyOTIzLWFmZTk4MWQ4LWZiYzEtNDliZC05MmFlLWRkN2UyMTdkYzY5MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwN1QxNzE1NDZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03ZThiOTM0ZmZlNmQwMWI4ZWYzNGRkNWM5ODE1MjVhNDE3YWU0ZmQwZTE5ZjUyMTJjZjZiNWVlMmMyMzI0NDhiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.hN6-Js9Fpt0CxCH1rPdvFzUE8g3jXB5kDlWmgkRW_l4)
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"
}