All Questions
86
questions
0
votes
2
answers
263
views
SOLVED Incorrect baud rate on RPI 3 serial port
I have written an app to communicate with an intelligent UPS. It works fine on a Raspberry Pi 2, but seems to operate at the wrong baud rate on a Raspberry Pi 3 model B running Raspbian bullseye.
This ...
2
votes
3
answers
2k
views
UART usage with Ubuntu PI3 Model B
Can someone tell me the steps what I need to do tu get a serial communication to work?
I have a raspberry pi 3 model b rev 1.1 with Ubuntu Server 20.04. I need to communicate with a sensor via serial ...
1
vote
1
answer
494
views
How to enable serial communication on Rasbpian Buster or the lastest OS right out of the BOX?
Latest Raspbian Buster OS and Raspberry Pi 3 V1.2 2015
This I can't get my head around this. Why can't I set up serial communication on Raspbian Buster for Raspberry Pi3 very easily after following ...
0
votes
1
answer
2k
views
Read binary data from serial port and save in file
I am link modem to pi3 via serial port and configure this port .
When i receive data in my python software from serial port and save bytes in file, i note i receive too mutch data ,
I am receiving ...
2
votes
0
answers
579
views
pySerial - UART - Determining when a message has actually been sent (callbacks?) (RTS/CTS hacking?)
For reasons (explained at the end of the post) I need to have a pin change state immediately as the UART finishes outputting a set of bytes.
I'm using pyserial & pigpiod on a RPi3B+ and bluetooth ...
0
votes
1
answer
1k
views
How to implement serial event detection for request /response operation with Tkinter
I am working an application where I read two sensor values in every 200ms and show values in Tkinter window .
My issue is in my application I have to response request from master PC through serial ...
1
vote
1
answer
337
views
Delay/Lag when controlling motors with arduino from raspberry pi
I'm making a car-type-thingy where I control motors connected to an arduino with a raspberry pi via serial communication. I'm using the adafruit motor shield to control the motors. I want to control ...
0
votes
0
answers
48
views
4B having issues with USB serial and booting with USB ports populated
first time OP'er here I have two issues which I do not know if they are related.
Some quick background about my setup
I have 4B 4GB pi. I have 3 USB2.0 webcams, the webcams have their cables spliced ...
0
votes
1
answer
10k
views
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
I am trying to read RFID code from RFID reader by using RPI.
This is my code:
import serial
from time import sleep
import RPi.GPIO as GPIO
GPIO.setwarnings(False)
GPIO.setmode(GPIO.BOARD)
GPIO....
2
votes
2
answers
891
views
How can I get libserial for Raspbian?
I've got a hard time installing libserial on my Raspi 3B with the recent Raspbian: Both the libserial docs, and the Debian package directory suggest to install the libserial-dev package but a
sudo ...
0
votes
1
answer
2k
views
Rpi Python interfacing RS232 to RS422/485 Converter Problem
I am working with a project where I need to read data from my device(i.e ADAM 4520)using serial to USB converter.
1st, I tested with my PC using hyper terminal and with Raspberry Pi 3 using GtkTerm, ...
0
votes
1
answer
88
views
Same code different output between Pi3 and Pi4
I got a simple rfid reader (brand unknown) connected to the serial0 rx port of a Pi4. Uploaden the following code and works perfect.
class RFID():
def __init__(self):
self.ser = serial....
1
vote
0
answers
173
views
Could not read all bytes from /dev/ttyS0
I try to send some data to a module which connected via UART /dev/ttyS0, I send a standard command to module and module send me back a 13 bytes acknowledgment, but the first 5 bytes of ack not ...
1
vote
1
answer
4k
views
SIM800 GSM Module To Raspberry Pi UART Serial Communication Problem [closed]
I am new to Raspberry Pi Zero and I want to connect it with a GSM module for GPRS connectivity. I bought the SIM800A GSM module but its LED is not even blinking one single time.
I am able to turn on ...
2
votes
1
answer
2k
views
Need advice for connecting multiple arduinos to raspberry pi
I have a project in hand where I need to connect 5 arduinos as slaves to Raspberry Pi. Load Cells, Reed Switch, Solenoid lock will be connected to each of the arduino. The arduinos need to send the ...