Skip to content
Dmitrii Hromtsov edited this page May 28, 2023 · 3 revisions

Functionality

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.

Scheme

Outputs: 2 LEDs

  • green (successful response)
  • red (error response)

Inputs:

  • 1 button - to send a request

image

How to connect

Change WiFi ssid, password, url and pins as desired according to the scheme.

Demo

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.

Demo project (WokWi.com)

Clone this wiki locally