Internet of things (IoT)

Internet of things (IoT) is a a network of smart devices, normally connected via IP network, without requiring human intervention.

The purpose of IoT is to enable remote monitoring and execute automation using smart devices and appliances.

Smart devices can have one or more features, like:
  • Sensors (e.g. temperature, humidity, pressure, voltage, current, water presence, gas presence,...)
  • Actuators (e.g. motors, relays, electric valves,...
  • Lights (e.g. led bulbes, led stripes,...)
  • Displays (e.g. dot matrix displays, lcd displays, oled displays,...)
  • Switches (e.g. push buttons, toogles,...)
  • Warning devices (e.g. buzzers, horns,...)
  • Security devices (e.g. cameras, locks,...)
  • Medical devices (e.g. heart monitor,...)


Smart devices communicates using protocols, usually based on IP protocol, like following: Some devices can support non IP protocols, e.g. Non-IP Data Delivery (NIDD) defined by 3GPP.

Apart from the smart devices, an IoT solution uses a network and contains also other components, depending on protocols and functionalities.

A web server is neeeded if the solution is based on HTTP. The web server can provide a dashboard to view the status of IoT devices and can also provide an automation logic to support advanced IoT functionalities.

An MQTT broker is required if the solution is based on MQTT. The implementation of automation requires an additional server, an example is the Node.js server together with Node-RED to program the automation flows.

IoT example based on HTTP

It is possible to implement a wide range of Internet-of-Things (IoT) applications with ESP32, thanks to its specific features. An example of IoT is to provide temperature and umidity via wireless interface. This example is based on the following items:
  • IoT device, it measures temperature and umidity and sends to web server via Wifi
  • Web server, it stores information received from IoT device and renders html page to web client
  • Any web browser, it displays the temperature and umidity using the web server
  • Remote display, it shows the temperature and umidity on an OLED display
The following figure shows the demo set-up:

demo set-up Iot Device Remote Display

Demo

Web browserTemperature and humidity displayed in a web browser
Remote display previewTemperature and humidity in a Remote display


Share Share on Facebook Share on Twitter Bookmark on Reddit Share via mail
Creative Commons Attribution-Share Alike | Terms and conditions | Privacy policy