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
1k 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] ...
2
votes
2answers
333 views

Connecting sim-card module to Serial Pins

I am trying to connect a sim-card (GSM) module to my RPi. I've connected its serial pins, to the serial pins on the Pi. I then edited the /boot/config.txt file by adding enable_uart=1 to the end. ...
0
votes
0answers
202 views

Send Data using Raspberry Pi's Serial Number

Actually I have many Raspberry PI 3 Model B and I am able to find Serial Number of my Raspberry PI using Python script. But I can't able to send data from Cloud to specific Raspberry PI using it's ...
1
vote
0answers
683 views

Raspberry Pi Zero W + Adafruit Thermal Printer Only printing limited number of characters

I'm trying to set up an Adafruit Thermal printer Mode: CSN-A2-T with a Raspberry Pi Zero W that is running Raspbian GNU/Linux 9.4 (which I believe is Raspbian Jessie). I need to be able to print ...
2
votes
0answers
2k views

Raspberry Pi and LIN Bus

I want to implement a LIN Bus using a Raspberry Pi 3. The RPi will be the master controlling slaves on the LIN Bus. My idea is to use the Raspberry Pi UART, but I am not sure to what extent this ...
2
votes
2answers
446 views

Is it possible to establish an SSH connection with the raspberry pi using the Serial Port?

I'm using a Raspberry Pi 3 running Raspbian. All I have available is an RS-232 port through an USB adapter to my PC running Ubuntu 16.04. Is it possible to establish an SSH connection using the RS-...
-1
votes
2answers
159 views

Problem in accesing serial port

I am trying to get access to the /dev/ttyS0 file in an attempt to interface sim808 to the RPi via TX and RX connection. However, when I am in the /dev directory, when I type in /dev/ttyS0 I get the ...
0
votes
2answers
615 views

Cannot connect to USB GSM Modem using Python

