mfrc522 0.0.5 copy "mfrc522: ^0.0.5" to clipboard
mfrc522: ^0.0.5 copied to clipboard

PlatformLinux

A Dart library for interfacing with MFRC522 RFID readers on Linux/Raspberry Pi.

dart_mfrc522 #

A Dart library for interfacing with MFRC522 RFID readers on Linux/Raspberry Pi.

Features #

  • Read and write MIFARE Classic tags
  • Simple high-level interface
  • Configurable authentication
  • Support for multiple sectors
  • Hardware SPI communication

Getting Started #

import 'package:dart_mfrc522/dart_mfrc522.dart';

void main() async {
  final rfid = SimpleMfrc522();
  
  try {
    var result = await rfid.read();
    print('Card ID: ${result['id']}');
    print('Data: ${result['text']}');
  } finally {
    rfid.mfrc522.dispose();
  }
}

Requirements #

  • Linux/Raspberry Pi
  • SPI enabled
  • Required permissions for SPI and GPIO access

Installation #

dependencies:
  dart_mfrc522: ^1.0.0

License #

MIT

0
likes
125
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart library for interfacing with MFRC522 RFID readers on Linux/Raspberry Pi.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dart_periphery, flutter, flutter_gpiod, logger

More

Packages that depend on mfrc522