[Physical computing] Final Progress – RFID + TIMER+Failing on Nano and Bare Touch Board

Features to complete

  1. Read a card, and start a timer
  2. When removing the card,the timer automatically stop⌛️
  3. When the time’s up, the corresponding LED will be on
  4. To turn off the LED, just remove the card from the RFID reader
  5. Problem I met with: To know the moment when the card is removed. —-> tutorial here.


  • sense different cards
  • sense the RFID card’s present and absence state
  • set timer according to the card ID
  • control the LED for the timer
  • code here: link
schematic graph


When I tried to connect the circuit with Arduino Nano (instead of Uno), I got the following error message:

WARNING: library rfid.master claims to run on (avr) architecture(s) and may be incompatible with your current board which runs on (mbed) architecture(s).

I solved the trouble referencing this link, by directly changing the library.properties of the rfid in the Arduino library folder.

However, after that it still returns error. I considered the time.h library is not compatible with the Arduino nano board.

So Next Step is to use back to Uno or try using Bare Touch Board, cuz it’s thiiiiiiiin.

Update on the next day:

  • it doesn’t work on bareboard..:(
  • Maybe because the bare board is based on leonardo, and the wiring may be different?
  • Found a writing tutorial on RFID & Leonardo here: https://www.youtube.com/watch?v=G3EbGiuTrbQ
  • Bareboard: pinmap
  • Oh, on the Leonardo page, it also said: “SPI: on the ICSP header. These pins support SPI communication using the SPI library. Note that the SPI pins are not connected to any of the digital I/O pins as they are on the Uno, They are only available on the ICSP connector. This means that if you have a shield that uses SPI, but does NOT have a 6-pin ICSP connector that connects to the Leonardo’s 6-pin ICSP header, the shield will not work.
  • https://www.arduino.cc/en/reference/SPI
  • Still not working (as pic below shows….)
See the warning?

2 thoughts on “[Physical computing] Final Progress – RFID + TIMER+Failing on Nano and Bare Touch Board”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s