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

Wierd output in python from serial connection output

Output: b'00000-000000\r\n' b'450302198011281530\r\n' b'' b'' b'+\x00--To--\r\x12-\x00000800\r\x12-\x00000800\r\x12' b'-\x00000800\r\x12-\x00000800\r\x12' b'-\x00000800\r\x12-\x00000800\r\x12' ...
0
votes
1answer
31 views

Unable to read serial port with python script but can write [closed]

I have a microcomputer that is initiated from a pico terminal script establishing a ttyUSB0 and baudrate. The micro is programmed only to respond to a small list of alphanumeric inputs. Enter x into ...
0
votes
1answer
29 views

Opening multiple serial port slows down USB speed

note that this is a duplicate of my question on stackoverflow I am currently working on a software that use Python3 (pyserial) to interface with a lot of serial port (~24) on a Raspberry Pi Compute ...
0
votes
1answer
35 views

Raspberry Pi 3B Serial Port Flow Control Issue

I am trying to connect ESP-Prog to Raspberry Pi Model 3B. The Pi is back-powered by 5V power supply connected to the hat on the Pi. By default, serial port /dev/ttyUSB1 is connected for Espressif ...
1
vote
2answers
166 views

what is the equivalent of scp for the serial console?

I am configuring my raspberry pi device of the serial console (like this https://learn.adafruit.com/adafruits-raspberry-pi-lesson-5-using-a-console-cable/overview) How can I do the equivalent of scp? ...
1
vote
1answer
17 views

UART - wiringSerial.h vs standard Linux open/close

I'm making an application that uses the UART port from the 40pin headers and I found online that there's a library called wiringSerial.h I was wondering what's the difference between wiringSerial.h ...
0
votes
0answers
30 views

RPi4 Serial port not working on either Raspberry OS or Ubuntu

I've been struggling to get my RPi4 serial working over pins 8,10. I have both a Raspberry OS image and an Ubuntu 18.04 image for the RPi4. In either case, when I use RASPI-CONFIG to disable console ...
0
votes
2answers
33 views

Best resource for raspi-config equivalents in config.txt

I am trying to figure out how to edit my /boot/config.txt with the same functionality implicit in raspi-config. For example, I'd like to know how to enable/disable for "P6 Serial" in this ...
0
votes
0answers
44 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 ...
1
vote
1answer
44 views

How come Rpi GPSD can read GPS data using USB to serial cable, but not using Rpi serial pins TxD, RxD?

I've been trying to setup an RPi0 with a GPS module. This is the GPS antenna I'm using This is the GPS module I'm using to connect to the Pi I've tried the module with USB on my desktop (Windows 10) ...
0
votes
0answers
49 views

Raspberry Pi 3 Model B FTDI USB to Serial converter driver problem

I've been suffering to introduce my USB to Serial (RS232) FTDI converter on Raspbian 10 on my Raspberry pi 3 Model B. In Windows 10 it works without installing an additional driver. FTDI drivers ...
0
votes
0answers
34 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
2answers
266 views

How can Rpi change Neo-6M GPS update rates?

Hi i'm tryng to change the update rate of my gps tracker(neo 6m ublok) i know the byte that i need to send are 0xB5,0x62,0x06,0x08,0x06,0x00,0xC8,0x00,0x01,0x00,0x01,0x00,0xDE,0x6A i've tried echo -e &...
0
votes
0answers
27 views

Unable to verify serial port is working on my pi

I've connected pins 8/10 to setup a loopback to verify my serial port is working. I'm using minicom to verify that it's working correctly to see if my input will echo back to me and I'm not getting ...
0
votes
0answers
42 views

How to disable output to serial (GPIO) during boot

I'm trying to drive a motor control over the Raspberry Pi's GPIO serial pins (GPIO 14 and 15) I've disabled the serial console, however, during bootup of the Raspberry PI, it still sends data over ...
0
votes
0answers
18 views

guizero stuck until serial input

I'm a newbie to Raspberry PI and guizero. I'm trying to change texts and set some menus visible using button and I have to print serial data on the screen. My problem is when I change text and hide ...
1
vote
1answer
54 views

How do I use a Raspberry Pi to install OpenWrt firmware on a BT HomeHub 5a or PlusNet Hub One router

I have a spare BT HomeHub 5a clone (actually a PlusNet Hub One router). I would like to install the OpenWRT firmware on it, in order to reliably use it as a wired wifi range extender without a DHCP ...
2
votes
2answers
42 views

Why is UART-USB link inserting many unexpected bytes when using /dev/serial0 with dev/ttyUSB0?

My first post and my first Pi project. I'm experimenting with data transfer between Pi and external UART-enabled devices. As part of this, I want to prototype simple bi-directional data transfer ...
0
votes
1answer
41 views

Serial communication with arduino over bluetooth

I am using rfcomm to connect to an Arduino nano (HC-06 bluetooth module) from my RPI 4B+. It works flawlessly and the two devices are able to communicate with no issues. I need to be able to connect ...
2
votes
0answers
60 views

Controlling a laser rangefinder via the raspberry pi

First, a disclaimer that I am an electronics newbie. I got my hands on a laser rangefinder which looks very similar to this: On the top left corner, there are two sets of pins. The first set has ...
0
votes
1answer
168 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....
0
votes
0answers
21 views

minicom cannot write to UART on certain laptop, works on different one

I have connected UART according to https://learn.sparkfun.com/tutorials/headless-raspberry-pi-setup/serial-terminal and set enable_uart=1 and dtoverlay=miniuart-bt in config.txt. Running the system, ...
1
vote
1answer
27 views

Buildroot - udev disables serial console

I have a custom buildroot image for RPi 0w. Initial experiments went well, however as soon as I added udev package to buildroot something strange happened to console output. I can see the whole log ...
1
vote
0answers
42 views

How to run “ import serial” and “import cv2” in one python file?

I am actually creating my project wherein I can control my raspberry pi in my pc using FPV Radio Telemetry. The scenario is my pc will send string data like "red" and "blue" to my pi. After my pi ...
1
vote
0answers
43 views

Pi4 RTS pin big delay

I am trying to use modbus with RS485 on my Pi4. I'm using modbus_tk with pySerial library, and I managed to get controllig RTS pin while transmitting data, but I cant get it running faster - when TX ...
0
votes
0answers
20 views

Is there a secure way to run a web interface that interacts with Serial/USB?

Terrible title but I will do my best to explain. I have a simple robot that uses an Arduino Uno plugged into the USB. To interact with this as serial it requires me to run the application under sudo. ...
1
vote
0answers
62 views

Raspberry pi 4 model b uart is unable to write

I got some questions about uart in raspberry pi 4 model b. I used to run my program in rpi 3 model b+, but everything went wrong when I tried to do the same thing on pi 4. First of all, each time I ...
1
vote
1answer
17 views

Using Serial and Bluetooth device (external device) same time especially for using external BT dongle

I want to use Serial and BT same time on RPi 4B (Python) I thought I cannot use it so I attached usb blutooth dongle (CSR4.0?) on it. But I only can find references on the net using default BT when I ...
1
vote
1answer
36 views

RPI Serial Communication through USB

I am trying to set up serial communication between my Raspberry Pi Zero W and my PSoC. I want to do this through a normal microUSB to USB 2.0 converter cable, which looks somewhat like this picture: ...
1
vote
0answers
50 views

How do I connect to an Arduino Nano/Uno Serial using GPIO and a Level converter

How do I connect to a Arduino Nano for serial communication using the GPIO pins? I understand that USB is easier, and already use that for development, but I don't have room in my enclosure for a big ...
1
vote
0answers
36 views

RPI3b+: UART serial communication problem

I have my RPI setup to communicate serially with another board. Currently, I have a usb to serial converter which is plugged into one of the RPI ports. This works well but, I want to take that out and ...
0
votes
0answers
17 views

Sending an image from one Raspberry Pi 3B to another using Rx/Tx

I'm working on a project where I need to transmit a picture from one Pi to another using serial communication .. it is not possible to send it via the network .. it is required in the project to send ...
2
votes
1answer
98 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 ...
0
votes
1answer
62 views

TTL serial connection doesn't work

I am trying to connect Raspberry Pi with a TTL serial cable.I couldn't get it to work. My Debian packages are up to date.I activated serial and gpio connections via raspi-config. I try this command ...
0
votes
2answers
168 views

Reading serial data from thermal camera MLX90640/GY-MCU90640 with Raspberry Pi 4 returns garbage characters

I am trying to read data from an MLX90640 thermal camera using the GY-MCU90640 board based on this tutorial. VIN is connected to 5V (4) GND is connected to GND (6) RX is connected to TX/GPIO14 (8) TX ...
0
votes
1answer
37 views

What can I do to avoid an 'Error: unrecognized option -mmcu=avr5' when I try to Verify sketch in Arduino IDE on Raspbian?

I have Raspberry Pi 3 Model B and Arduino Uno board, and I intend to make them communicate via Serial port connection. I've already faced some problems with my Tools -> Serial Port greyed up before, ...
1
vote
0answers
37 views

Controlling multiple arduinos from a pi 3b+

I'm working on a robotics project where we need to control 2 motors, read data from 8 ultrasonic sensors, display a 2 digit number on 7 segment displays, drive servos and a few more things. The ...
0
votes
1answer
82 views

Outputing DMX using Bitwizard Hat

I have a Raspberry Pi 4B with a Bitwizard DMX Hat which uses the serial port. I try to output DMX from the board to a LED light using QLC+ software, but it's not working. I tried some commands and I ...
0
votes
0answers
42 views

SIM800C GSM Module with USB to TTL Serial CH340 Module

I'm planning to use this instead of connecting the pins of the GSM module to the pins of the RPi3B. Since the voltage for the TxD and RxD pins of the SIM800C is 5V and the TxD and RxD pins of the ...
1
vote
0answers
40 views

Communicating with TPI synthesizer using pyserial

I have a raspberry pi 3b+, and I am trying to communicated with a TPI synthesizer model 1001-B. I want to use Python and specifically the pyserial module to communicate with a serial port - i.e. the ...
-1
votes
1answer
253 views

How to send variable data from RPi to Arduino Mega

I am sending one integer variable from rpi to arduino. However, it is showing an error. Everything else is correct and here is the code which sends the data:- from pubnub.pnconfiguration import ...
1
vote
0answers
33 views

Can i transfer files between two rapberry pi's using Aux cable?

As a part of project, i have to transfer any file from one pi to another pi through Aux cable.
3
votes
1answer
54 views

ds18b20 + USB serial adapter

I have this "QinHeng Electronics HL-340 USB-Serial adapter" and a couple of DS18B20 temperature/humidity sensor but I can't get to read data using digitemp. Also tried with this #include <stdio.h&...
3
votes
1answer
88 views

Raspberry Pi Zero W serial communication

I just got a RPI zero w and I want to communicate to a device through serial comm. I also have a MAX232 board and a RS232 TTL converter. I want to use one of this boards to be able to communicate with ...
2
votes
2answers
273 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 ...
3
votes
1answer
155 views

How to control Odrive with Raspberry pi? [closed]

How to interface Odrive with RPi? didn't find much information on the internet so want to know who has done something like this before. trying to use this code:- import odrive import time import ...
0
votes
0answers
43 views

Default network/interface

After trying to set up a static IP address and doing something (I'm not sure what went wrong) not quite right, I'm left with a broken network/ interface. I'd like to reset it to its default state (...
2
votes
0answers
138 views

How to use Rpi UART to debrick a bricked LinkSys G (WRT54GL) Router?

I was working on a project that 'debricks' my bricked router(WRT54GL). Since this is my first time with Serial communication on any device, I have some questions to ask. This is the pinouts for the ...
0
votes
0answers
364 views

“Hciuart.service dependency failed”, Timed out waiting for device /dev/serial1

I have the following problem: Since I wanted to use the integrated Bluetooth module on my Raspberry Pie 3 B+, I come across the following problem: Hciuart.service: Job hciuart.service/start failed ...
3
votes
0answers
107 views

Coin acceptor misbehave when connected on raspberry pi

I have a Bill note acceptor and a Coin acceptor, and I have wrote a program in C# to communicate with these two machines, and it worked perfectly on windows, after that I migrated this application to ...

1
2 3 4 5
12