Download App

AirNgin Step-by-Step Roadmap: Stages for Connecting Manufacturers to the Platform

Step by Step to Connecting Your First Device with a Network Cable and the STM32 Microcontroller

رود مپ ایرانجین

Sample Projects

⚠️ Note:
To learn how to connect microcontrollers via Wi-Fi (wireless) instead of the Ethernet network port and cable, you can refer to the tutorial below:

📘 ESP32 + Wi-Fi Connection Tutorial

Note: In the previous roadmap, we provided the tutorials entirely using ESP32 microcontrollers. However, due to requests from those using the Ethernet port (network cable), we've also provided this option.

🔹 It's better to first watch all the tutorials up through the Arduino Library and Code Documentation section, then come back up and watch this tutorial, and then continue watching the rest of the tutorials.

🔹 Since all the main points were already fully covered in the ESP32 tutorials, we've recorded – as a separate clip alongside the other tutorials – only the part that differs from the previous case: getting the information the device needs from the app to connect to the MQTT broker when connecting via a network cable.

🔹 You can watch this replacement section below. In fact, this part changes only a small portion of the overall tutorial, and the rest remains unchanged.

🔹 Also, dedicated tutorials specifically for STM32 combined with the Ethernet port will soon be completed and published.

Introduction

In these videos, we start from the beginner level so that, using comprehensive, step-by-step learning resources, you can easily connect your device to the Internet of Things in less than 24 hours.

After completing the initial steps and connecting your first device, in the following steps we will teach you how to implement innovative and diverse features in your devices, so that in addition to remote control, you can also offer special and distinctive services.

Note: You should watch all the videos, as some points may be mentioned outside the video titles.

Required Materials

What Is AirNgin and Important Notes

First, we'll give you the essential, key information so that, in addition to becoming familiar with the necessary points, you'll also get acquainted with the unique capabilities and features of the AirNgin platform.

Getting Ready to Start

Watch the remaining instructions, which are important to get started, and install your Android simulator.

Registering a Device and Creating a Guide File

Registering a device is our next step.

Command Groups, Commands, and Operation Name

How your device is displayed on mobile and how it interacts with the user is very important. In this tutorial, you'll learn how to design your device's appearance in the mobile app.

Completing the Operation Name Description and How to Directly Control the Device

AirNgin provides two ways to control devices. One way is directly through AirNgin's rules and commands, and the second way is through the analysis file.

Writing the Analysis File

Now let's move on to the second way of controlling your device. We'll use the analysis file to control your device.

Arduino Library and Instructions for Connecting and Controlling a Device via Code

The Arduino library for ESP32 microcontrollers serves as both a sample program and a library documentation of its methods, which will greatly help you better understand how to write your code.

Please note that when initially programming the device, set the Partition Scheme option in the Tools menu to Minimal SPIFFS so that the maximum possible space is available for firmware updates.


Video One

Video Two

Coding a Device, Connecting It to the Server, and Controlling It Directly

After the tutorial videos above, now let's move on to the real world – I'll program my code onto an ESP32, connect it to my server using the mobile app, and then control it.

Controlling a Device with the Analysis File

After the direct method, let's move on to controlling a real device using analysis files.

Frequently Asked Questions: