Episode

General Purpose Input/Output: Use GPIO output to control devices with .NET (Part 3 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.

In part 3 of the series, Microsoft Sr. Content Developer Cam Soper shows you how to use the pins on an single-board computer (like Raspberry Pi) to control external devices. Starting with the basics of the General Purpose Input/Output (GPIO) header, Cam demonstrates how to use a breadboard and a GPIO breakout board to create a simple LED circuit. Then, using the .NET IoT Libraries, he shows how to blink the LED. After that, he takes it up a notch by demonstrating how to use a relay to control a larger device like a light bulb or a fan. Join Cam as he walks you through this IoT equivalent of "Hello, World!"

Chapters

Code

Connect

Azure IoT
.NET
C#

Have feedback? Submit an issue here.