Skip to main content

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!

54 votes
4 answers
292k views

How do I make serial work on the Raspberry Pi3 (PiZeroW, Pi4 or later models)

My Pi3 serial console produces rubbish and fails to respond to the keyboard.
Milliways's user avatar
  • 60.7k
30 votes
3 answers
17k views

Can Raspberry Pi reliably bit bang a 9600 baud serial and is there example code?

I am wondering how feasible it is to use bitbanging to drive a 9600 baud serial via the GPIO pins on the Raspberry Pi. Obviously, Linux is not a terribly good platform for bitbanging, as there is a ...
Nakedible's user avatar
  • 1,521
19 votes
1 answer
81k views

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 ...
Hrithu Olickel Arumaraj's user avatar
16 votes
3 answers
2k views

How do I connect my printer to the serial GPIO pins?

I've purchased a Mini Thermal Printer from Adafruit. The documentation states: This printer is ideal for interfacing with a microcontroller, you simply need a 3.3V to 5V TTL serial output from ...
Jivings's user avatar
  • 22.5k
15 votes
5 answers
16k views

GPIO-UART-to-Arduino communication

I have been trying with no luck to get the Raspberry Pi talking to an Arduino. I am using a 3.3 V-to-5 V converter to swap voltages. I did put an LED on the UART TX pin, and it looks like it ...
Setithing's user avatar
  • 151
15 votes
4 answers
68k views

How can I connect to a USB serial device?

I have a device with a USB serial port cable that I'd like to connect to my Raspberry Pi. The chipset for this USB to serial cable it the PL-2303 from Prolific Technology, Inc. How can I read data ...
Swinders's user avatar
  • 255
14 votes
3 answers
57k views

Safest way to connect Raspberry Pi to Arduino Uno R3

I am working on a robot using an Arduino Uno R3 and I wanted to have the ability of controlling the Arduino wirelessly, like stopping the Arduino without having to pull the power-plug every time. I ...
RPiAwesomeness's user avatar
14 votes
5 answers
17k views

Disable DTR on ttyUSB0

I'm connecting from Pi to Arduino-clone board. The problem is, that I need to disable DTR line, in order to prevent Arduino from resetting on connect. I have read that on RPi is not possible to ...
jnovacho's user avatar
  • 324
13 votes
1 answer
2k views

What are the usage of extra available holes in model B

Despite some research on the web, I cannot find the options available from these "opportunity" holes on the Rpi. I probably do not use the proper words to identify them. What is the name for this ...
Alain's user avatar
  • 445
12 votes
2 answers
28k views

Why does USB port enumeration change?

I'm using a Huawei GMS/UMTS USB modem with Gnokii and Gammu. The modem was in the lower port on Pi. With dmesg | grep tty it would show up on /dev/ttyUSB0 and /dev/ttyUSB1. (2 USB devices on 1 stick ...
RolfBly's user avatar
  • 619
12 votes
4 answers
71k views

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 ...
user518's user avatar
  • 179
10 votes
4 answers
13k views

Colored console over serial connection?

I am accessing two of my Pis via a serial connection on pins 8 and 10. One of them uses a serial to USB connector for my Mac and the other uses an HC-06 which connects to my Android. The console/...
Patrick Cook's user avatar
  • 6,365
10 votes
2 answers
36k views

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's user avatar
  • 338
9 votes
3 answers
93k views

How do I display an image file (PNG) in a simple window?

I've got a prototype I need to show for an RFID project. I've got the RFID (Parallax USB) working, and the sample Python script (my first) is displaying the ID of the card just like it's supposed to......
Jeff's user avatar
  • 115
9 votes
2 answers
18k 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? ...
Lightsout's user avatar
  • 429

15 30 50 per page
1
2 3 4 5
50