Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8026

Advanced users • Re: node-red-contrib-rc522 on SPI1

$
0
0
Solution found! but...
Well, because everything was attempted I started to revise every step.
Debugging the code of the node, in /home/pi/.node-red/node_modules/node-red-contrib-rc522/rc522.js, I found the problem.
There is a line
const mfrc522 = new Mfrc522(softSPI).setResetPin(22)
which I suppose sends a reset signal, when the code is called, on the pin 22 which is used by the touch screen.
I only put 37 instead of 22 and the problem of the white screen is gone.

But... when I moved the hardware and SD card from pi4 to pi3 for the test, the RFID reader couldn't read tags.

Statistics: Posted by PiscoM — Wed Mar 13, 2024 10:56 am



Viewing all articles
Browse latest Browse all 8026

Trending Articles