Access GPIO TX RX serial ports ? #348
Replies: 4 comments 8 replies
|
You commented out the provider statement. This is needed. That address is a path. U should be able to ls /dev and see the entries |
Uncomment the line //.provider("pigpio-serial") Don't change it, just uncomment it. I wasn't certain on finding the address so I used google to find instructions. |
|
and be certain you enabled the serial port interface in raspi-config |
|
I see data in the printlines with what appears to be the login prompt. I think you need to research why as that ASCII is present as it will interfere with your expected data. I know you mentioned removing the serial console data from the cmdline.txt but it appears the OS still believes it is a console connection. In the earlier printouts seeing Data six times you must have received 6 bytes of value less than 32 and a few displayable ASCII bytes, But the fact you later see the login prompt all this data maybe invalid. |
Uh oh!
There was an error while loading. Please reload this page.
Access GPIO TX RX serial ports
I'm trying to read the RFID data being sent via the 125khz Rfid Reader Module + Antenam using the PI4J V2 but without success. What could I be doing wrong?
`public void listenerTXRX() {
try {
Keep stopping at this place
console.print("Waiting till serial port is open"); while (!serial.isOpen()) { Thread.sleep(250); } All reactions