- This topic has 1 reply, 2 voices, and was last updated 8 years, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Microcontroller › Arduino › RFID interfacing with arduino mega
In my project I have a requirement that once a timer starts that runs for 15 seconds I need to check whether RFID tag is read by arduino or not, if so timer will be stopped. How would I know that RFID tag is read by microcontroller? Please suggest a reliable method and related codes
Hi Ruman
There is a software interrupt available related to Rx complete; check it out. I would suggest you to run the timer for desired seconds and leave the headache, of checking the RFID data, for this interrupt. So as soon as the controller detects any Rx data, it will interrupt in between and thus you can do the related task in its service routine function.
Hope this helps