Hello all
I am currently trying to interface my Arduino Uno with a Pi 5 and am not having much success. I am trying to send a integer number to the Arduino then read it back to the pi. If I put a print statement in the Arduino code the Pi seems to read it fine but when I try sending a message to the pi then read it back things get a bit weird. Attached is a screenshot of the python code and the output and a shot of the Arduino script. I'm very new to trying to use serial communication between to devices so maybe its reporting the correct number and I just need to decode it into something else. Does the output seem like something usable? or just a bunch of nonsense
I am currently trying to interface my Arduino Uno with a Pi 5 and am not having much success. I am trying to send a integer number to the Arduino then read it back to the pi. If I put a print statement in the Arduino code the Pi seems to read it fine but when I try sending a message to the pi then read it back things get a bit weird. Attached is a screenshot of the python code and the output and a shot of the Arduino script. I'm very new to trying to use serial communication between to devices so maybe its reporting the correct number and I just need to decode it into something else. Does the output seem like something usable? or just a bunch of nonsense
- Image may be NSFW.
Clik here to view.
- Image may be NSFW.
Clik here to view.
Statistics: Posted by DStansberry1 — Wed Apr 17, 2024 3:38 am