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
15 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
23 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
18 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
16 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
91 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
12 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
20 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
23 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
23 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
43 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
53 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
42 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
14 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
404 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
64 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 ...
0
votes
1answer
89 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
16 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
137 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 ...
1
vote
2answers
169 views

Is my GPS module fried?

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 ...
1
vote
1answer
93 views

Raspberry Pi Zero W solar power setup

Good day, I have a Raspberry Pi Zero W that I would like to deploy onto a tower that is supplied with 12VDC power from a photovoltaic solar panel. I'm currently looking at powering the Pi Zero W ...
1
vote
2answers
78 views

Permission denied using Serial

I'm using some XBee to build a mesh network and everything is working, BUT only if I run the code using sudo. Now that the code is "Finished" i want to remove this need, because i know that it isn't ...
0
votes
1answer
54 views

Xbee-API python

I'm trying to use my Raspberry Pi B+ as a gateway so others sensors, also with xbee, can send data and get a few kind of commands by it. The problem is that i can only read the data with the simplest ...
1
vote
2answers
97 views

Is there a way to connect a DHT22 humidity sensor to a USB Port?

Forgive how green I am. Can I use a USB to TTL cable to connect a DHT22 sensor (not the module) to a raspberry pi and then listen in to the USB TTY in Raspbian to pull data off of the sensor? ...
0
votes
1answer
24 views

Picam and USB serial comms issue

Are there any known issues with serial comms & the Picam module? When I have a serial channel open (over USB) & write to it whilst viewing the input from a Picam on screen, the view port will ...
-1
votes
1answer
37 views

Serial communication error

Could someone help me to fix this error while trying to connect RPi 3 B+ to an inverter in order to read data via CH340G usb module, Below the used code : from pymodbus.client.sync import ...
1
vote
0answers
31 views

Issues with the IOT Bit 4G hat

I would like to have some internet connection everywhere with my Raspberry Pi. To do so I bought the IOT Bit 4G hat for the rasoberry Pi ( https://www.mouser.be/new/altitude-technology/altitude-tech-...
1
vote
1answer
56 views

Modbus communication

I try to read data from a device by raspberry 3 B+. those two devices are connected via CH340G usb module (USB to Serial (TTL) adapter). Concerning the python code; here's: from pymodbus.client....
2
votes
0answers
46 views

Threading on Raspberry pi Serial Port

I have multiple Raspberry Pi(RPis) using which I have to send data (wireless,using Long Range modules connected to TX RX of RPi) on just one Rpi. All the RPis(Ones sending data) use different ...
0
votes
1answer
38 views

Transfer JPG over serial between 3B+ and Zero W

I would like to start by saying that I am rather new to Raspberry Pi, but I have programmed Arduino. At the moment I am trying to get a Pi Zero W to transfer a JPG over serial using python and the ...
1
vote
1answer
76 views

Serial commands over Ethernet RPi 3b

I am trying to send LinBus protocol serial commands over the ethernet port of my Raspberry pi to a linear actuator connected on the other end via ethernet. Currently, I am using pyserial script to ...
4
votes
2answers
1k views

How many serial ports are on the Pi 3?

How many serial ports are on the Pi 3? There is one on the GPIO pin that goes to ttyS0. Is there a separate one for USB? I have read somewhere about /dev/ttyUSB0. Is that a separate serial port? ...
1
vote
1answer
66 views

Sixfab LTE IOT HAT throwing continuous AT Command

I was working on getting my new Raspberry Pi HAT that I have received and tried the simple example just to see if it is working fine. I have not been able to send a text message to my mobile phone. I ...
2
votes
0answers
35 views

DS18B20 reading double after long use

I installed two DS18B20s on a pi almost a year ago. They have worked great until the last couple months. I am doing a bit of a stress test on them and have been polling them every second for almost a ...
0
votes
1answer
121 views

Serial Communication from Raspbian using Python to Arduino

In Terminal its working but not working using python code. My Code: import serial from time import sleep ser = serial.Serial ("/dev/ttyS0") while True: received_data = ser.read() ...
1
vote
2answers
77 views

Error while using wiringSerial

I am new to the Raspberry subject and only figure out some basics. I want to use a Nextion-Display withe a Raspberry pi 3b+ and communicate over the UART pins. For this I found wiringPi and that it ...
2
votes
2answers
239 views

data packet of hex values sent over serial

I have googled, read, experimented etc and still have had no luck sending a packet of 5 hex values over serial. Here is what I have tried: import serial import time ser = serial.Serial( port='...
2
votes
2answers
354 views

Serial to Arduino totally non-responsive

I'm trying to connect my Arduino to my Raspberry Pi using the GPIO pins. I understand that the Pi uses a 3.3V signal while the Arduino uses a 5V signal so I bought a bi-directional logic level ...
0
votes
0answers
19 views

Using Device on /dev/ttyAMA0 instead of Wifi/Ethernet

How can I redirect all the trafic through /dev/ttyAMA0? I have my RPi connected to a LoRa-Mote over serial. Now I want to be able to send all my internet trafic over the antenna of the mote. Reason: ...
1
vote
1answer
52 views

Serial comms to Arduino unexpcted behaviour

R Pi 3 B+, Arduino Mega 2650 I am trying to send motor control instructions via user input from the Pi to the Mega. Pi side code... import serial port = "/dev/ttyACM0" rate = 9600 s1 = serial....
1
vote
1answer
55 views

Serial comms & USB camera in parallel/threaded?

My project is currently using OpenCV to controll a pair of motors via hardware PWM (am using the pigpio library for GPIO control). The video input is from a USB webcam. I would like to add some ...
1
vote
0answers
41 views

Do Rpi3 UART devices inherit their device ID from the on-board UART0 controller (GPIO pins 8 & 10)?

I am working on a device prototype which reads load cell data to an Arduino which sends the load cell data via (hardware, not USB) Serial to the Rpi3 running Win10 IoT. The communication link ...
0
votes
1answer
154 views

Several serial ports with c++

Trying to work on Raspberry Pi 3, Model B V1.2 with several serial ports with C++ code. Previously I should say that when I use only one ports everything works like a charm, so ports configuration is ...
0
votes
0answers
54 views

specifying baud rate when using PyBluez Bluetooth library

I'm trying to establish Bluetooth connection for a hc-05 Bluetooth module. When using the "serial library" to setup the connections, you can specify the baud rate using "serial.Serial("*******", baud ...
0
votes
0answers
96 views

Sending Data from LoRa connected to Raspberry Pi

My objective is to connect a LoRa module with RPi and send data using it. So I made the connection:(Rpi to LoRa) 3v3 (Physical Pin 1) to Power Source (Pin 1) Tx (Physical Pin 8) to Rx (Pin 3) Rx (...
4
votes
1answer
560 views

RS232 to Raspberry Pi Zero W

I know this may be a dumb question but can you connect a RS232 Tx, Rx, and Ground from a device directly to the Rx, Tx and Ground on a Raspberry Pi Zero without having to get a Max3232 or something ...
0
votes
0answers
36 views

Can't Login To Pi Model 3B+ Via Serial Connection To PC Using PuTTY

Ok, so basically I have installed raspbian-stretch onto the pi using an SD card. I was having issues getting anything to show over the serial connection using putty so I connected the pi to a TV using ...
0
votes
1answer
64 views

Cannot detect ttyS0 in python RPi3b+

I'm using the Rpi 3B+ and understand the hardware uart is used by the bluetooth. I'm OK to use the other uart I've followed several threads and believed I've done all I can. Enabled the Uart in ...
0
votes
0answers
67 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
62 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. ...