-
Notifications
You must be signed in to change notification settings - Fork 0
IoT
Dmitrii Hromtsov edited this page May 28, 2023
·
3 revisions
The IoT module functionality consists of sending a request to a specific company about specific supplier notifying that lunch has just been delivered. Functionality is implemented by sending an HTTP request to Backend module with a company secret token.
ESP8266MOD with nodemcu_v3 was used as it allows connecting to WiFi.
Outputs: 2 LEDs
- green (successful response)
- red (error response)
Inputs:
- 1 button - to send a request
Change WiFi ssid, password, url and pins as desired according to the scheme.
This version of code works with ESP32 and sends request to a dummyjson but the idea remains the same as you would just need to change variables values to make it work with the project. Nevertheless, it is possible to try out the idea without assembling a schema.