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!

734 questions
17
votes
1 answer

What is /dev/ttyAMA0

complete newbie here. Can someone please tell me what /dev/ttyAMA0. I read that it is the TxRx pins. But what is it? is it used to refer to the pins or their address? is it explicitly the Rx or the tx pin?
12
votes
4 answers

How do I get the data from the serial port?

I have a Ciseco XRF radio module and a Slice of Pi expansion board. Using the program 'screen' works fine; I can see data being transmitted to the XRF module. How do I get the data from the serial port, so I can do some processing on it? I tried…
user518
  • 179
  • 1
  • 1
  • 4
10
votes
2 answers

How to configure serial port settings of /dev/ttyAMA0?

I want to access the serial port by some BASH script files via /dev/ttyAMA0. How do I configure the serial port settings like speed, parity even/odd?
Robert
  • 338
  • 2
  • 3
  • 11
5
votes
3 answers

Raspberry Pi used as a cheap serial-to-WLAN converter

I want to use my Raspberry Pi as a serial-to-TCP converter. The Raspberry Pi should be a TCP-server that accept one TCP client (because more connections would end in a complete mess on the serial port!). I want to connect to the Raspberry Pi from a…
feedc0de
  • 229
  • 2
  • 3
  • 9
5
votes
2 answers

Connecting a Pi to a Projector via RS232

I have recently purchased a projector, and on the back, there is a Round RS232 port. After a quick google, I found this document which seems to describe a protocol that MIGHT (I'll need to do more research) be used to control the projectors…
topherg
  • 497
  • 1
  • 5
  • 17
2
votes
2 answers

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 -> /dev/ttyAMA0 port on latest Raspbian I try to…
2
votes
1 answer

cannot see RS232 serial data on Raspberry Pi

I have a Model B Raspberry Pi and an Serial Pi RS232 Interface. I am running Raspbian Wheezy on my RPi. I configured the RPi using a Serial Guide, with particular attention to the section titled "Reconfigure the RPi console port to to be used as a…
cornernote
  • 151
  • 1
  • 4
2
votes
2 answers

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='dev/serial0'' baudrate=9600' …
mScientist
  • 107
  • 1
  • 1
  • 6
2
votes
0 answers

Serial port works with minicom but not echo and cat

Please help me with this problem I have 2 x raspberri pi zero W connected together with serial port 6-6 8-10 10-8 Minicom to minicom works fine Minicom to cat works fine echo to minicom works fine echo to cat does not work I suspect the problem is…
Kallie
  • 41
  • 5
2
votes
1 answer

Raspberry pi and serial

I want to design a simple application to write data from the raspbbery pi to my pc. My questions are : When raspberry pi starts I understand that it writes to the serial port boot messages. Can I disable it ? Do I need a FTDI chip in order to…
opc0de
  • 644
  • 5
  • 11
  • 18
2
votes
3 answers

9 bit serial communication and parity error detection

I need to work on a serial protocol that uses the 9th bit as a 'wakeup' bit. All bytes are transmitted with the 9th bit in zero except for the first one, indication the message start. On the Raspi' usart PL011, I tried to use the method I'm using…
Luiz Cressoni
  • 81
  • 1
  • 7
2
votes
2 answers

TTL serial connection weirdness

I've been trying to connect my Pi to my Mac using a USB-TTL cable. I followed this tutorial. On the terminal I get nothing when the Pi connects (not even sure if it connects at all). I've tried everything: checked the connection with the GPIO pins…
alkopop79
  • 470
  • 3
  • 9
  • 22
2
votes
1 answer

making serial connection to my electronic dictionary?

I've recently found that there's 4 terminals on my old electronic dictionary, each labeled as "/RP TXD RXD GND". The dictionary is more than 5 years old, and runs on 1xAA battery. Is there any chance I could make serial connection to the device with…
EuphCat
  • 21
  • 2
2
votes
2 answers

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, specifically this one. That's using the PL2303 chipset…
ledhed2222
  • 141
  • 4
1
vote
1 answer

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 serial interface; so is it possible to read /…
leeand00
  • 704
  • 2
  • 9
  • 23
1
2 3 4