Tuesday, April 16, 2024

Fun with AWS-IoT


While the internet is flooded with hello-world examples and simulations demonstrating the connection and message exchange between AWS-IoT Devices and Aws-Iot-Core using various programming languages like Python, C, C++, and Java, However, some of us beginners, students, or enthusiasts find true satisfaction in delving into the world of connected devices through hands-on interactions with physical components. For them, the real excitement lies in experiencing the tangible effects firsthand, rather than merely observing basic hello-world messages on a computer screen.

In this video, I'll introduce you to an engaging approach for exploring AWS-IoT connectivity and its real-world implications using affordable and readily available hardware components sourced from online stores. For this demonstration, I'll be utilizing an affordable($30) GL.iNet pocket router as an IoT End-Node. This router runs on a custom-built OpenWRT Linux image and hosts an AWS IoT device agent service based on the aws-iot-device-sdk-cpp-v2. The webUI of this custom Linux image allows you to easily configure and provision AWS IoT-specific settings such as device-certificates/private-keys/Endpoints. Additionally, through the WebUI, you can tailor various trigger events for specific publish/subscribe topics and execute diverse actions using custom scripts to control a range of hardware accessories including switches, relays, LEDs, sensors, and more.

For further details and access to the project, please visit my GitHub repository at: https://github.com/hackboxguy/aws-iot-demo

No comments: