Skip to content

A service for RaspberryPi that runs a script to get scanned UIDs from the MFRC522 via python socket communication.

License

Notifications You must be signed in to change notification settings

marvin-kolja/mfrc522-socket-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mfrc522-socket-service

This repo is for installing a MFRC522 scanner on a RaspberyPi and let you access the UID through socket communcation.

Installation

The scanner.service file should be copied into "/etc/systemd/system". For more information, follow this documentary (https://www.raspberrypi.org/documentation/linux/usage/systemd.md).

The created service is using the server.py file as script. The other files are for testing purpose, e.g with the client.py script you can interact with the service.

Most importantly here is what you else need:

  • python3 or higher
  • pip3
    • sudo pip3 install mfrc522
    • sudo pip3 install spidev
    • pip install RPi.GPIO

About

A service for RaspberryPi that runs a script to get scanned UIDs from the MFRC522 via python socket communication.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages