All Questions
Tagged with serial communication
32
questions
1
vote
1
answer
100
views
Serial data over 30meter shielded Cat5e cable in industrial environment
I'm designing an industrial solution for monitoring and controlling some large raw-material processing machines. What I want to have is an RPi Pico at each piece of equipment that can standalone ...
-1
votes
1
answer
92
views
Can an Arduino open and play video files off a Raspberry Pi with serial communication?
I just want to know if it is even possible to have serial communication from an Arduino Mega to Raspberry Pi 3, to open and play a specific video file stored on the Pi?
-1
votes
1
answer
513
views
Slow UART communication between Raspberry Pi Zero and 4B using pyserial
I'm testing serial communication between two Pi's (Zero -> Pi 4) with Python pyserial library. I am using Zero as camera with preprocessing and sending preprocessed data to Pi 4 via UART (/dev/...
0
votes
1
answer
256
views
RS485 Interface on Raspberry Pi is not initialized
I have a working RS485 shield mounted on my Raspberry Pi device. And I use it successfully for modbus rtu communication. So I am pretty sure that my raspberry device and RS485 interface is ok. I tried ...
2
votes
1
answer
766
views
How to turn off RX and TX pins
I have a Raspberry Pi 4 with Buster and on top of it a 4G HAT.
This HAT allows communicating via RX and TX pins.
I want to communicate with this HAT via RX and TX pins but with an Arduino Nano. It ...
1
vote
0
answers
89
views
New to Pi I need to connect a device via serial communication, how do I teach myself?
I've been asked to connect and control a finger-sensing device to a Raspberry PI. There is a protocol to respect called OSDP. It supposes a serial connection on top of RS485.
I'm a seasoned C/C++ ...
1
vote
1
answer
4k
views
Rpi3B+ buster USB to Serial (/dev/ttyUSB0) Communication Problem
I'm trying to establish a serial communication between my Raspberry PI 3 B+ - running on Raspbian 10 Buster - and a testing machine I have. The normal behavior of the machine is to send test related ...
2
votes
1
answer
427
views
USB serial communication between Raspberry Pi 3 and Roboteq motor controller [closed]
I am new to Raspberry Pi and it's communication. I need to make a project where I want to use a Raspberry pi 3 as a monitoring device for motors and battery system. The Raspberry pi itself ...
0
votes
0
answers
691
views
RPI GSM Add-on SIM800 AT commands are not working
I am trying to send sms using RPI Add on v22 module and Raspberry-pi 3+.
I have mounted this module on top of Raspberry-pi.
When I use minicome using
minicom -D /dev/ttyS0 -b 115200 -o
I get the ...
0
votes
0
answers
259
views
Communicate between two Raspberry Pis using USB-Ethernet cable
I have two raspberry pis I want to communicate between. For convenience, let's say one is always the talker and the other is always the listener. The listener's ethernet port is occupied by another ...
0
votes
0
answers
338
views
reading EMG on Rpi3 using Teensy 3.2 on usb serial
We are using MyoWare EMG sensor and reading the RAW EMG pin as well as filtered SIG pin on the board. What it basically does is sends an analog value as a fraction of the input Voltage, which in this ...
4
votes
2
answers
9k
views
How to send and read a string from Raspberry pi to Arduino via serial interface?
I was trying to send and receive data between Raspberry pi and Arduino UNO.
I'm able to send and receive a string from Arduino to Pi using Serial.println.
I spent hours searching a better tutorial or ...
-1
votes
1
answer
966
views
Serial communication error
Could someone help me to fix this error while trying to connect RPi 3 B+ to an inverter in order to read data via CH340G usb module,
Below the used code :
from pymodbus.client.sync import ...
1
vote
1
answer
843
views
Modbus communication
I try to read data from a device by raspberry 3 B+.
those two devices are connected via CH340G usb module (USB to Serial (TTL) adapter).
Concerning the python code; here's:
from pymodbus.client....
0
votes
1
answer
12k
views
Could not open port /dev/ttyS0: Errno 13: Permission denied: '/dev/ttyS0'
I am getting this error whenever I am trying to run this code:
import serial
from time import sleep
ser = serial.Serial ("/dev/ttyS0", 9600) #Open port with baud rate
while True:
...