/iiot-tools

This repository tries to keep order on many IIoT code examples using Arduino IDE using the ESP32 as the main device.

Primary LanguageC++

Industrial Internet of Things Tools

This repository tries to keep order on many Industrial Internet of Things (IIoT) code examples using Arduino IDE as the main software development and the ESP32 as the hardware device. Also there are some examples using Node-RED as a way to show full integration with a gateway and its communications.

Each of the referenced examples will consist of a simple code in Arduino IDE format .ino that will try to auto-explain the way you can reuse the code in other and more complex projects. Sensors and outputs will also contain information about the datasheet and its connection scheme to the ESP32.

All the examples are ordered in the following groups. Navigate through them and try them all!

Sensors Outputs Communications System Projects
Description Code Docs
DHT How to integrate a digital DHT temperature sensor?
DS18B20 How to integrate a digital DS18B20 temperature sensor?
TMP36 How to integrate a analog TMP36 temperature sensor?
Description Code Docs
PZEM004Tv30 How to integrate a PZEM004Tv30 electricity current sensor?
SCT-013-30 How to integrate a SCT-013-30 electricity current sensor?

Others

Description Code Docs
Button How to integrate a button?
Ultrasounds How to integrate an ultrasounds sensor?
Foto Resistor How to integrate an analog foto resistor sensor?
Humidity - DHT How to integrate a digital DHT humidity sensor?
GPS How to integrate a GPS sensor using TinyGPS library using Serial connection?

[Go to top]

Description Code Docs
Basic How to integrate a basic LED light?
RGB How to integrate an RGB LED light?
Description Code Docs
SDD1306 How to integrate a OLED Screen using SDD1306 library?
U8g2 How to integrate an OLED Screen using U8g2 library?

[Go to top]

Description Code Docs
Basic How to connect to a WiFi router as a client and scan the WiFi area?
Acces Point How to create a WiFi Acces Point?
HTTP Server How to create a simple HTTP Webserver?
Description Code Docs
Publish How publish a string or a json using MQTT protocols over WiFi?
Subscribe How subscribe to a topic and recieve information from a MQTT Broker over WiFi?
Description Code Docs
Scanner How to scan the bluetooth space area?
Server How to build a bluetooth server?
Client How to connect to a bluetooth as a client?

[Go to top]

Description Code Docs
Basic Some basic examples to understand how C++ works using Arduino IDE
Low Power Some basic examples to understand how ESP32 works in deep sleep mode
Multi Tasks Some basic examples how to use more than one simultaneous task

[Go to top]

Projects

Description Dependancies Difficulty

[Go to top]

Tested Hardware

  • ESP32 Dev Kit V1 - Info
  • Heltec V2 (ESP32) - Info

Software

Contributors