System.Device.Gpio 3.1.0

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
dotnet add package System.Device.Gpio --version 3.1.0
NuGet\Install-Package System.Device.Gpio -Version 3.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="System.Device.Gpio" Version="3.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.Device.Gpio --version 3.1.0
#r "nuget: System.Device.Gpio, 3.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install System.Device.Gpio as a Cake Addin
#addin nuget:?package=System.Device.Gpio&version=3.1.0

// Install System.Device.Gpio as a Cake Tool
#tool nuget:?package=System.Device.Gpio&version=3.1.0

The System.Device.Gpio package supports general-purpose I/O (GPIO) pins, PWM, I2C, SPI and related interfaces for interacting with low level hardware pins to control hardware sensors, displays and input devices on single-board-computers; Raspberry Pi, BeagleBoard, HummingBoard, ODROID, and other single-board-computers that are supported by Linux and Windows 10 IoT Core OS can be used with .NET Core and System.Device.Gpio.  On Windows 10 IoT Core OS, the library wraps the Windows.Devices.Gpio.dll assembly.  On Linux, the library supports three driver modes: libgpiod for fast full-featured GPIO access on all Linux distros since version 4.8 of the Linux kernel; slower and limited-functionality GPIO access via the deprecated Sysfs interface (/sys/class/gpio) when running on older Linux distro versions with a Linux kernel older than version 4.8; and lastly board-specific Linux drivers that access GPIO addresses in /dev/mem for fasted performance at the trade-off of being able to run on very specific versions of single-board-computers.  In the future, the board-specific Linux drivers may be removed in favor of only supporting libgpiod and sysfs Linux interfaces.  In addition to System.Device.Gpio, the optional Iot.Device.Bindings NuGet package contains device bindings for many sensors, displays, and input devices that can be used with System.Device.Gpio.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net6.0-windows10.0.17763 is compatible.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (62)

Showing the top 5 NuGet packages that depend on System.Device.Gpio:

Package Downloads
Iot.Device.Bindings The ID prefix of this package has been reserved for one of the owners of this package by

This package provides a set of Device Bindings that use System.Device.Gpio package to communicate with a microcontroller.


piTop module.


Package Description


pi-top[4] device.


.NET Api for Sphero RVR platform

GitHub repositories (7)

Showing the top 5 popular GitHub repositories that depend on System.Device.Gpio:

Repository Stars
Sample code referenced by the .NET documentation
This repo includes .NET Core implementations for various IoT boards, chips, displays and PCBs.
HomeGenie, the programmable automation intelligence
Interact with I2C, SPI & GPIO devices using PowerShell Core!
Version Downloads Last updated
3.1.0 81,485 11/16/2023
3.0.0 99,126 7/13/2023
2.3.0-prerelease.22520.10 3,362 10/24/2022
2.2.0 153,444 9/29/2022
2.1.0 99,864 2/26/2022
2.0.0 17,010 1/25/2022
2.0.0-prerelease.22069.4 327 1/21/2022
1.5.0 74,501 7/16/2021
1.4.0 49,495 3/17/2021
1.4.0-prerelease.21160.2 326 3/10/2021
1.3.0 25,902 12/22/2020
1.2.0 16,070 11/24/2020
1.1.0 7,102 11/9/2020
1.1.0-prerelease.20555.1 31,236 11/5/2020
1.1.0-prerelease.20276.1 42,716 7/22/2020
1.1.0-prerelease.20153.1 3,938 3/3/2020
1.0.0 123,018 9/23/2019
1.0.0-prerelease.19413.1 1,392 8/13/2019
0.1.0-prerelease.19376.1 1,305 7/26/2019
0.1.0-prerelease.19310.5 2,034 6/11/2019
0.1.0-prerelease.19171.3 2,337 3/21/2019
0.1.0-prerelease.19078.2 4,310 1/28/2019