0

I am trying to interface my raspberry pi to a RFID reader, to make an library management system. I have brought a RFID reader whose data sheet can be found here. I have found a python program which can get data from RFID reader.

I am pretty new to raspbeery pi and not quite sure about how to connect this reader to my pie . As far as I understand, I will have to connect TX , SEL pin to a GP/IO pin as well as Vcc and GND . Do I need to use a voltage shifter to make sure that input voltage level in TX is below 5v. Can anyone guide me on connecting the reader to pi?

0

If you are using the serial link rather than Wiegand you can just connect SEL to 5V.

So one way of wiring is

RFID        Pi
pin         pin
1 VCC       2 (5V)
2 GND       6 (Ground)
3 BEEP      ---
4 NC        ---
5 NC        ---
6 SEL       2 (5V)
7 TX        10 (RXD) Using a voltage divider
8 D1        ---
9 D0        ---

It is important that you use a voltage divider (pair of resistors, google) to cut 5V to a Pi safe 3V3 on the TX/RXD link.

The code you reference seems to have little relevance to your needs.

  • Thanks for the guidance. Correct me if I am wrong. With the python code in link, I should be able to read serial data from my RFID reader. right? – Amelie Peter May 27 '15 at 9:56
  • @AmeliePeter I don't think so, the data read by the Python seems to be formatted differently with line feeds terminating the readings. I wouldn't be overly concerned at this stage, the needed code is fairly trivial. – joan May 27 '15 at 10:48
  • Can you please suggest me the correct code to read serial data from my rfid reader? – Amelie Peter May 27 '15 at 11:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.