tutorial - dl3ebb/OpenIot GitHub Wiki

Getting Started

This part of the Wiki provides an overview of the architecture of OpenIot and introduces you to its different components. This section will expand as new features are added in the future.

Architecture

Before we start with the code samples you may want to have a look into the OpenIot's architecture

Code Samples

To make the above description more tangible, let’s explore some example code. This guide assumes that you are familiar with PlatformIO and have some experience programming ESP32 hardware.

For our example, you will need an ESP32 development kit, an LED, a push button, and two resistors. The components are arranged on a breadboard, as shown in the following image:

OpenIot-Test_Steckplatine

In this setup:

  • The LED is connected through a 220 Ohm resistor between GPIO 32 and VDD.
  • The push button is connected to VDD, with a pull-up resistor to VCC. It is also connected to GPIO 25.

This simple configuration will help us demonstrate the main features of OpenIot.

Once you have completed the setup, you can proceed to the first example, which is available in the examples directory.

Examples

01 HelloOpenIot

02 Logging

03 Wifi

04 Mqtt

05 REST

06 Ntp

07 Webupdate

08 MqttStatus

09 SysLogLogger

10 Web Frontend