nanoframework/nanoFramework.IoT.Device
nanoframework/nanoFramework.IoT.Device has 318 GitHub stars and 126 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-19 12:56 UTC. Last push 2026-11-12.
实测星标增长
- 24小时
- 0
- 7天
- 正在收集历史
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
📦 This repo includes .NET nanoFramework implementations for various sensors, chips, displays, hats and drivers
开发工具README.zh-cn.md
原文
English | 中文
欢迎来到 nanoFramework IoT.Device 库仓库!
此仓库包含可连接到 nanoFramework 芯片的传感器、小屏幕和其他设备的绑定!
大部分绑定已从 .NET IoT 仓库 迁移过来。并非所有绑定都适合迁移到 .NET nanoFramework,因此迁移工作主要集中在可以与 .NET nanoFramework 配合使用的设备上。另请注意,某些设备在迁移时未经测试,因此可能存在问题。
设备列表
28BYJ-48 Stepper Motor 5V 4-Phase 5-Wire & ULN2003 Driver Board
4-Wire stepper motor & A4988 driver board
4-Wire stepper motor & Drv8825 driver board
AD5328 - Digital to Analog Convertor
Adafruit Seesaw - extension board (ADC, PWM, GPIO expander)
ADC128D818 - Analog to Digital Converter
ADS1115 - Analog to Digital Converter
ADXL343 - Accelerometer
ADXL345 - Accelerometer
ADXL357 - Accelerometer
AGS01DB - MEMS VOC Gas Sensor
AHT10/15/20 - Temperature and humidity sensor modules
AK8963 - Magnetometer
AM2320 - Temperature and Humidity sensor
AMG8833/AMG8834/AMG8853/AMG8854 Infrared Array Sensor Family
APA102 - Double line transmission integrated control LED
AT24C32/AT24C64/AT24C128/AT24C256 family of I2C EEPROM
AW88298 - I2S Class-D smart audio amplifier (speaker output)
AW9523X - I2C GPIO and LED controller
AXP192 - Enhanced single Cell Li-Battery and Power System Management IC
AXP2101 - Enhanced Single Cell Li-Battery and Power System Management IC
Bh1745 - RGB Sensor
BH1750FVI - Ambient Light Sensor
BMI270 - accelerometer and gyroscope
Bmm150 - Magnetometer
BMP180 - barometer, altitude and temperature sensor
BMP280/BME280/BME680 Device Family
BNO055 - inertial measurement unit
BQ2579x/BQ25792/BQ25798 - Buck-boost battery charger
Button
Buzzer - Piezo Buzzer Controller
CCS811 Gas sensor
Character LCD (Liquid Crystal Display)
Charlieplex Segment binding
CHSC6540 - Touch screen controller
DAC63004/DAC63004W - Ultra-low-power quad-channel 12-bit smart DAC with I²C, SPI and PWM
DC Motor Controller
DHCP Server
DHT10/DHT11/DHT12/DHT21/DHT22 - Digital-Output Relative Humidity & Temperature Sensor Module
DHT10/DHT11/DHT12/DHT21/DHT22 for Esp32 using RMT - Digital-Output Relative Humidity & Temperature Sensor Module
Digital liquid level switch
DNS Server
DS1302 - Realtime Clock
Ds1621 - 1-Wire Digital Thermometer with Programmable Resolution
Ds18b20 - Temperature Sensor
ePaper drivers for .NET nanoFramework
ES7210 - 4-channel audio ADC (microphone capture codec)
ES7243E - Audio ADC (microphone capture codec)
ES8156 - Low-power stereo audio DAC (playback codec)
Ft6xx6x/Ft6336GU - Touch screen controller
Generic AT Modem SIM800 and SIM7070, SIM7080, SIM7090 - Dual Mode Wireless Module CatM, LTE modems
Generic shift register
Global Navigation Satellite System Device NMEA 0183 - Including Generic Serial Module with GPS, GNSS, BeiDou - NEO6-M, NEO-M8P-2, NEO-M9N from u-blox, ATGM336H, Minewsemi, ZED-F9P, ZOE-M8Q, SAM-M8Q, SARA-R5 and many many more
HC-SR04 - Ultrasonic Ranging Module
HC-SR04 for ESP32 with RMT - Ultrasonic Ranging Module
HC-SR501 - PIR Motion Sensor
Hdc1080 - temperature and humidity sensor
HLK-LD2410 24Ghz Human Presence Radar Sensor Module
HMC5883L - 3 Axis Digital Compass
Home Assistant MQTT Integration
HTS221 - Capacitive digital sensor for relative humidity and temperature
Hx711 (M5Stack WEIGHT)
INA219 - Bidirectional Current/Power Monitor
Iot.Device.Multiplexing
Iot.Device.NumberHelper
Iot.Device.WeatherHelper
IP5306 - Power management
Key Matrix
LCD library for SparkFun RGB Serial Open LCD display (sizes 20x4 or 16x2) with I2C connection
LidarLiteV3 - LIDAR Time of Flight Sensor
LIS2MDL - Ultra-low-power, high-performance 3-axis digital magnetic sensor
LM75 - Digital Temperature Sensor
Lp3943 LED driver
LPS22HB - MEMS nano pressure sensor: 260-1260 hPa absolute digital output barometer
LPS25H - Piezoresistive pressure and thermometer sensor
LSM9DS1 - 3D accelerometer, gyroscope and magnetometer
LTR-553ALS-WA - Proximity and Ambient Light Sensor
M5Stack ATOM QR Code reader
MAX1704x/MAX17043/MAX17044/MAX17048/MAX17049 - Battery gauge
Max31856 - cold-junction compensated thermocouple to digital converter
MAX31865 - Resistance Temperature Detector Amplifier
MAX44009 - Ambient Light Sensor
Max7219 (LED Matrix driver)
MBI5027 -- 16-bit shift register with error detection
Mcp23xxx/MCP23008/MCP23009/MCP23017/MCP23018 - I/O Expander device family
Mcp25xxx/MCP2515/MCP2565 device family - CAN bus
MCP3001/MCP3002/MCP3004/MCP3008/MCP3201/MCP3202/MCP3204/MCP3208/MCP3301/MCP3302/MCP3304 family of Analog to Digital Converters
Mcp3428 - Analog to Digital Converter (I2C)
Mcp7940xx/MCP79400/MCP79401/MCP79402 - I2C Real-Time Clock/Calendar with SRAM
MCP960X/MCP9600/MCP9601 - device family of cold-junction compensated thermocouple to digital converter
MCP9808 - Digital Temperature Sensor
MFRC522 - RFID reader
MH-Z19B CO2-Sensor
MLX90614 - Infra Red Thermometer
Modbus - Machine to machine communication protocol
Module and Unit 4 Relay - I2C relay
MPR121 - Proximity Capacitive Touch Sensor Controller
MPU6050/MPU6500/MPU9250 - Gyroscope, Accelerometer, Temperature and Magnetometer (MPU9250 only)
Mpu6886 - accelerometer and gyroscope
Ms5611 in GY-63 module - temperature and pressure sensor
Multicast DNS
nRF24L01 - Single Chip 2.4 GHz Transceiver
PAJ7620U2 gesture sensor
Pca95x4/PCA9534/PCA9534A/PCA9554/PCA9554A - I2C GPIO Expander
PCD8544 - 48 × 84 pixels matrix LCD, famous Nokia 5110 screen
PCx857x/PCF8574/PCF8575/PCA8574/PCA8575 - NXP/TI GPIO expansion
PN5180 - RFID and NFC reader
PN532 - RFID and NFC reader
QTR Sensors - Pololu QTR Reflectance Sensors
Quadrature Rotary Encoder
Quadrature Rotary Encoder (ESP32)
Radio Receiver
Radio Transmitter
Realtime Clock
RFID shared elements
RGB diode - PWM
SCD4x - Temperature & Humidity & CO2 Sensor
Sensirion SCD30 Particulate Matter Sensor
Sensirion SEN5x series module
Sensirion SPS30 Particulate Matter Sensor
Servo Motor
SHT3x/SHT30/SHT31/SHT35 - Temperature & Humidity Sensor
Sht4x/SHT40/SHT41/SHT45 - Temperature & Humidity Sensor with internal heater
SHTC3 - Temperature & Humidity Sensor
Si7021 - Temperature & Humidity Sensor
SN74HC595 -- 8-bit shift register
SSD13xx/SSD1306/SSD1327 & SSH1106 - OLED display family
Swarm Tile
System.Buffers.Binary.BinaryPrimitives
System.Buffers.Helpers
System.Device.Model - attributes for device bindings
System.Diagnostics.Stopwatch and DelayHelper
System.Drawing
System.Numerics
TCS3472x/TCS34721/TCS34723/TCS34725/TCS34727 Sensors
TLC1543 - 10-bit ADC with 11 input channels
TM1637 - Segment Display
TSL256x/TSL2560/TSL2561 - Illuminance sensor
VL53L0X - distance sensor
Vl6180X - distance sensor
Ws28xx/WS2812B/WS2815B/WS2808/SK6812/Neo pixel for ESP32 using RMT - LED drivers
Ws28xx/WS2812B/WS2815B/WS2808/SK6812/Neo pixel using SPI - LED drivers
XPT2046 - Touch screen controller
YX5200/YX5300 - MP3 Player
文件夹结构
/devices/ 包含已清理且应该可以直接使用的设备。
/src/devices_generated/ 包含从 .NET Core IoT Libraries devices 自动移植的设备。它们此时可能无法工作或编译,但如果您需要支持某个设备,而 /devices/ 文件夹中没有该设备,这些设备是一个很好的起点。
/src/nanoFramework.IoT.Device.CodeConverter 包含用于从 .NET Core IoT Libraries devices 生成设备的工具。
/src 中的其他文件夹包含 nanoFramework 项目,您可以在创建/更新设备时引用这些项目,它们提供诸如 StopWatch、DelayHelper、BinaryPrimitives 或各种 System.Device.Model 属性等功能。
贡献
重要提示: 如果您计划清理 /src/devices_generated/ 中的代码,请将您的工作复制到 /devices/ 文件夹,因为 /src/devices_generated/ 的内容将被生成器工具覆盖。
请查看详细的提示和技巧列表以促进迁移。生成器会处理一些繁重的工作,但总是需要一些手动调整。
我们为绑定使用以下结构:
/devices
/Binding1
/samples
Binding1.Samples.nfproj
AssicateFile.cs
Program.cs
/test
BindingA.Test.nfproj
AssociatedTestFile.cs
Binding1.nfproj
Binding1.nuspec
version.json
OtherFiles.cs
OtherFiles.anythingelse
Readme.md
使用代码转换器
代码转换器有助于将 .NET Core/.NET 5.0 代码迁移到 .NET nanoFramework。更多信息以及如何自定义和运行它请点击这里。
将 .NET nanoFramework 绑定移植到 .NET IoT
您知道吗,通过最小的努力,您可以使 nanoFramework 绑定也可用于 .NET IoT?有关要采取的步骤的更多信息和指导,请参阅这篇文章。
反馈和文档
有关文档、提供反馈、问题以及如何贡献的信息,请参阅 Home 仓库。
在这里加入我们的 Discord 社区。
致谢
此项目的贡献者列表可以在 CONTRIBUTORS 找到。
许可证
nanoFramework 类库根据 MIT 许可证 授权。
行为准则
本项目采用了贡献者公约定义的行为准则,以阐明我们社区中的预期行为。 有关更多信息,请参阅 .NET Foundation 行为准则。
.NET Foundation
本项目由 .NET Foundation 支持。