-
Notifications
You must be signed in to change notification settings - Fork 18
GPIO configuration #1
Comments
Thanks for the feedback! I'll report back here once I get things working :) |
With the following I can confirm that the serial device
Now I don't get an error when trying to open the port, but things hang when trying to send the Any ideas? Just for reference, I have the following PN532 device: |
In looking into the |
I don't know if you got sorted, but when I used the pins suggested by others, it wouldn't work.
(numbers as appear on board here: https://pinout.xyz/) You also need to disable Bluetooth (on pi3) as it uses a slot you would otherwise use for this |
I have things hooked up on
Which I imagine should be the same. I'll have time to get back to this later today or next week, and I'll let you know any details once I figure things out. Thanks a ton for the help! |
So I tried the other pin layout (bluetooth disabled), and I am connected as I was before. As things were hanging on sending the
Which yields an empty string, thus it continually looping through with It SEEMS like I'm communicating ok with the device when I send the
Which yields Any ideas? Thanks!!! |
Well... I have mysteriously fixed things. After installing I unplugged and re-plugged the Tx/Rx connections on the PN532, and then it started working. My solder connections seems solid, so it must have been a crappy connection with the supplied cable from my PN532. Thanks for all of the help everybody! |
Sometimes you need to cycle the power on the PN532 Also, you weren't doing |
Yes |
Does this depend upon a particular pin configuration?
According to a diagram I found for the RasberryPi 3 I am using, it seems like the following would be right
GPIO 8 > Tx (SDA)
GPIO 10 > Rx (SCL)
Thanks!!!
The text was updated successfully, but these errors were encountered: