RFID_reader module

class RFID_reader.RFID_reader(pin, ID)

Bases: object

__init__(pin, ID)

Constructor for a USB RFID reader-based RFID module.

Parameters
  • pin (string) – RFID port number, usually a USB port

  • ID (string) – label to the RFID

  • data_path (string) – path to store the RFID reading information, defaults to None

scan()

Scans the RFID reader and if any mice is detected, log the tag with the datalogger object