Session

Getting Sensor Readings from a Raspberry Pi into Azure

Home automation is an extremely fun activity, and IoT is a field that is increasingly important, especially when it comes to things like monitoring for temperature, light, or other metrics. For example, maybe you need to ensure that the light never gets to bright in a dark room, or that the temperature is never too high or low in your wine cellar. What about that humidity in the room with your guitars or where you are storing your cigars?

This talk will show you how quickly and easily you can get a few relatively inexpensive sensors from any vendor and attach them to your raspberry Pi (no soldering required!). Once you have the pi set up with the devices, you can then use VSCode to SSH to your Pi and utilize the C# and Azure (and also python) to read the values from your device, connect to your Azure IoT hub, and ingest the data.

From there, you can easily create dashboards in PowerBi or Grafana or another tool to quickly and easily see the data from your device, so you can easily monitor the data that is being sent by the Pi and sensors.

Concepts discussed will be using the Azure IoT hub and the device connection string to connect to Azure from code, along with how to work with the device using SSH via Visual Studio Code from your windows machine. If you are a linux/mac user and used to working with SSH you will still benefit from seeing how to register your devices and get things going on the Pi for .NET development and ingestion of data into Azure.

This is an incredibly fun talk and allows anyone to see how a few dollars spent on some sensors and a PI and a little coding experience can easily ingest sensor data into their Azure environment. This of course translates into real-world business problems as well.
Also, I am not doing this as a product pitch or receiving any affiliate funds for pitching products, this is just things I have done for fun and to show of the IoT ecosystem at Azure.

Brian Gorman

Microsoft Azure MVP, Speaker, Author, Trainer, and .Net Developer

Waterloo, Iowa, United States

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top