Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
0answers
15 views

How does PigPio serialRead handle framing errors?

I want to use a slightly modified version the "bit bang" pigpio serial read code so I can get timestamps for each character. The serial data stream to be read is likely to be error prone, since it ...
0
votes
2answers
56 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
35 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? ...
0
votes
0answers
17 views

What to use as device path for sysfs binding ttyS0 to custom kernel module?

I'm currently trying to bind a custom kernel module to ttyS0 of my Raspberry Pi Zero WH. With raspi-config I set the Interface Options for Serial to The serial login shell is disabled The serial ...
1
vote
1answer
28 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
0answers
13 views

Receive data in Raspberry Pi 3 from Windows Embedded PC

I want to know what would be the best way to connect the Raspberry Pi 3, without using Ethernet, Wi-Fi, Bluetooth or RS-232, to receive data from a program in the PC. Can I do a USB to USB connection, ...
0
votes
1answer
30 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
0answers
47 views

RFID Module (EM18) interfacing!

I have the hardware setup shown in the picture below. The RFID reader module is connected to a usb to serial converter. The converter has pinouts for Tx, Rx, PWR OUT and GND. How can I use these to ...
0
votes
1answer
18 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
51 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 ...
0
votes
0answers
42 views

Issue with running python script at start

Im currently running a python script at boot up using the rc.local method. it works great when i have my mouse, keyboard and monitor connected. However, the end goal of this project is to be able to ...
-1
votes
1answer
54 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 ...
0
votes
0answers
49 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
1answer
43 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 ...
0
votes
0answers
12 views

Help with troubleshooting serial communication with Win10

I seem unable to get access the RPi from my Win10 PC over the serial i/f, for either a pi-3 or a pi-z-w. For the pi-3 I have turned the bluetooth off and enabled uart=1 (not sure if the order these ...
1
vote
2answers
89 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?
0
votes
0answers
35 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
0answers
65 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
26 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
53 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
30 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
55 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
357 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
20 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
29 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 ...
0
votes
3answers
132 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 ...
0
votes
1answer
67 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
41 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
20 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
69 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
91 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? ...
0
votes
0answers
15 views

Rasberry Pi and Sim900A. Trouble with phone calls

First of all I apologize for my English) I connected Raspberry Pi 3 b with sim 900A correctly as many suggests. My sim900A has its own power supply with 2A/5V Task was to take phone calls ...
1
vote
1answer
33 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
0answers
119 views

Windows 10 IoT Core read serial data like in linux

So I'm currently building an app in UWP to run on Windows 10 IoT Core. So far everything works like a charm. Except I'm using an Dragino GPS/LoRa module to get GPS data and process that. Now, in ...
0
votes
1answer
81 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
46 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
197 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
90 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 ...
0
votes
3answers
536 views

Arduino-Raspberry Pi fast data communication through serial

I am trying to sample from two analog sensors at highest frequency possible (using and Arduino Uno, MPC3002 ADC), then send the data to raspberry pi to save them as binary file. Arduino and MCP3002 ...
0
votes
1answer
149 views

Raspberry Pi Zero W - connect Micro USB to FTDI to arduino board

I'm using this FTDI on a Raspberry Pi 3 Model B to connect an arduino board via USB. can I do the same thing on a Raspberry Pi Zero W using this USB OTG Micro USB to Mini USB to connect the FTDI to ...
0
votes
0answers
44 views

python 2.7 vs pyserial - no _port

I really have tried searching through all the forums. confusing. The makers of Roboclaw wrote their test pythons scripts (and Roboclaw class) with Python 2.7. As of now, will NOT work with python v3. ...
0
votes
0answers
14 views

I want to read my rpi2 values from arduino serial screen [duplicate]

im using OpenCV and making some object tracking over the webcam. So i need to read my camera values (objects location x,y ). And i want to read it from arduino pins. How can i do that ? thx already.
0
votes
2answers
331 views

Raspberry pi 3 reading serial port

I have a python code that reads the serial port of the raspberry pi 3to obtain GPS positions from a fona808. The code works for some time and then throws this error. Traceback (most recent call last):...
1
vote
1answer
68 views

Can I use the USB connector to transfer plaintext data (via serial console / socket) to a linux PC?

I have a script on my pi that currently simply outputs some numbers from a sensor to the console, several times a second. I am using this for a demonstration, and need a way to reliably (not over the ...
0
votes
0answers
23 views

raspberry pi- local host -terminal at computer

I am working on serial communication between local host and terminal name termite at computer. local host send and receive string to termite using raspberry pi. in it php code is used to web ...
0
votes
2answers
63 views

Can't get serial port working (header pins, Raspberry Pi 1 Model B)

I have read quite a lot of tutorials and tips about the issue, but serial port just doesn't work. There has to be some configuration that I have missed. The setup Raspberry Pi 1 Model B (oldest ...
1
vote
0answers
175 views

Connect multiple sensors on a single USB to RS485 adapter

On tindie I bought a RS485 soil moisture sensor with a USB to RS485 dongle. I want to add more sensors for monotorring multiple plants. Since RS485 is a bus system, it seems basically possible to ...
2
votes
1answer
151 views

Blank terminal in Pi0 UART connection

Following this tutorial exactly: https://learn.adafruit.com/adafruits-raspberry-pi-lesson-5-using-a-console-cable/overview i.e.: Drivers are installed UART line is added and enabled I get a blank ...
0
votes
0answers
95 views

Raspberry Pi Zero W with SIM800l not work

I created a project with Raspberry Pi 3 and SIM800L and everything worked fine. So, to reduce the cost of the project, I got a Zero W RPI. But the SIM800L did not work on the serial port. I even added ...
0
votes
0answers
369 views

Can't Login to Pi0 console from Pi3 B+ via UART Serial USB-TTY Adapter

I am new to RPi's so bear with me please: I am trying to log in to the Pi0 console via sudo screen /dev/ttyUSB0 115200 but I just get a blank screen. Ouput of dmesg | grep tty: [ 0.000000] ...