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

Beginners • Re: Problem with serial data transfer - RPI 3B+ and Arduino Nano + MFRC522 RFID Board

$
0
0
It sounds like the issue could be with the serial buffer or configuration on the RPI3. Since it works on RPI4 and Windows, try these steps:

Check if the serial buffer clears properly. "I've added a code on nodeJs to clear the buffer,o success"
Ensure baud rate and flow control match between the Arduino and RPI3. "9600 on both codes"
Verify no software serial conflicts on the custom OS. "There is no logging of errors, the problem is silent"
Test with an externally powered USB hub to avoid power issues. "I've tested, also with a different PSU, HAT with Battery + 12v2A PSU, same problem"
Also, add logging in your NodeJS code to track serial port status over time. "I can see the nodeJs sending data, but the Arduino never replies"

Statistics: Posted by ffirmo — Thu Feb 06, 2025 10:43 am



Viewing all articles
Browse latest Browse all 7512

Trending Articles