0

I'm trying to hook up my Elechouse v1.1 RFID UART module to my Raspberry Pi. I haven't been able to find any example code or guides on this, but I'm sure it's possible. Hooking up this module to an Arduino and opening the Serial Monitor works fine. I can read cards and so on by uploading their code to my Arduino.

Would something like this be possible? It's a simple module with only TX, RX, GND, and 3.3v or 5v.

1

The Elechouse v1.1 RFID uses MRFC522 chip and has an option to connect using SPI or UART.

The Arduino examples on their site uses UART and it looks simple enough that you can port it to python.

Once you have connected the module to the Pi (the module seems to use 5V UART so you'll need level converter like this so that it is safe to use with the Pi), you have to write 0x02 to the module and wait to read data back from the module whenever you bring a Mifare card close to the module.

The module also has SPI pins broken out which are 3.3V logic and compatible with the Pi. There are several examples (here, here and here)to use it with the Pi, so I would recommend you to solder the SPI headers and try those examples out.

  • Would you recommend SPI or UART? I don't have any headers long enough laying around right now. – MortenMoulder Nov 10 '16 at 6:38
  • I would say SPI. Even though it is harder, there are libraries available which should make your life easier. You should be fine with normal though-hole headers and jumper wires – karan Nov 10 '16 at 13:36

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.