building project using 2 arduinos, bough of them read rfid-tag , send uid-code other card threw nrf24l01 radio antenna. @ first, programmed in loop sequence started reading rfid, sending rfid on radio , @ last looking received radio. bough sending radio , reading rfid takes while. therefore, want use irq-pin on rfid-module bough of arduinos listening on radio until rfid-module interrupt , send uid-code. there knows how set irq-pin on rfid-module? use mrfc522 card reader , library github. code examples appreciated
on datasheet:
quote
the mfrc522 indicates events setting status1reg register's irq bit and, ifso irq must enabled:
activated, pin irq.
quote
the mfrc522 can generate interrupt signal when:if there isn't library activate irq need manually, writing in correct mfrc register
• comienreg register's loalertien bit set logic 1. activates pin irq when
status1reg register's loalert bit changes logic 1.
• comienreg register's hialertien bit set logic 1. activates pin irq when
status1reg register's hialert bit changes logic 1.
Arduino Forum > Community > Gigs and Collaborations > RFID-interrupt pin setup
arduino
Comments
Post a Comment