Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 2.49 KB

README.md

File metadata and controls

36 lines (20 loc) · 2.49 KB

Using .NET Core for IoT Scenarios

.NET Core can be used to build applications for IoT devices and scenarios. IoT applications typically interact with sensors, displays and input devices that require the use of GPIO pins, serial ports or similar hardware. The Raspberry Pi is commonly used for IoT applications.

Samples

The following samples demonstrate various scenarios:

Libraries

These samples use the System.Device.Gpio library. It will be supported on Linux and Windows IoT Core. The library is currently in early preview, based on source in dotnet/iot.

There are many libraries that are important beyond GPIO, I2C and related fundamental protocols. We are working on a plan where the .NET Team and the community can work together to build up a shared repository of implementations.

Breadboard layouts

The samples expect the device pins to be connected in particular way to function, typically on a breadboard. Each example includes a Fritzing diagram of the required breadboard layout, such as the following one (taken from the More blinking lights sample).

Raspberry Pi Breadboard diagram

Requirements

You need to use at least .NET Core 2.1. .NET Core 3.0 is required for ARM64 devices.

Many of these samples use the Raspberry Pi, however, .NET Core can be used with other devices. A Raspberry Pi Starter Pack contains enough electronics to get started on many projects.

.NET Core is supported on Raspberry Pi 2B as well as 3 and 4 models (ARMv7/v8). .NET Core is not supported on Raspberry Pi Zero or Arduino.

Resources

See the Documentation page for more references to devices, component vendors, and general IoT topics.