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
3
votes
0answers
53 views

Problem sending analog read values over serial

Ok I apologize as I have edited this quite a bit, but I have narrowed down the problem a bit more. For some reason I can't transfer values from my arduino analog pins?? I am trying to send values ...
1
vote
2answers
20 views

Rpi zero w serial code python

So i set up my rpi zero w to comunicate at 11500 serial with an arduino... the arduino sends over serial lines such as "~1 11443". My idea is that the ~ character tells the pi when to look for data, ...
0
votes
1answer
45 views

Problem running the serial module with Python

I am trying to use the serial port on the Raspberry but when I run the example below I have the message: TypeError: 'module' object is not callable import time import serial ser = serial.serial( ...
0
votes
2answers
26 views

Enable /dev/ttyAMA0 on Debian (not Raspbian)

I have an RaspberryPI 3+ with Debian installed on it. I'am trying to connect a serial device (Raspbee) via the GPIO pins like this. Under Raspbian this worked by enabling UART in raspi-config after ...
3
votes
1answer
54 views

Vintage terminal as RPi console

I want to connect a vintage 70s era terminal with a Raspberry Pi. The terminal uses a DB-25 connector and features hardware flow control (RTS/CTS/DTR etc). What would be the recommended way to hook it ...
1
vote
0answers
66 views

Raspberry Pi 3 B+ (Buster) can't control Dynamixel AX-12A with Raspberry Pi 3 B+ (Buster) with half duplex communication

I have a project to make mobile robot with Dynamixel AX-12A as the wheel, so i changes the AX-12A to Wheel Mode with CM-530 and it works well. I follow the guide from http://www.oppedijk.com/robotics/...
1
vote
1answer
50 views

Using EnOcean PI 868 with raspberry PI4

first of all: I'm new to raspberry I.ve just bought a raspberry PI 4 together with an EnOcean PI 868 module to set up a house automation system. To make it run I've tried the steps described on the ...
0
votes
0answers
22 views

Bluetooth hci0 device suddenly missing on 4B+

After a recent reboot of my 4B+ I noticed that my bluetooth connections had stopped working. I noticed that bluetoothctl reported no device, and further that sudo hciconfig hci0 up indicates Can't get ...
2
votes
2answers
86 views

Rpi Zero and Projector's USB RS232 Serial Cable Interface/Connection Problem

I know there are similar posts on this topic, but I've scoured them all and haven't been able to figure this out. I'm trying to control my projector via a R232 port. I have a USB to R232 cable, ...
0
votes
0answers
57 views

How to solve MPU9250 overflow problems?

I'm now working with mpu9250 for my master thesis, but I'm quite new to hardware device. My goal is to collect the data at the sample rate and postprocess these data via allan deviation. So I just ...
1
vote
1answer
107 views

How can Rpi4B python UART talk to XY PWM Signal Generators?

Currently I am trying to automate a coil winding machine using stepper motors. I wrote a Python code to send frequencies to the stepper motors. But for some reason, the frequencies produced by ...
1
vote
0answers
20 views

How can I view networking interface logs over UART?

I have created a (needlessly complicated) networking setup that I tried to create by following this guide. I have colosally screwed up and now my RPi will disconnect randomly and requires a reboot to ...
2
votes
1answer
299 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 ...
2
votes
1answer
78 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 ...
1
vote
0answers
23 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
41 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
174 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
273 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
51 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
52 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 ...
1
vote
2answers
63 views

SIM800 UART Serial Corrupted Response Problem

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
32 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
80 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
131 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
102 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
24 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
74 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
59 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
49 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
31 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
67 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
44 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
17 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
826 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
53 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
39 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
100 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
129 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
80 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
156 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
48 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
27 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
572 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
191 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 ...
2
votes
2answers
845 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
42 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
157 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
642 views

Rpi UART to GPS Module Connection Problem

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 ...