Webcervices. Con la tecnología de Blogger.
RSS

Unete a nuestro grupo de facebook

Unete a nuestro grupo de facebook
Hola que tal lectores de esta pagina tan maravillosa que es arduino Tec ...Los invito a que amplíen mas sus conocimientos en Arduino y Raspberry Pi Uniéndose a mi grupo Arduino Tec

How to connect Arduino and RFID



How to connect Arduino and RFID

On this instructable I will try to show how to interface a RFID sensor with the Arduino. I am using the RFID sensor from seeedstudio the serial version of it. There are a few parts you will gonna need. I also bought some RFID keys.




UPDATE: Now it works with IDE 021






Step 1: What you gonna need?

























- Arduino Board

- RFID Sensor from seeedstudios

- Wires

- Protoboard

- RFID tags (125kHz) from seeedstudios






Step 2: Plugging all together



















Connect the antenna on the appropriate pins like the first photo.




Plug the RFID sensor to the protoboard like the second photo above.




Only 3 wires are required to interface, 2 wires for supply and another for the serial line(communication)

The wires as connected as the third photo shows.

On RFID sensor: PIN 1 -> Tx

PIN 2 -> Rx (Not Used)

PIN 3 -> NC

PIN 4 -> GND

PIN 5 -> VCC (+5V)




Tx from RFID board goes to Digital PIN 2 on Arduino Board.




That is all you gonna need to wire.




Moving on to next step, the software.






Step 3: The code


I'm not a software guy, so this code is just for demonstration.




I don't make any kind of checksum at the tags code, but it seems to work fine.




The code is really simple. I used a new library for the serial, using software emulation.




With the two white cards you can deny or allow the access of others keys.




Any doubt, please ask me.




Edit (05/11/12):

code update for new Arduino version





RFID_2_eng.pde1 KB


RFID_arduino_version_1.0.1.txt2 KB



Step 4: Results!


There is no LED, sound or LCD for debug or visualization, just through the serial line.




The video demonstrate how to use the software. I didn't post any kind of explanation as text on the video. I hope that the images spokes more then words, xD




Any doubt or suggestion, feel free to ask, or correct me.




Please, if you like it, rate it,




thank you

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comentarios:

Publicar un comentario

Objetivo Y Reclamaciones

Este blog es un portal en el cual se publican contenidos de diferentes blogs.En los cuales se les anexa al pie de pagina un enlace a su pagina original aquí encontraran toda clase de proyectos de arduino y linux
Espero tengan una gran experiencia en este blog un Gran Saludo
de parte de la organización WebCervices..
objetivo
O del grupo ArduinoTec De arduino
Cualquier reclamación o petición comunicar al Administrador principal o hacer un comentario en la publicación que se sientan inconformes en los correos
electriarias@gmail.com
y para temas de suma importancia mi correo personal
pabioarias@hotmail.com

Siguenos en Twitter

Like

Unete a nuestro grupo de facebook

Hola que tal lectores de esta pagina tan maravillosa que es arduino Tec ...Los invito a que amplíen mas sus conocimientos en Arduino y Raspberry Pi Uniéndose a La mi grupo Arduino Tec

Unete Al Grupo De facebook

Unete Al Grupo De facebook
Amplia tus conocimientos debatiendo temas de Arduino y Raspberry pi