How unosquare/raspberryio works
RaspberryIO is a .NET hardware-access library for Raspberry Pi, with an optional peripheral package. The principal workflow is to initialize Pi with a provider, then use its hardware APIs or peripheral drivers to interact with devices and retrieve results. The graph preserves the README’s advertised camera, board information, GPIO, SPI, I2C, timing/threading, and peripheral capabilities. Evidence is limited to the README, source index references, and sampled excerpts; unsampled implementation links are omitted where not established.
Main entry points: Pi.cs Pi Access · IGpioPin.cs GPIO Pins · II2CDevice.cs I2C Devices · LedStripAPA102C.cs LED Strip
Components 21
Pi Core
- Pi Access
src/Unosquare.RaspberryIO/Pi.cs
Hardware Abstractions
- GPIO Pins
src/Unosquare.RaspberryIO.Abstractions/IGpioPin.cs - SPI Channels
src/Unosquare.RaspberryIO.Abstractions/ISpiChannel.cs - I2C Devices
src/Unosquare.RaspberryIO.Abstractions/II2CDevice.cs - Timing Threading
src/Unosquare.RaspberryIO.Abstractions/ITiming.cs
Peripheral Drivers
- ADC Drivers
src/Unosquare.RaspberryIO.Peripherals/ADC/ADS1x15.cs - Accelerometer
src/Unosquare.RaspberryIO.Peripherals/Accelerometer/AccelerometerGY521.cs - Infrared Sensor
src/Unosquare.RaspberryIO.Peripherals/Infrared/InfraredSensor.cs - LED Strip
src/Unosquare.RaspberryIO.Peripherals/LedStripAPA102C.cs - RFID Controller
src/Unosquare.RaspberryIO.Peripherals/Rfid/RFIDControllerMfrc522.cs - OLED Display
src/Unosquare.RaspberryIO.Peripherals/OledDisplaySSD1306.cs - Temperature Sensors
src/Unosquare.RaspberryIO.Peripherals/Temperature/DhtSensor.cs - Ultrasonic Sensor
src/Unosquare.RaspberryIO.Peripherals/UltrasonicHcsr04.cs - GPIO Button
src/Unosquare.RaspberryIO.Peripherals/Button.cs - Bitmap Buffer
src/Unosquare.RaspberryIO.Peripherals/BitmapBuffer.cs
System Features
- Board Information
src/Unosquare.RaspberryIO/Computer/SystemInfo.cs - Camera Capture
src/Unosquare.RaspberryIO/Camera/CameraController.cs - Audio Settings
src/Unosquare.RaspberryIO/Computer/AudioSettings.cs - DSI Display
src/Unosquare.RaspberryIO/Computer/DsiDisplay.cs - Bluetooth
src/Unosquare.RaspberryIO/Computer/Bluetooth.cs
Other components
- Developer
Connections 29
- Developer → Pi Access: initializes
README.md - Developer → Pi Access: uses
README.md - Pi Access → GPIO Pins: resolves
src/Unosquare.RaspberryIO/Pi.cs - Pi Access → SPI Channels: resolves
src/Unosquare.RaspberryIO/Pi.cs - Pi Access → I2C Devices: resolves
src/Unosquare.RaspberryIO/Pi.cs - Pi Access → Timing Threading: resolves
src/Unosquare.RaspberryIO/Pi.cs - Pi Access → Board Information: exposes
src/Unosquare.RaspberryIO/Pi.cs - Pi Access → Camera Capture: exposes
src/Unosquare.RaspberryIO/Pi.cs - Pi Access → Audio Settings: exposes
src/Unosquare.RaspberryIO/Pi.cs - Pi Access → DSI Display: exposes
src/Unosquare.RaspberryIO/Pi.cs - Pi Access → Bluetooth: exposes
src/Unosquare.RaspberryIO/Pi.cs - ADC Drivers → I2C Devices: uses
src/Unosquare.RaspberryIO.Peripherals/ADC/ADS1x15.cs - Accelerometer → I2C Devices: uses
src/Unosquare.RaspberryIO.Peripherals/Accelerometer/AccelerometerGY521.cs - Infrared Sensor → GPIO Pins: reads
src/Unosquare.RaspberryIO.Peripherals/Infrared/InfraredSensor.cs - LED Strip → SPI Channels: writes
src/Unosquare.RaspberryIO.Peripherals/LedStripAPA102C.cs - LED Strip → Bitmap Buffer: renders from
src/Unosquare.RaspberryIO.Peripherals/LedStripAPA102C.cs - RFID Controller → SPI Channels: uses
src/Unosquare.RaspberryIO.Peripherals/Rfid/RFIDControllerMfrc522.cs - RFID Controller → GPIO Pins: uses
src/Unosquare.RaspberryIO.Peripherals/Rfid/RFIDControllerMfrc522.cs - OLED Display → I2C Devices: writes
src/Unosquare.RaspberryIO.Peripherals/OledDisplaySSD1306.cs - Temperature Sensors → GPIO Pins: reads
src/Unosquare.RaspberryIO.Peripherals/Temperature/DhtSensor.cs - Developer → ADC Drivers: uses
README.md - Developer → Accelerometer: uses
README.md - Developer → Infrared Sensor: uses
README.md - Developer → LED Strip: uses
README.md - Developer → RFID Controller: uses
README.md - Developer → OLED Display: uses
README.md - Developer → Temperature Sensors: uses
README.md - Developer → Ultrasonic Sensor: uses
README.md - Developer → GPIO Button: uses
README.md