May 7, 2013

In this post I will show how to read RFID TAG in Node.js using an Acme Systems board and an RFID reader.
To accomplish this task you need:

NOTE: if you use the new Innovations ID-12LA RFID reader you don’t need the schottky diode and the 10K resistor and you must connect your reader to a 3V3 pin.

Create your Daisy module

To read your tags in Node you must create a new simple Daisy module. To easy connect your Innovations RFID reader you can use a breadboard like this:


See below the simple schema:



NOTE: the diode represented has another package to simplify the drawing.

Pin ID Pin name Signal Board
D10.1 3V3 Power supply Terra
D10.3 PC23/RXD3 /dev/ttyS4 RXD Terra
D10.9 5V0 Power supply Terra
D10.10 GND Power supply Terra
D10.10 GND Power supply Terra
D13.3 PA6/RXD1 /dev/ttyS2 RXD Terra
D13.9 5V0 Power supply Terra
D13.10 GND Power supply Terra
D17.1 3V3 Power supply Terra base
D17.3 PA1/RXD0 /dev/ttyS1 RXD Terra base
D17.9 5V0 Power supply Terra base
D17.10 GND Power supply Terra base
D1.1 3V3 Power supply Fox G20
D1.3 PB7/RXD /dev/ttyS2 RXD Fox G20
D1.9 5V0 Power supply Fox G20
D1.10 GND Power supply Fox G20
D6.1 3V3 Power supply Fox G20
D6.3 PB11/RXD /dev/ttyS4 RXD Fox G20
D6.9 5V0 Power supply Fox G20
D6.10 GND Power supply Fox G20
D8.1 3V3 Power supply Fox G20
D8.3 PB9/RXD2 /dev/ttyS3 RXD Fox G20
D8.9 5V0 Power supply Fox G20
D8.10 GND Power supply Fox G20


Now you can connect your custom Daisy module to your Terra board (of Fox G20 board) using a flat cable. You can use D10 or D13 connector on Terra board (or D17 in Terra board base) or also D1, D6 or D8 on Fox G20 board.

Install software on Terra board

Your Terra board must have Node.js installed: use this instructions for this task. Now install rfid Node module opening your terminal and typing:

mac: ~$ ssh root@debarm-ip

Linux debarm 2.6.39 #9 Sat May 7 10:19:20 UTC 2013 armv5tejl

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

debarm:~# mkdir rfid
debarm:~# cd rfid
debarm:~/rfid# npm install rfid

Run your test program:

debarm:~rfid# node node_modules/example/example.js

After a few seconds you see in your terminal:

RFID info: using /dev/ttyS2 port on D13 connector
RFID debug: serial /dev/ttyS2 opened

and when you place your TAG near the ID-12, you can see:

RFID debug: read TAG 47007650A8C9
TAG 47007650A8C9
err: undefined

Well: now you can manage your TAGs as you want.

About Marcello Gesmundo

I'm the founder of Yoovant company. I'm an engineer and an artist: what could be better than combine the technologies with the arts?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>