JMRI – RFID Connectivity

The great Folks at the JMRI Users Group at have made it! Tom Seitz recently posted a bunch of Ardiuno sketches that allow up to eight MFRC522 13.5MHz RFID Readers connected to an Ardiuno Mega to be used as an alternative to a MERG Concentrator.

These RC522 readers are dead cheap, selling for less than 13 Euros for a pack five. The total cost for this RC522 Concentrator totals about 45 Euros including the Mega as compared to the MERG Concentrator’s several hundret Euro initial cost when using the concentrator with eight Sparkfun ID20/ID12/ID2 RFID Readers which sell for ca. 55/48/40 Euros each (not including the 20 Euro yearly membership fee for the MERG Community, which seems to be necessary to get a hold of their concentrators).

At one tenth the initial cost the model railroader should of course be ready to assemble the whole system him-/herself. Oh wait, you are required to do the Same with the MERG hardware… I think you realize where I’m heading.

What’s ready to use/test?

For now the Ardiuno sketch for connecting up to eight MFRC522 RFID Readers to one Ardiuno Mega ist available at the JMRI Users Group. And yes, you read correctly, „up to“ means that you can decide to only connect a single reader or any number up to eight to your ardiuno. You can even use other Arduinos, like the UNO or Nano, with the limitation, that the number of pins available allow only for a maximum of seven readers and you would have to map the Pins to your specific hardware.

What’s to expect in the future?

Tom Seitz, who programmed the sketches, stated his vision being to provide a sketch in the future, which will be useable with any reader. So even the ones I tested here – the RDM6300 and GWIOT 7841E – are within the scope of this Project.

What will this site provide for model railroaders?

I will update this article with more information and ressources as they become available.

As soon as my Test Layout becomes operational, I will post tutorial videos, explaining the implementation step by step. So be a little Patient and drop by frequently for more Info.

GitHub Repo

Further Reading:

So, that being Said, where is the Break even Point. At which Point is a commercial Produkt better suited than a diy solution?

There are two Major factors involved. Cost and time. Both include losses due to repairs, etc.

A Most cost effektive StaRFIsh Rail system cobsists of a Hub (120,-£), at least one Reader (Quad: 60£) and at least one serial/antenna (4×6£), plus a bunch of CAT5 Patch cables for around 220£. No programming, No Adaption, No hassles.

A system based on RC522 is cheapest at around 3€ a piece (3.3v). Around six Readers can be attached to a single Arduino or ESP32. The total cost Up to this Point with four Readers as above is less than 40 Euros, assuming only one Out of 5 Readers bought in a bundle