[Tutor] Regarding NDEF URL transfer to arduino using python

Shreyas Mangalgi mangalgishreyas at gmail.com
Mon Jun 23 07:56:33 CEST 2014

I want to be able to send URI in NDEF format to my Arduino UNO which is
connected to Sony's RC-S801 dynamic NFC tag.I used Hercules setup utility
to send


for http://www.stuttgart.sony.de and I was able to read it from my NFC
enabled phone.But when I used the following python code, it didn't work :

import serialimport time

arduino = serial.Serial('COM6', 115200)
arduino.parity = 'M'print arduino


input =    ("100101000300000000000000001b0030d102165370d1011255017374757474676172742e736f6e792e64650000000000")


time.sleep(5)print("stopped writing")


It shows as an empty record.Can you suggest changes to my python code that
I should make in order to detect the NDEF message ?Here is the screenshot
of the message that I get when I read the tag from my phone:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140623/94b1a712/attachment.html>

More information about the Tutor mailing list