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
0answers
38 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
21 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
15 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
47 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
51 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
49 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
24 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
36 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
34 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
32 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
30 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
151 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
30 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
47 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
79 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
175 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
83 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
34 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 (...
1
vote
0answers
88 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
100 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
94 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
vote
1answer
214 views

Receive data on the raspberry with c# using mono

I want to send strings between the raspberry and a windows computer via serial and with c#. This works from the raspberry to the computer as shown below. In the picture you can see that I have sent a ...
0
votes
1answer
110 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, ...
1
vote
0answers
45 views

How to receive serial data with c# on a raspberry with mono [duplicate]

Hello I want to make a program for the computer and the raspberry, this program must ensure that the raspberry and the computer can communicate via serial. I have already found a code that does this, ...
0
votes
1answer
41 views

Porting Arduino code to Raspberry PI

So I have some simple code for an Arduino device that I am trying to run on a Raspberry Pi, and I'm having some issues. Here is the code: #include <VirtualWire.h> byte message[...
0
votes
0answers
25 views

Looking for USB to USB serial cable

I having a raspberry pi zero w and a normal laptop as host. Instead of using UART, I want to know is it possible to connect to the USB port in raspberry pi zero w as a serial device via USB to USB ...
1
vote
1answer
57 views

SIM900A with Raspberry Pi 3 Weird Error and Behaviour

I am working on integrating Sim900a on Rpi3B. As usual connecting to TX->Rx, Rx->Tx (GPIO14, GPIO15 in Rpi) - following diagram from this link: How do I connect GSM SIM 900A to a Raspberry Pi 3? When ...
0
votes
1answer
37 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
0answers
32 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 ...
0
votes
0answers
51 views

Basic Python interface to use with UHF RFID reader?

I have a Chinese UHF RFID reader that I'm using with a RasPi for a warehouse tracking project and it came with only a Windows SDK. The dense protocol document they provided in very rough English is ...
-1
votes
1answer
68 views

Raspberry UART ports (GPIO14 & 15) show only “\xff”

I am trying to use UART port to receive a signal from Wiegand, but I am only receiving \xff when baud rate = 9600 b'\xff' b'\xff' b'\xff' b'\xff' b'\xff' b'\xff' b'\xff' b'\xff' When changing the ...
0
votes
0answers
50 views

How to configure the RaspberryPi-B1 RFID reader by Eccel?

I am trying to configure the B1 RFID hat on my raspberry pi since it is a cleaner solution than using a USB RFID reader. However I have ran into some issues. Firstly, the documentation supplied by ...
2
votes
0answers
36 views

How can I reconfigure the UART on the fly?

I have a Pi Zero with Raspbian which I'd like to use as a logger device with WiFi (it's not a W, I'm using an external WiFi stick). I need the UART to communicate with a microcontroller but sometimes ...
5
votes
3answers
317 views

Serial output in case of no OS

I am using the raspberry pi 4. I have no screen connected to the raspberry pi, I do everything trough ethernet cable. I am currently changing kernels and thus sometimes I cannot boot, since I created ...
1
vote
1answer
130 views

Serial communication over USB port of Pi Zero

I want to send/receive data between PC and Pi-Zero over USB port near PWR port. I followed the instructions here https://www.tal.org/tutorials/raspberry-pi-zero-usb-serial-console But I don't enable ...
1
vote
1answer
144 views

Receiving login shell data via serial port

I'm writing code to send data to and from a raspberry pi (pi zero running raspbian lite) via serial port, using 1 python script on either side. I've set everything up so that I can use port='/dev/...
3
votes
0answers
154 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
37 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
57 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
49 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
69 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 ...
2
votes
1answer
153 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
2answers
185 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
136 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
147 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
155 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
295 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
23 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
999 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
104 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
2 3 4 5
12