I am having trouble connecting to a 3G usb modem using python. when I try, in python interpreter: import serial ser = serial.Serial("/dev/ttyUSB1", timeout=2) I get: Traceback (most recent call ...
0
votes
1answer
151 views

Printing Serial Port Not Advancing Line

I have a project in which an Arduino is reading a sensor and printing that value to the serial port. When connected to the serial monitor in the Arduino IDE on my PC, the data is printed flawlessly. ...
1
vote
1answer
79 views

Unexpected data over /dev/serial0

I'm using a Raspberry Pi B+ to connect to the Adafruit Mini Thermal Receipt Printer using a slightly modified version of their provided python library. I've been able to connect to the printer and ...
0
votes
0answers
47 views

How do I make bluetooth work on the Raspberry Pi3 after disable for serial gpio?

I use serial gpio before but now want to use back the bluetooth function.How do I make bluetooth work on the Raspberry Pi3 after disable for serial gpio?
0
votes
1answer
770 views

USB to serial RS232 mouse converter

I need a mouse on old dos 486dx4 computer. This computer has a RS232 port only. I want a general solution to use usb mice on rs232 port. I'm new to raspberry capabilities, I'm asking if is possible ...
1
vote
0answers
74 views

How to use AT over uart and ppp0 over ttyS0 at same time

I have a cellular data card that connects through ttyS0. I can talk to it via Putty using AT commands, or from Python using /dev/ttyS0. When I enable a ppp0 interface over ttyS0 to communicate with ...
1
vote
1answer
1k views

Unable to make Serial communication both ways

This is my first attempt at understanding how serial communication on pi work, so I am testing this code: ''' UART communication on Raspberry Pi using Pyhton http://www.electronicwings.com ''' ...
1
vote
0answers
2k views

How do I test if my UART port is working? Simple example… loopback-test

I am working on a NMEA(GPS)-datalogger for a drone. I followed the tutorial from fishandwhistle and createt this script: #!/usr/bin/python3 import os, time, sys, glob, datetime, syslog, pynmea2, ...
0
votes
1answer
634 views

Serial communication with JAVA

I installed pi4j.deb and I I wanted to compile a code using this library but I got this error Exception in thread "main" java.lang.NoClassDefFoundError: com/pi4j/wiringpi/Serial at mainclass....
0
votes
2answers
268 views

Unreliable serial data transmission from RPi 3 to PC

I'm trying to send some data serially to my PC from an RPi 3, but I'm receiving gibberish most of the time. I have already performed the prerequisites: disabled Bluetooth and enabled GPIO 14 and 15 ...
0
votes
1answer
54 views

How to bind modem device to network interface

I have a Huaweii modem connected to a raspi zero w running on a Raspbian stretch lite, on the standart Raspbian wheezie, this modem was shown in ifconfig output as usb0, but now on stretch lite there ...
0
votes
2answers
3k views

ZFM-60 fingerprint reader via GPIO

I'm trying to connect a ZFM-60 fingerprint scanner (https://aliexpress.com/item/Free-Shipping-USB-Fingerprint-Sensor-Support-Android-Windows-System-Optical-Fingerprint-Reader-Sensor/32475559052.html?...
0
votes
1answer
37 views

Modifying what is shown in the uART

I am working on establishing user communication (one may say a basic UI) from the user's PC to my Raspberry Pi, where the RPI would accept pre-defined commands from the user via uART and then process ...
1
vote
1answer
1k views

Reading data from a PL2303 serial USB converter

My Pi 3 is connected to a solar panel system with an USB to RS232 cable. Unfortunately I am unable to receive any data with the Pi so far. I got it working under Windows. What I've checked on my Pi so ...
0
votes
1answer
520 views

How do you put the serial values(from arduino) to a specific grid in Tkinter? (Python 2.7)

I tried to put values in the grids from a string. But the values are not showing or updating. How do you put serial values(from arduino) to a specific grid in Tkinter? When I run the code, no values ...
3
votes
1answer
1k views

Can I use the TX/RX pins and the USB ports for multiple serial devices?

I have two devices I want to use (GPS module and a PM2.5 sensor) that both use serial communication. I know you can't throw two devices on the same serial line. However, I've seen some badly explained ...
1
vote
2answers
681 views

Eldat easywave usbserial device not detected

I have a pi 3. If I put a usb serial rfxcom device in the USB port I get a ttyusb0 serial device with ftdi drivers, but I have another USB stick with serial interface easywave which does nothing, on a ...
1
vote
2answers
215 views

How to connect to the pi over serial [duplicate]

So I am trying to connect to my pi over serial. I have never used serial, so I hope what I have is fine. I can't order anything new. I have a USB to serial adapter (RS232 I think, you can check the ...
0
votes
1answer
831 views

serial communication with raspberry pi and a device

My apologies. I really needed to clarify my problem. So I have this setup: My PC(my device) is connected to one end of an RS232 cable. The other end of the RS232 cable is connected to a R232 to USB ...
0
votes
1answer
879 views

RPi+RDM6300 Serial port not working

I'm trying to use my RDM6300 module with the Raspberry Pi 3 as show on this site: https://behindthesciences.com/electronics/raspberry-pi-rfid-tag-reader/ I disabled the terminal tty by putting in /...
1
vote
2answers
582 views

Serial communication using RS232C

I am new to Raspberry Pi and GPIO communication, I am going to make a program to create a communication between my laptop and raspberry via serial com. After referred some tutorial, little confused ...
3
votes
2answers
2k views

Receiving data over USB to GPIO

I'm trying to figure out how "plug the GPIO pins into a computer's USB" to receive data from said computer. The results from my searches have been either too confusing or not helpful. Please be gentle,...
1
vote
0answers
332 views

Raspberry Pi won't send data through serial port

I have simple app in python that should send data through serial port (serial0/ttyS0): import RPi.GPIO as io import time import serial import array io.setmode(io.BCM) ser = serial.Serial(port="/dev/...
1
vote
0answers
2k views

Very slow serial port reading

I have the following code, used on an RPi2: import serial import time # Set up serial port ser = serial.Serial( port='/dev/ttyAMA0', baudrate=921600, parity=serial.PARITY_NONE, ...
1
vote
2answers
76 views

Incorrect TTYS0 input from sensor

I am trying to read data from a LV-MaxSonar-EZ0's TX pin connected to the RX pin on a Raspberry Pi Zero W. The problem I'm running into is that the data I'm getting does not fit what the sensor's ...
0
votes
1answer
1k views

Data transfer of UART over USB too slow

TL;DR : The PI was not the issue. The sender was. Take a look into my answer. long story I am facing a performance issue right now on a test setup i use to investigate limitations for my upcoming ...
0
votes
1answer
1k views

Serial Communication in Raspberry pi 3 B+

I want to communicate between Raspberry pi 3 B+ and GSM GPRS A6. I tried and I am unable to send data to GPRS Module from Raspberry pi. Now, I know that GPIO serial port is disabled by default in ...
3
votes
2answers
297 views

Failing to read the /dev/ttyAMA0 port in CSHARP ()

I have a GrovePi board, attached to my Raspberry PI 2. I want to read the GPS sensor, using the RPISER port on the GrovePi in my Universal Windows App (Windows 10 IoT Core), but it fails with the ...
1
vote
0answers
69 views

Struggle to read data with serial port of Rasp3

Sorry if I am asking something very basic, did not find any good post on how to handle this.. I am following a tutorial on how to communicate with my PI 3 using UART. I followed theses steps: Delete "...
1
vote
1answer
819 views

Serial USB-RS485 failing to read on Pi but not on Ubuntu laptop?

I am reading values from a Battery Management System using two, serial USB-RS485 adaptors (ftdi). I am doing this over MODBUS using the minimal modbus library and python: # Bank A # port name, slave ...
2
votes
0answers
322 views

Multiple servo motors with serial commands

I am trying to control multiple servo motors with a Raspberry Pi. I am using a USB to TTL cable for this. I am currently sending following serial commands for the movement. --> gpio -g mode 18 pwm --...
2
votes
2answers
678 views

Pi to Arduino Serial Communication: Repeating character on LCD [closed]

I'm trying to send multiple characters (two digit numbers) from a Raspberry Pi 3 (Python 2.7.9) to an Arduino Uno via USB. The Arduino then prints these numbers to a 16x2 LCD panel. So far, I can ...
0
votes
1answer
95 views

Max voltage while using serial data transmission on the GPIO

I want to comunicate a device with the Raspberry Pi using the serial interface. I know the RPi uses 5v logic, but the issue is that my device uses 9v. I have read that the max voltage that can be ...
1
vote
4answers
38k views

python serial.Serial() module not found error

I am trying to connect to the serial ports a Raspberry Pi 3 Model B running Raspbian through Python. import serial works fine but ser = serial.Serial("dev/ttyAMA0", baudrate=9600) yields this error: ...
0
votes
0answers
384 views

waveshare 3.2" LCD touchscreen touch functionality stopped working

I'm using this touchscreen on a raspi zero w and I'm currently working on a python application. I was working with the python serial module since some time and everything was working fine, but since ...
0
votes
0answers
163 views

Sumprea SFM5020

Somebody help me to talk with suprema SFM5020, i read datasheet and some comands, init this code but don't work... import serial comport = serial.Serial('/dev/ttyAMA0', 9600) result = comport....
7
votes
1answer
469 views

Bit waveform clarification

I have been trying to learn more about bit transmission through the uart, and I have the following code in python to transmit information: import serial ser = serial.Serial( port='/dev/ttyAMA0',...
-1
votes
1answer
4k views

Jessie: How to deal with Python open of /dev/ttyACM0 not sending RST signal like it does with /dev/ttyUSB0

For my data loggers I use Python to open a serial port to Arduino Nano or Uno units that perform voltage and temperature measurements. In operation, the Python program reads data from the serial ...
1
vote
1answer
590 views

High speed bit bang GPIO reading

I'm trying to establish a UART communication link by means of bit-banging. For the TX part, I am using the pigpio lib to form a 1Mbaud wave of bits (gpioWaveAddSerial). I have checked it and it with ...
1
vote
0answers
2k views

How to connect to Raspberry Pi from linux PC with serial connection

I've bought a Raspberry Pi 3 model b and a new design of Berryclip which is supposed to include the USB to serial adapter as an additional microUSB port for the Raspberry. Now I've been told that the ...
0
votes
0answers
409 views

RP3 to Arduino - Why am I receiving unwanted bytes with pySerial?

I'm new to RP3, but fairly comfortable with Arduino. Maybe this is an easy one. I am trying to use pySerial to send a single byte from a Raspberry Pi 3 to an Arduino Mega 2560, like so: #RP3 python ...
0
votes
1answer
242 views

How to use the DMA-DREQ/PANIC threshold of the hardware-PWM

I'm using the hardware PWM that is described on page 138 of the BCM2835-ARM-Peripherals document. The description of the DMAC-register (page 145) indicates that one can set the FIFO-threshold at ...
0
votes
2answers
557 views

Problem with usb serial RPI -> Arduino

I'm working on a robot, more precisely on his head which have to track an human face. I'm using a RPI which will detect the face and then send to the Arduino the angles for both servomotors. I ...