Episode

General Purpose Input/Output: Read input with GPIO and .NET (Part 4 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 4 of the series, join Microsoft Sr. Content Developer Cam Soper as he continues his exploration of using his Raspberry Pi's General-Purpose Input/Output header in this video. This time, Cam shows you how to use the same pins for input, starting with a demonstration of how to detect open and closed circuits using a magnetic reed switch. He then moves on to a laser setup, where he uses a voltage divider to detect when the laser beam is broken. Cam finishes the video by accepting a challenge from his son: to send and receive Morse code messages using laser light! Join Cam on this IoT adventure and learn how to create practical applications using single-board computers!

Chapters

  • 00:00 - Greeting and introduction
  • 00:25 - Creating the Input app
  • 02:29 - Testing the app
  • 04:12 - Practical applications
  • 06:04 - Morse.NET
  • 07:48 - What's next

Code

Connect

Azure IoT
.NET
C#

Have feedback? Submit an issue here.