Forum >NFC Module for Arduino tag events
General

NFC Module for Arduino tag events

userHead Account cancelled 2013-10-21 03:35:39 10045 Views9 Replies

Hey all,

I'm fairly new to Arduino programming, so bear with me.
So I recently bought NFC Module for Arduino (SKU:DFR0231) from the DFRobot store and I got it connected to an Arduino Uno board and as far a I can tell, the NFC module seems to work. However, I saw on the module's wiki page ( http://www.dfrobot.com/wiki/index.php/N ... U:DFR0231) ) that the module provides an event for your processor when detects the NFC tags, stickers, key fobs, or cards via high speed serial uart. Now I've been searching the wiki and forums about some documentation about this event, but I couldn't find it.
Is there some online documentation about this event? I would very much like to use it. And if not, can someone please tell me how to use that event?


Many thanks

2025-02-27 15:11:00

[quote="krienie"]
Is there some online documentation about this event? I would very much like to use it. And if not, can someone please tell me how to use that event?
there should be documented information regarding the event for this chip.

In the wiki code on line 18, seems to have the relevant code.
Did you try the example code?

userHeadPic Jose
2014-01-15 20:10:36 Anyway, do you have a LCD1602?
There is a sketch which could display the NFC data in LCD module.
But it only will display 16 date.(It has 25 date in all, some is useless)


userHeadPic Grey.CC
2014-01-14 23:29:37 Hello,
The default baudrate of NFC module is 115200.
And the the maximum baudrate that works with SoftwareSerial is 38400.
So it can't receive NFC data form the SoftwareSerial port.
It need a hardware serial port. For example Mega and Leonardo

I have tried NFC module via Arduino UNO. It needs connect RX/TX(NFC) to TX0/RX0(UNO) directly.
Set the baudrate to 115200.
I could receive the data in serial monitor. But it has a lot of messy code.

userHeadPic Grey.CC
2014-01-14 11:42:46 Has anyone been successful to get this to work with the Arduino Uno? I just bought myself this module and i am experiencing the exact same issues.
I wounder if the issue could be caused by the software serial limitations with baudrates.
userHeadPic PUSH_EDX
2014-01-11 00:29:58 Hi,
I also purchased this module with some NFC stickers few days ago. I connected the board to a Leonardo, uploaded the example sketch on the wiki but no sign of life here.

Does anyone able to make this thing work ? If yes please can you tell where I am missing sth ?
Thx
userHeadPic mikifare
2013-11-29 05:16:59 I'm also having problems with this setup (NFC Module + Arduino UNO).
I have downloaded the zip containing the example code and added the following two lines in the beginnning of the file since the UNO only has one serial
Code: Select all
#include <SoftwareSerial.h>
SoftwareSerial Serial1(10,11);
Everything is connected etc., but when I run it, I get the following response for a wake up request and a firmware version request:
Code: Select all
00 80 00 00 00 80 02 FF 75 45 11 F8 FF FF FF
00 80 00 00 00 80 06 FD 75 20 53 90 E8 08 07 FC FF FF FF
while the expected response, according to the documentation, is
Code: Select all
00 00 FF 00 FF 00 00 00 FF 02 FE D5 15 16 00
00 00 FF 00 FF 00 00 00 FF 06 FA D5 03 32 01 06 07 E8 00
I have bought two modules and both gives me these responses. I have attached the code I use.

Any ideas what is wrong?
userHeadPic sebastianskejoe
2013-11-16 23:11:18 Oh I got it, used software serial to create another port. However I still don't understand these hex decimal stuff it prints out? userHeadPic takeru
2013-11-16 02:57:11 Hi I am new to Arduino, how did you make the demo code work with UNO? I have been trying for hours with no luck.  :'( userHeadPic takeru
2013-10-21 19:20:35 Hi, krienie
NFC is a set of short-range wireless technologies, typically requiring a distance of 10cm or less.
You want to detect your card, or small things?  You know its effective distance is a little short.
Or you want to do something else?
userHeadPic Grey.CC