Episode

IoT sensors and displays with I²C and .NET (Part 5 of 6) | .NET IoT for Beginners

with Cam Soper

Note

This video was produced using .NET 7. The code samples featured in this video have been updated on GitHub to use .NET 8. Ensure you are using the .NET 8 SDK when compiling the samples. For more information, refer to the .NET IoT docs.

Part 5 of the .NET IoT for Beginners series joins Sr. Content Developer Cam Soper as he shows how to interact with I²C devices using a single-board computers, like Raspberry Pi. Using a BME280 temperature, humidity, and pressure sensor and a 20x4 LCD character display, Cam demonstrates using the .NET IoT libraries to use the I²C protocol to communicate with any supported device.

Chapters

  • 00:00 - Greeting and introduction
  • 01:06 - Enabling I²C on Raspberry Pi
  • 01:22 - Connecting a BME280
  • 02:22 - Creating and running the Sensor app
  • 05:05 - Connecting an LCD Display
  • 06:06 - Updating the app for the display
  • 09:50 - Testing the completed app
  • 10:22 - What's next

Code

Connect

Azure IoT
.NET
C#