Getting Started in IoT: Part 3

In the final part of this IoT series, we will connect our light switch to a CloudMQTT broker. Then we will make an iOS app using Xamarin, and a web application with Blazor that connect to the cloud and send/receive messages so that we can control our light switch over the internet.

Resources:
iOS App/Web App code
Arduino code
Mqtt Documentation
PubsubClient Documentation (Arduino Library)
MqttNet Examples (C# Library)

Where to go from here
This series was an intro to IoT and while turning an LED bulb on and off isn’t that useful on its own, it laid the groundwork for applications that do more exciting things. One goal for the year for me is to make an IoT cat feeder that will automate feeding and give alerts when the food is running low. Other examples that you could try could be an app to control your garage door, weather station monitor, or home automation system.

Leave a comment