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
77 views

Change UART default pins

On of on my pi zero I think my RXD pin is out. When trying to connect through usb/serial I receive all the loading of the boot and the login console but cannot send anything (thus cannot login). I ...
0
votes
0answers
39 views

Cannot connect to GSM 900A Module

I am working on a project that uses SMS to push data to a blockchain. I bought a GSM 900A Module and connected it to Raspberry Pi 3b+. The connections are as shown in this picture : https://i.stack....
1
vote
0answers
66 views

Communication from Raspberry Pi 3B to Pi zero 1.3 via USB

I have a Raspberry Pi 3B that I need to use to communicate to a Pi Zero 1.3. I am able to SSH into the Pi 3B from my computer via ethernet. I can also SSH into the Pi Zero from my computer via USB. ...
0
votes
0answers
508 views

How can I recieve data from uhf rfid reader's usb port to my raspberrypi controller

I am new to raspberry pi, currently we want to develop gate control with open/close boom-barrier so we are using an UHF RFID reader and a raspberry pi. I bought a RFID reader that has a USB connector ...
0
votes
1answer
62 views

Serial read from arduino not working properly

I am trying to read analog read from ardunio connected to my raspberry pi. Following are my raspberry pi and arduino codes. Raspbery pi: import time import serial ser = serial.Serial('/dev/ttyACM0'...
1
vote
0answers
54 views

Adafruit Ultimate GPS with Rpi 3 “Permission Denied”

I am trying to connect an Adafruit Ultimate GPS to my Raspberry Pi 3 and read data from it using the WiringPi Serial library. I have set the serial connection up and removed the serial console through ...
0
votes
0answers
44 views

arduino to raspberry pi serial communication getting wrong result

am trying to get the heart rate bpm from Arduino to raspberry through the serial communication. #define USE_ARDUINO_INTERRUPTS true #include <PulseSensorPlayground.h> const int PulseWire = 0; ...
1
vote
0answers
66 views

bcm2835-aux-uart 3f215040.serial: unable to register 8250 port - -28

I've compiled LFS for my RPi3B. I've put BCM43430A1.hcd, brcmfmac43430-sdio.bin and brcmfmac43430-sdio.txt in /lib/firmware/brcm/. Copied /usr/src/linux/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b....
-2
votes
1answer
33 views

Ser.write() ,when checked shows only the length

I have used a=ser.write("TEST".encode()) in my code to send data using UART gpio in Rpi. The code shows no error but when I print a,it gives me the length only. Actually i am trying to interface Rpi ...
-1
votes
1answer
704 views

Serial Port & C Code

I have a sensor connected to an ODROID UART (Basically an RPi just a different name for the UART port) and using the WiringPi Serial library. I am able to echo/cat to the sensor via two terminal ...
1
vote
0answers
53 views

C# “/dev/ttyGS0” throws error “Invalid Argument”

I'm working on an application for my pi in C# code. The overall idea is to create a usb "pc status" monitor that I can put inside my PC case. My code that runs on the pi uses a ini file for settings. ...
2
votes
1answer
67 views

How can I make a VT420 terminal on a CH341-based USB-to-serial dongle work?

Situation: I'd like to use my age-old VT420 console on my Pi 3B. As the UART is already occupied, I plugged a USB-to-serial dongle with CH341 chip (lsusb told me that) into one of the USB ports on the ...
0
votes
1answer
1k 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: ...
1
vote
0answers
99 views

RPI serial input from RS232 via MAX232 to Node-Red [closed]

I use Node-Red to monitor serial RS232 data from a home automation box. All works fine for a couple of weeks and then the data is no longer seen. I have to reset the RPI to recover from this. I have ...
0
votes
1answer
198 views

send data from a virtual serial port to a tcp server

I want to send data from my PI (that doesn't have a serial port) to a serial device. now for this I understadn I need to create a virtual port on the pi and send the data from it in windows I use ...
1
vote
1answer
359 views

pymodbus on Raspberry Pi 3B and Energy Meter

Followed this thread on enabling the serial console on the Raspberry Pi 3B. Checked the functionality using this code: dmesg | grep tty Which produced these results: ... console [tty1] enabled ......
0
votes
1answer
174 views

pigpio library serial_wave confusion

I am trying to use joan's pigpio for python to try to write a command from a rpi3 GPIO pin to a peripheral device. the peripheral device uses UART and when it receives a data packet it will then ...
1
vote
3answers
2k views

Serial to USB, no ttyUSB0

I'm trying to open a Serial communication between a Raspberry Pi 3 (model B, running on Raspbian) and a device (a traffic counter to be precise). I've a USB to Serial cable, using the rs232 standard. ...
0
votes
0answers
175 views

pigpio python serial wave output not correct

I am trying to use joan's pigpio to write a serial command on my Rpi 3 gpio 14(UART0TX).My goal is to write a command from the pi to another device. When i send the command i do not see the ...
1
vote
1answer
94 views

Weird output on python IDE terminal

I am trying to get my Pi 3 communicated with arduino but am getting output which i can't understand. My arduino code: char dataString[50] = {0}; int a =0; void setup() { Serial.begin(9600); ...
0
votes
2answers
398 views

Raspberry Pi - Connect and power RS485 device

I am trying to connect a Raspberry Pi to a OSDP card reader. The reader communicates via RS485, and is powered by 9-27V DC. Unfortunately, I have not been able to succeed with a serial connection in ...
0
votes
1answer
477 views

How to connect GSM module to Raspberry PI3 and also using Bluetooth of Raspberry PI3

I want to use Bluetooth of Raspberry Pi3 and also I want to Connect GSM module sim800l to Raspberry Pi3 ,in this instruction Bluetooth will be disable , what is the the best way to use both of them? ...
3
votes
1answer
1k views

UART RX stops reading data after working correctly

I'm trying to read an continuous stream of data from my device (laser altimeter). The device is connected to the UART Rx pin of raspberry Pi 3B+. Everything works fine with this python code: import ...
0
votes
1answer
67 views

Why Raspbian jessie version 8 won't allow communication through GPIO serial pins?

I am running Raspbian Jessie 8 on Raspberry 3 and I followed the answer to the question Why my program won't communicate through ttyAMA0 on Raspbian(jessie)? But I still can't get my program to ...
0
votes
1answer
107 views

Multiple TTL sensors on serial RX GPIO 10

Is it possible to read more than one TTL sensor on serial RX GPIO 10? I know you can add multiple serial sensors on /dev/ttyUSBx Does the same apply to /dev/ttyAMAx ?
1
vote
1answer
226 views

Mono can't see serial port

I followed the instructions here to disable Bluetooth so that /dev/ttyAMA0 is available, which it is. I wrote a small Python script to open /dev/ttyAMA0 and send some random data, and I could receive ...
-1
votes
1answer
66 views

Multiple raspberry pi GPS interfacing

I have a raspberry pi stack (containing 4 raspberry pis). I have a single GPS with serial and I2C output. I want the supply the GPS information to all the 4 raspberry pis simultaneously. Is it ...
1
vote
0answers
187 views

rfcomm service not working for Bluetooth over serial

I'm trying to connect with a terminal to my Raspberry Pi over Bluetooth, however with my current configuration (which is what I have found in numerous places online) when any device pairs and connects ...
0
votes
2answers
87 views

Writing to GPS HAT on Raspberry Pi Zero W Never Returns Anything

I have attached a GPS HAT to a Raspberry Pi Zero W running RASPBIAN STRETCH WITH DESKTOP. When I SSH in to run a simple Python script that writes to the HAT serial port, nothing happens and I am not ...
1
vote
2answers
185 views

Interfacing Arduino with Raspberry Pi [closed]

Can we interface Arduino with Raspberry Pi? I need to interface 16 pressure sensors with Arduino. And get the reading through to Raspberry Pi using serial port communication. Is that possible?
1
vote
0answers
174 views

Setting up a serial connection via bluetooth

I have a GSM HAT module which I am trying to use as a remote sms receiver, which my RPI will connect to using bluetooth. The problem I am facing is setting up a serial connection via bluetooth. Out ...
0
votes
1answer
360 views

Connect multiple SPI e-paper devices to a single Pi

So I'm thinking of getting these 2.9" displays: https://www.waveshare.com/wiki/2.9inch_e-Paper_Module#Working_with_Raspberry_Pi they come with an SPI interface that can be connected to the Pi. Is it ...
1
vote
0answers
36 views

USB Dongle not working if it's connected by default to my Raspberry Pi

I have a USB Dongle That I communicate with it using UART commands. So if I connect my dongle after starting the system I can send commands and I'm able to receive info, But if I leave the dongle ...
0
votes
1answer
383 views

Using Serial to Read Ultrasonic Sensor?

I have an HRLV-EZ4 ultrasonic sensor hooked up to my RPi 3 B+ like so: Serial output --> pi RX (pin 10) V+ --> pi 5V GND --> pi GND I've already gotten it to work with an analog voltage output and ...
0
votes
0answers
61 views

Rasperry Pi and Arduino echo over USB

I am trying to create an "echo server" with Arduino UNO, so that user could send some message to it through Raspberry Pi and receive the same response. On Pi I am using Python and PySerial library to ...
0
votes
1answer
177 views

HC-08 - RPI 3 - Can read but can't write

I use a Raspberry Pi 3 Model B and I have a Bluetooth HC-08 module. I would like to be able to send and receive data. I use the port /dev/ttyS0 and I changed the file /boot/config.txt for "...
0
votes
0answers
1k views

change baud rate of serial port raspberry pi 3 android

I installed lineage os 14 on raspberry pi 3 I connected a gps module with UART port, however, the baud rate of GPS is 9600 but baud rate of /dev/ttyS0 is 115200 I want to change the baud rate of ttyS0 ...
0
votes
1answer
61 views

Passing data from output of a function to be used in a function python

I have a few parts of a weather station together and am running into an issue with functions. the humair fuction returns two values hum and airtemp. The problem is when the sendpost function runs it ...
0
votes
1answer
32 views

Is serial output via USB an option to make a rs232 connection to a pi?

There is a lot to find online to make a serial port with the gio 14 and 15 pins on the pi, isnt a usb to serial converter on a usb port of the pi a good option ? I ask this because i want to use the ...
1
vote
3answers
378 views

Error on changing permissions in serial port

I have been trying to find a solution for 2 days but I wasn't able to find one. I want to change the permission of the /dev/ttyAMA0 but seems to be impossible. I tried with sudo chmod 777 /deb/ttyAMA0 ...
1
vote
1answer
217 views

No parity bit in Serial communication using PL011 uart

I have little experience on UART communication. I am using the PL011 UART instead of mini mart in a Raspberry Pi 3, therefore I should have parity bit. The thing is when I enable the parity bit in my ...
0
votes
2answers
139 views

Memory leak using node-serialport library on pi zero w

Ok, I'm scratching my head here. I am playing with the node-serialport library and when I run this script, the memory is eaten up at a rate of 2MB per second: var SerialPort = require('serialport'); ...
1
vote
0answers
24 views

How to stop yellow and grey boxes on serial console during boot?

I have a Raspberry Pi Zero W running Raspian Stretch. When it boots, it prints grey and yellow square characters to the serial console before displaying "Last login ..." and the login prompt. I ...
0
votes
2answers
185 views

Debricking WNR2000v3 with Raspberry PI and a serial connection?

I don't actually need to debrick this WNR2000v3, I'm just trying to learn how to connect to an embedded device using a serial connection to see if I can do it. I believe I have setup the wires so ...
0
votes
1answer
293 views

Rubbish Values (b'\x00\x00\x00 … ') - UART of Arduino to RPi 3B

I am getting b'\x00\x00\x00 ... ' together with the data I want. For example, my Arduino is writing 'hello raspberry' to RPi. At the RPi, it receives 'b'\x00\x00\x00 ... hello raspberry\r\n '. Why? ...
1
vote
1answer
34 views

Can you get / store readings from a RadioShack 22-812 Digital Multimeter with a raspberry pi serial interaface?

I was looking at an article on debricking an OpenWRT router using it's serial interface by hooking it up to a Raspberry PI when I realized that my old RadioShack 22-812 Digital Multimeter also has a ...
0
votes
1answer
196 views

mqtt on rpi zero w

I have rpi zero w system with below spec. system specifications: micro SD card slot, a mini HDMI port, two micro USB ports (one for power, one for USB), and 512MB of RAM. It has a single-core 700 MHz ...
0
votes
1answer
201 views

Serial connection with raspberry pi to arduino, works only once and needs a hard reset every time

so I am working on a project where I have to connect an arduino to the raspberry pi through serial and then transfer the input from the raspi to another I2C device. So, just to test things out and ...
2
votes
2answers
399 views

How to send bytes to dmx using python

I have a headlight connected to my rpi with dmx cable and a RS422 / RS485 Serial HAT shield (https://www.hwhardsoft.de/english/projects/rs485-shield/). According to the instructions it should be using ...
1
vote
1answer
311 views

Serial communication using GPIO Pins for more than 2 raspberries

I'm doing a project at work which involves multiple (more than 2!) raspberry pies (Model 3 B+) being able to talk to each other (talk to each other means being able to send data of the size of a ...