Questions tagged [serial]

is the process of sending data one bit at a time, sequentially, over a communication channel or computer bus. Traditionally "serial" relates to a three (or more with hardware handshaking) wire system (TIA-232-F), now using ∓25V Voltages. Technically speaking the specialized SPI (Serial Peripheral Interface) and I2C (Inter-Integrated Circuit) buses are serial communication systems as well - use one of those tags if they would be more appropriate!

Filter by
Sorted by
Tagged with
1
vote
1answer
48 views

SIM800 GSM Module To Raspberry Pi UART Serial Communication Problem

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 ...
0
votes
0answers
30 views

How do I find what serial port is in use? [closed]

I'm connecting to a flight controller with a serial port on a raspberry pi 0. Pins UART tx and rx to be exact. To communicate, I have to specify the port that the flight controller is connected to. ...
1
vote
1answer
59 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 ...
0
votes
0answers
21 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++ ...
0
votes
2answers
35 views

txd and rxd pins with same numbers at the end of name

So I was looking at alternate functions of the GPIO pins of the Raspberry Pi 3b+ and found that some GPIO pins do support txd and rxd alternate functions. However some are named txd0/rxd0 and some are ...
0
votes
2answers
38 views

using GPIO pins as TX/RX pins

I'm working on a project that needs multiple TX/RX pins, but the Raspberry Pi that I have only has 1 of these pins. Can I use the GPIO pins as TX/RX pins? Or is there an adapter available somewhere? ...
1
vote
1answer
74 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 ...
0
votes
1answer
43 views

Receiving data with an unwanted character

I'm sending data to my Raspberry Pi 3 from an Arduino Mega via serial communication, but sometimes the Arduino sends a strange character, in most of the time it sends a mirrored question mark. Why ...
2
votes
1answer
43 views

USB serial communication between Raspberry Pi 3 and Roboteq motor controller [on hold]

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 ...
1
vote
2answers
44 views

SIM800L sends corrupted responses via serial, can I enable parity check?

I am adding a SIM800L module to a home burglar alarm system I'm building around a RPi3. I've already encountered, and overcome, the usual power problems, and I can successfully use the module to make ...
0
votes
0answers
24 views

Node-red on Pi: Unable to send/receive to Arduino Leonardo via USB serial

I'm connecting a Arduino Leonardo to Pi4 (P3b+ has the same issue). I wish to send and receive data from it in node-red (using serial nodes from the standard palette). I can see that Arduino is ...
2
votes
0answers
53 views

Hardware controlled RTS on a Pi4 not working accurately

We need to use RS485 to talk to one of our custom tools. We need to use hardware controlled rts/cts. I've read so many articles about this but nobody ever says it works for them with fast timing and ...
0
votes
1answer
74 views

Barcode Scanner using RX & TX (GPIO) PIN

Im having some issues reading from a barcode scanner module.. The scanner works just fine if it is used with a USB adapter, my goal is to use the RX & TX GPIO of my RPi to control it. What I am ...
-1
votes
1answer
71 views

Response to a incoming call using python script

