RFID Connection

Moderators: odroid, mdrjr

RFID Connection

Unread postby elqusy90 » Mon Aug 05, 2013 3:29 am

i need help on communicate with RFID through the serial from the odroid x2
elqusy90
 
Posts: 62
Joined: Thu Jul 25, 2013 9:41 pm
languages_spoken: english
ODROIDs: ODROID X2

Re: RFID Connection

Unread postby mdrjr » Mon Aug 05, 2013 4:17 am

use more details when you ask for help..
what serial? uart? usb-serial?
Please be detailed.
mdrjr
Site Admin
 
Posts: 11694
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: RFID Connection

Unread postby elqusy90 » Mon Aug 05, 2013 7:42 pm

sorry for that i am a beginner on the field :) sorry again

i need to connect it through the UART on the ODROID X2 and
also i need to connect another micro controller to the odroid at the same time

is there another UART

to do that

or i have to communicate with the micro controller with the i2c

any advice
elqusy90
 
Posts: 62
Joined: Thu Jul 25, 2013 9:41 pm
languages_spoken: english
ODROIDs: ODROID X2

Re: RFID Connection

Unread postby mdrjr » Mon Aug 05, 2013 9:10 pm

use i2c to the microcontroller and the uart on the 50pin to your rfid.

However you must check what logical voltage your rfid serial port operates. ODROID's are 1.8V , if its more, you'll need a level shift to make it work.
mdrjr
Site Admin
 
Posts: 11694
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: RFID Connection

Unread postby elqusy90 » Tue Aug 06, 2013 6:19 am

the logical voltage of the RFID serial port

4.4 ~ 12.0VDC power supply

then what is the level shift ?
elqusy90
 
Posts: 62
Joined: Thu Jul 25, 2013 9:41 pm
languages_spoken: english
ODROIDs: ODROID X2

Re: RFID Connection

Unread postby mdrjr » Tue Aug 06, 2013 7:40 am

elqusy90 wrote:the logical voltage of the RFID serial port

4.4 ~ 12.0VDC power supply

then what is the level shift ?


Nope, this is the power supply input of your RFID reader..

Put a link of your RFID product so we can look at it and tell you more.
mdrjr
Site Admin
 
Posts: 11694
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: RFID Connection

Unread postby Matt » Tue Aug 06, 2013 12:03 pm

Most RFID readers will probably use 3.3V logic, which is the voltage used to send the digital signals over the communications lines (RX/TX for UART, MISO/MOSI/SCK for SPI, and SDA/SCL for I2C). If the I2C interface of the RFID reader use 3.3V over the SDA and SCL pins, you will end up damaging the X2.
ODROID Boards: U2, X2, XU+E rev.2
Accessories: VU, Smart Power, 13" LCD Kit (for the X2)
User avatar
Matt
 
Posts: 576
Joined: Tue Feb 26, 2013 4:57 pm
Location: Charlottesville, VA, USA
languages_spoken: English
ODROIDs: X2, U2, XU+E rev.2, Smart Power

Re: RFID Connection

Unread postby elqusy90 » Tue Aug 06, 2013 4:36 pm

http://ram-e-shop.com/oscmax/catalog/pr ... ts_id=1903
this is the site of the place i bought it from


UART interface on COMS leve
elqusy90
 
Posts: 62
Joined: Thu Jul 25, 2013 9:41 pm
languages_spoken: english
ODROIDs: ODROID X2

Re: RFID Connection

Unread postby mdrjr » Tue Aug 06, 2013 7:05 pm

Matt is correct. Its a CMOS Level voltage.. (3.3V)
you'll need something like it -> https://www.sparkfun.com/products/8745
to make it work on ODROID, since ODROID is 1.8V level
mdrjr
Site Admin
 
Posts: 11694
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: RFID Connection

Unread postby elqusy90 » Thu Aug 08, 2013 7:48 am

thank you very much

i want to begin to write a UART module with C language to communicate with RFID

or is there any exist tool for doing that ??
elqusy90
 
Posts: 62
Joined: Thu Jul 25, 2013 9:41 pm
languages_spoken: english
ODROIDs: ODROID X2

Re: RFID Connection

Unread postby mdrjr » Thu Aug 08, 2013 9:30 am

I never saw one... plus UART is basicly serial.. so you'll find plenty of examples on the interwebs :)
mdrjr
Site Admin
 
Posts: 11694
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: RFID Connection

Unread postby riklaunim » Fri Aug 09, 2013 7:18 am

You can also get USB RFID readers. Simple Unique standard (read-only) gives you token ID and readers for it behave like a keyboard - each read is printing 10-char ID plus new line character ("Enter"). For read/write Mifare standard you need those more advanced readers. On ebay there are few USB devices that work as serial devices (PySerial or other library and you are good to go). Some of them are cheapter than the do-it-yourself boards.... and they are handy USB devices.

I also have this: http://www.elecfreaks.com/store/rfidnfc ... p-519.html but I didn't had the time to use it yet.
riklaunim
 
Posts: 16
Joined: Fri Mar 01, 2013 3:17 am
languages_spoken: english
ODROIDs: Odroid-X2


Return to Projects

Who is online

Users browsing this forum: No registered users and 1 guest