Skip to content

Latest commit

 

History

History

IoT

.NET IoT for Beginners

Since .NET is cross-platform and runs on different CPU architectures, it's compatible with a wide variety of single board computers, including Raspberry Pi. These devices are commonly used in Internet of Things (IoT) scenarios to communicate with sensors, displays, analog-to-digital converters, and more. In this series, you'll learn the essentials to run .NET code on single board computers and effectively utilize the .NET IoT Libraries to communicate with various IoT devices. You'll also see various practical examples to inspire your own projects!

Video Series Link

Full Series: YouTube link: https://aka.ms/dotnet/beginnervideos/youtube/iot

Learn link: https://aka.ms/dotnet/beginnervideos/learn/iot

Individual Video Links:

  1. Intro to .NET IoT with Single Board Computers and Raspberry Pi
  2. Deploy .NET apps to single board computers and debug remotely
  3. General Purpose Input/Output GPIO output control devices with .NET
  4. General Purpose Input/Output: Read input with GPIO and .NET
  5. IoT sensors and displays with I2C and .NET
  6. Convert analog signals to digital data with .NET

Overview

In this video series, we will discuss .NET Internet of Things (IoT) scenarios.

Goal Learn the building blocks of .NET Internet of Things (IoT) scenarios to communicate with sensors, displays, analog-to-digital converters, and more.
What will you learn The essentials to running .NET code on single board computers and effectively utilizing the .NET IoT Libraries to communicate with various IoT devices
What you'll need .NET SDK
Number of videos 6
Follow along sample code

Video

Full Series: YouTube link: https://aka.ms/dotnet/beginnervideos/youtube/iot

Learn link: https://aka.ms/dotnet/beginnervideos/learn/iot

Resources

Links:

Video 1 : Intro to .NET IoT with Single Board Computers and Raspberry Pi

In this video series, Microsoft Sr. Content Developer Cam Soper explores the use of .NET on common single-board computers, such as Raspberry Pi, Orange Pi, and Hummingboard. The series focus is using the .NET IoT Libraries to control LEDs, relays, sensors, displays, and more. In this introductory video, Cam shows how to prepare a Raspberry Pi for use with .NET, where to find the documentation, and how to run a quick demo using a Raspberry Pi Sense HAT.

Remember, even if you don't have a Raspberry Pi, most of the concepts in this series can be applied to other single board computers!

Intro to .NET IoT with Single Board Computers and Raspberry Pi

Video 2 : Deploy .NET apps to single board computers and debug remotely

In part 2 of the series, Microsoft Sr. Content Developer Cam Soper shows how to deploy, run, and debug .NET code on ARM-based single-board-computers (such as Raspberry Pi, Orange Pi, ODROID, and others). The video covers the self-contained deployment process and how to copy the published files to the device. Cam also explains how to remotely debug the app on the device using Visual Studio or Visual Studio Code.

Deploy .NET apps to single board computers and debug remotely

Video 3 : General Purpose Input/Output GPIO output control devices with .NET

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!"

General Purpose Input/Output GPIO output control devices with .NET

Video 4 : General Purpose Input/Output: Read input with GPIO and .NET

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!

General Purpose Input/Output: Read input with GPIO and .NET

Video 5 : IoT sensors and displays with I2C and .NET

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.

IoT sensors and displays with I2C and .NET

Video 6 : Convert analog signals to digital data with .NET

How do analog signals get converted into digital data? In part 6 of .NET IoT for Beginners, Microsoft Sr. Content Developer Cam Soper explores Analog-to-Digital converters (ADCs) with single-board computers and the .NET IoT libraries. Cam then shows how he uses a Raspberry Pi and an MCP3008 ADC for one of his favorite activities: BBQ with .NET!

Convert analog signals to digital data with .NET

Feedback

Be sure to give feedback about this workshop!

Code of Conduct