I am trying to implement a system using Raspberry-pi and SIM-800 modules. Now I can see incoming calls from my python script, but it can not parse data. import serial serialport = serial.Serial("/...
0
votes
0answers
22 views

How to change COM port setting on Raspberry Pi using Ubuntu Mate

I would like to ask how to change USB port and COM port setting on Raspberry Pi 3 B+ using ubuntu Mate 18.04? I want to connect my sensor to the raspberry pi, and need the com port number. Any ideas ...
0
votes
0answers
39 views

Linux host can't connect to Raspberry Pi Zero serial gadget console

I followed this guide and enabled a serial console over USB. I can connect and log in from Windows but my Ubuntu laptop can't access the serial console. The Raspberry shows up ad a tty device in /dev/...
0
votes
0answers
46 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 ...
1
vote
1answer
43 views

Can't return any values from ttyUSB0

I'm using a SICK S300 scanner connected via Diagnostic cable to my Raspberry Pi, and it shows the connection as /dev/ttyUSB0 however I can't retrieve any data from it whatsoever. Here is a simple ...
0
votes
0answers
14 views

Can't read from serial0 using PySerial when python script starts at boot [duplicate]

I have a Python script that uses Pyserial, connects to '/dev/serial0' and reads from it in loop. The script works fine when starting it manually after the RPi is up. However, when I added the script'...
0
votes
0answers
30 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
0answers
43 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 ...
0
votes
2answers
31 views

How to enable BlueTooth when TX/RX already being used

We have the TX/RX Gpio already being used on the Raspberry Pi 3B+ . I believe the onboard Bluetooth uses the same ? How can I get bluetooth working when our TX/RX is already being used. Right now I'...
0
votes
0answers
25 views

How to pass through usb serial data

I have two slave USB devices, one microcontroller and one real-time target machine (the latter is interfaced with a USB to RS232 cable). I would like to send serial data from the microcontroller to ...
0
votes
0answers
16 views

Sending a list of commands

I have a list of user created commands that get sent serially with a set wait time in seconds. What is the best way to do this in python and have the ability to hit a button to start, pause and stop ...
1
vote
2answers
426 views

How to read Wiegand serial data? (Rx/Tx)

Ok, I am losing my mind... Why is this so damn difficult? Current situation: - 12V Access control device that is connected like this i.e. Wiegand D0 to Tx and D1 to Rx, with voltage dividers. - ...
1
vote
0answers
26 views

USB Serial Set Up (Magnetic Card Reader)

I recently bought a USB magnetic card reader (MSR 100) I'm not sure how much documentation is out there, but I've found that it works serial over USB. However, I'm having some trouble setting it up on ...
0
votes
0answers
34 views

Unable to open serial port GPIO pins

I'm trying to connect a barcode reader on the UART of the GPIO pins of the Raspberry Pi 3B+. I've installed minicom to read the serialport and have allready added the user pi to the groups tty and ...
1
vote
0answers
74 views

Use OBDII over WiFi

I think i've tried everything at this point, and nothing seems to work. I'm using an ELM327 WiFi Dongle, connected it to the Pi, created a socat using: sudo socat pty,link=/dev/ttyUSB0,waitslave tcp:...
0
votes
0answers
85 views

Interfacing SIM800L with PPP [LCP Terminated by Peer]

I am using SIM800L, and managed to interface it with RPi3. After successful configuration on /etc/ppp/peers/rnet, my file looks like this connect "/usr/sbin/chat -v -f /etc/chatscripts/gprs -T ...
-2
votes
1answer
67 views

Serial to telnet - in reverse

Most people want to telnet into a Raspberry pi and use the serial ports to connect to something else. They want the Raspberry to be the telnet server. But I want the Raspberry pi to be a telnet ...
2
votes
2answers
114 views

How to create and connect a virtual printer via RS232?

I try to setup my raspberry pi 3 as a virtual printer. My scenario is the following: Legacy System (running Windows 7) -> COM port -> cross-wired rs232 cable -> rpi rs232 extension board for GPIO -...
2
votes
1answer
46 views

raspberry pi serial communication function (serialdev)

I'm working on a radar project and I want Matlab to send commands and collect radar data remotely from the USB port of a Raspberry Pi 3 B+. My setup is as follows: I have the radar connected to the ...
0
votes
0answers
21 views

Sim800L stops responding after working 10-12 days, after that it needs power reset

Sim800l is not responding anymore after a few days of continuously working and requires restart/reset. It won’t recover by itself or respond to any commands unless a restart or power off is made. If I ...
2
votes
3answers
510 views

Separate SPI data

I am using the AD/DA Hat from WaveShare https://www.waveshare.com/wiki/High-Precision_AD/DA_Board I want to realize a continuous readout of the data. It worked very well so far, but I am not so ...
2
votes
1answer
93 views

outb() equivalent in Python for GPIO

I am a very beginner on programming and raspberry usage, tho I think I learn fast. I am trying to convert an old program (not mine) that was written for Linux on C++ for communication with a printer ...
0
votes
1answer
353 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 ...
0
votes
0answers
25 views

FTDI USB Serial Device converter now disconnected from ttyUSB2

---Setup--- 1) We are evaluating using Raspberry Pi Compute Module CM3. 2) USB-HUB and USB-UART are boarded on the IO board. 3) USB-HUB is working in Self-power mode. 4) VBUS-detect of USB-HUB uses ...
0
votes
1answer
144 views

LTE modules connected to USB hub cannot be accessed

The USB-HUB is self-powered, and two LTE modules are connected via USB-SERIAL to USB-HUB. We are facing a problem is that,The devices which are connected to USB-HUB can not be accessed. Is there any ...
2
votes
2answers
380 views

Is my GPS module fried?

I've tried reconnecting an old GPS module to the UART pins on my raspberry pi, but it seems it's not able to get a satellite fix. I've had troubles trying to get gpsd started, but I'm able to test ...
1
vote
1answer
172 views

Raspberry Pi Zero W solar power setup

Good day, I have a Raspberry Pi Zero W that I would like to deploy onto a tower that is supplied with 12VDC power from a photovoltaic solar panel. I'm currently looking at powering the Pi Zero W ...
1
vote
2answers
252 views

Permission denied using Serial

I'm using some XBee to build a mesh network and everything is working, BUT only if I run the code using sudo. Now that the code is "Finished" i want to remove this need, because i know that it isn't ...
0
votes
1answer
193 views

Xbee-API python

I'm trying to use my Raspberry Pi B+ as a gateway so others sensors, also with xbee, can send data and get a few kind of commands by it. The problem is that i can only read the data with the simplest ...
1
vote
2answers
173 views

Is there a way to connect a DHT22 humidity sensor to a USB Port?

Forgive how green I am. Can I use a USB to TTL cable to connect a DHT22 sensor (not the module) to a raspberry pi and then listen in to the USB TTY in Raspbian to pull data off of the sensor? ...
0
votes
1answer
27 views

Picam and USB serial comms issue

Are there any known issues with serial comms & the Picam module? When I have a serial channel open (over USB) & write to it whilst viewing the input from a Picam on screen, the view port will ...
-1
votes
1answer
84 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
0answers
75 views

Issues with the IOT Bit 4G hat

I would like to have some internet connection everywhere with my Raspberry Pi. To do so I bought the IOT Bit 4G hat for the rasoberry Pi ( https://www.mouser.be/new/altitude-technology/altitude-tech-...
1
vote
1answer
106 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....
2
votes
0answers
87 views

Threading on Raspberry pi Serial Port

I have multiple Raspberry Pi(RPis) using which I have to send data (wireless,using Long Range modules connected to TX RX of RPi) on just one Rpi. All the RPis(Ones sending data) use different ...
0
votes
1answer
44 views

Transfer JPG over serial between 3B+ and Zero W

I would like to start by saying that I am rather new to Raspberry Pi, but I have programmed Arduino. At the moment I am trying to get a Pi Zero W to transfer a JPG over serial using python and the ...
1
vote
1answer
126 views

Serial commands over Ethernet RPi 3b

I am trying to send LinBus protocol serial commands over the ethernet port of my Raspberry pi to a linear actuator connected on the other end via ethernet. Currently, I am using pyserial script to ...