FLUTTER ECOSYSTEM

dart_periphery

dart_periphery is a Dart port of the native c-periphery library for Linux Peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, ADC and Serial peripheral I/O).

dart_periphery cover
Latest version
0.9.20
30-day downloads
19.8K
Likes
73
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

dart_periphery is a Dart library that provides low-level access to Linux peripheral I/O interfaces, including GPIO, I2C, SPI, PWM, LED, ADC, MMIO, and serial communication. It serves as a Dart port of the c-periphery C library, enabling direct hardware interaction on Linux-based systems. Designed for IoT and embedded applications, it allows developers to control and monitor physical devices programmatically from Dart code. The package is ideal for projects requiring real-time hardware interfacing with minimal abstraction.

Use cases
  • Controlling GPIO pins
  • Reading sensor data via I2C/SPI
  • Driving LEDs and motors with PWM
  • Interfacing with microcontrollers
  • Real-time hardware monitoring
  • Embedded system development
Key features
  • Supports multiple Linux peripheral interfaces
  • Low-level hardware access
  • Cross-platform Linux compatibility
  • Bindings to native c-periphery library
  • Lightweight and efficient
  • Thread-safe operations
Suitable for
  • IoT device developers
  • Embedded systems engineers
  • Hardware prototyping
  • Linux-based automation projects
  • Dart developers working with physical devices
Considerations
  • Requires Linux OS
  • Needs root or privileged access
  • Limited to Linux platforms
  • Hardware-specific configuration needed
  • Not suitable for mobile or web apps
Supported platformsLinux

Install package

flutter pub add dart_periphery

Categories

Dependencies

Dependency list 8 items

Source repository

Related projects