View: 11059|Reply: 4

RFID RC522 over SPI ( using /dev/spidev0.0)

[Copy link]

1

threads

7

posts

84

credits

Registered member

Rank: 2

credits
84
Published in 2016-2-28 20:52:50 | Show all floors |Read mode
Edited by yogesh at 2016-2-28 20:53

Has anyone ported RC522 RFID reader over SPI on OP?

RC522 porting on RPi is heavily depend on  gpio library of bcm2835.

I have tried porting existing RC522 project using WiringOP andorangepi_PC_gpio_pyH3 with no luck.

Best way to avoid gpio library dependency is port using user space driver using/dev/spidev0.0.

if anyone tried this or some pointer implement will be great help.

I am using latest OS (5.04) by armbian and SPI is working ( atleast spidev_testshows its working )

1

threads

7

posts

84

credits

Registered member

Rank: 2

credits
84
 Author| Published in 2016-3-1 04:22:33 | Show all floors

1

threads

12

posts

47

credits

Novice

Rank: 1

credits
47
Published in 2016-3-17 05:22:05 | Show all floors
yogesh replied at 2016-3-1 04:22
Got it woking

http://forum.armbian.com/index.php/topic/617-wip-orange-pi-one-support-for-the-upc ...

my op one is not reading card id ?

2

threads

5

posts

30

credits

Novice

Rank: 1

credits
30
Published in 2017-2-12 16:44:12 | Show all floors
volkancc replied at 2016-3-17 05:22
my op one is not reading card id ?

@vokancc
Did you manage to resolve the issue. I am facing the same issue despite following exact same steps as described in the link.

3

threads

6

posts

46

credits

Novice

Rank: 1

credits
46
Published in 2017-4-4 17:32:42 | Show all floors
It works for me half a year ago, now tried it again and it do not work, same steps, just  new armbian release and different board, no errors displayed, but no readings, checked my cables twice, change RC522 board, no success
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list