Let Us Create Multiple IoT Device Controller Using AWS, ESP32 And C#
Main Article Content
Abstract
Purpose: The Internet of Things (IoT) has revolutionized how we interact with our environment by allowing various devices to connect and communicate. In this paper, we propose the development of a multiple IoT device controller using Amazon Web Services (AWS), ESP32, and C# programming language. The proposed system will allow users to control and monitor multiple IoT devices simultaneously through a centralized platform. The ESP32, a low-cost wifi module, will interface with the IoT devices and transmit data to the AWS IoT Core. The C# programming language will be used to develop the user interface and handle user requests. The proposed multiple IoT device controller using AWS, ESP32, and C# programming language is expected to provide a practical solution for managing and controlling multiple IoT devices, improving user experience, and advancing IoT technology. The code used in this paper is ready to download for continuing the research work.
Design/Methodology/Approach: The proposed system uses AWS IoT Core to manage the devices and their data. The ESP32 module connects to the IoT devices and sends/receives data to/from AWS IoT Core. The device controller application is developed using C# programming language to control the IoT devices. AWS IoT Core manages IoT devices and their data. The IoT devices are registered with AWS IoT Core, and their unique identifiers are stored in the AWS IoT Core registry. The ESP32 module is programmed to connect to the wifi network using the wifi module. This enables the module to access the internet and connect to AWS IoT Core.
Findings/Result: We developed a multiple-device controller using AWS IoT and ESP32 modules here. We created a single-channel IoT in AWS and broadcast it to all devices. Every message consists device id. All devices will receive the message but are responsible only for a specific device. For multicast messages, the response is by multiple devices. The c# application is the master; all ESP32 devices are clients.
Originality/Value: Most net documents are dedicated to the IoT device creation procedure. Here we demonstrate the complete example, i.e., how to create IoT Devices in the AWS server, the node devices, and control from the C# application. So the interested researcher can get complete information to integrate IoT into their project.
Paper Type: Experimental-based Research.