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!

0 votes
0 answers
688 views

Bluetooth serial connection between Pi and MacOS Monterey on M1 Macbook both with builtin bluetooth

How do I connect a Raspberry Pi 4 Model B Rev 1 to an M1 Macbook Pro 16" using rfcomm over a Bluetooth connection? I'm able to connect the devices via Bluetooth but then not over the Bluetooth ...
Greg Pagendam-Turner's user avatar
1 vote
1 answer
330 views

Decoding RS-232 via UART

Context: I'm trying to read a simple sensor that uses RS232 protocol to send data. The sensor is a maxbotix US distance sensor (https://www.maxbotix.com/documents/HRXL-MaxSonar-WR_Datasheet.pdf). ...
aldo_tapia's user avatar
0 votes
0 answers
198 views

C programming - Cannot open /dev/ttyS0 in blocking mode

I am trying to open /dev/ttyS0 in order to write over serial GPIO pin 8. I am using the Raspberry Pi Zero W and noted something strange. When I try to open dev/ttyS0 in nonblocking mode, I am able to ...
Zhendos's user avatar
0 votes
1 answer
797 views

raspberry pi pico to pc communication

I have a raspberry pi pico and want it to execute files on my windows pc(for example: if I press a button it opens a file). Because I am new to microcontrollers I have no idea how to do this. there is ...
Chao wingching hongfingshong p's user avatar
0 votes
0 answers
2k views

How to use Raspberry Pi 4 with an USB to RS232 adapter cable over the serial port

I would like to use a Raspberry Pi4 to control a syringe pump [(see datasheet here and in particular the quick start manual on page1)][1] The connector cables I used are RJ11 from the Pump to RS232 (...
Marco Bobinger's user avatar
-1 votes
1 answer
453 views

AT- serial port communication with USB modem breaks ([Errno 32] Broken pipe) after upgrading to Stretch or Buster

Good day, I hope you guys are good. My name is Francis From Nigeria. I have been using raspberry for a while. I had to upgrade from Jessie to Stretch because my favorite raspberry pi 3B model is ...
ufumes's user avatar
  • 24
1 vote
1 answer
2k views

Accessing Raspberry Pi Pico REPL from Android Serial USB Terminal App with main.py present

I discovered that I can plug a Raspberry Pi Pico into my Android phone and use the app 'Serial USB Terminal' as a serial monitor. However, if the Pico has a main.py script uploaded to it, then it ...
cornerpocket's user avatar
1 vote
1 answer
1k views

Raspberry pi and nextion touch screen communication using python

I have tested several python codes to set up the communication between raspberry pi and nextion touch screen (I used TTL serial GPIO 14 and 15). Unfortunately, the communication is not stable, the ...
mustapha_1234's user avatar
0 votes
0 answers
596 views

raspberrypi kernel: [14247.511414] mmc0: timeout waiting for hardware interrupt

Setup = Rpi > USB HUB > USB TTL adapter/cable > 2 LTE modules. Protocol = AT Commands. Problem = mmc0: timeout waiting for hardware interrupt. Question = Any investigation method and ...
Praveen Deshmane's user avatar
0 votes
0 answers
51 views

Is the serial device connected well?

I'm using rapberry 3 B+. and Connect to a serial to usb device. The following is dmesg after connection. [ 5021.125504] usb 1-1.2: new full-speed USB device number 6 using dwc_otg [ 5021.272788] usb 1-...
Harzarics's user avatar
-1 votes
1 answer
92 views

Can an Arduino open and play video files off a Raspberry Pi with serial communication?

I just want to know if it is even possible to have serial communication from an Arduino Mega to Raspberry Pi 3, to open and play a specific video file stored on the Pi?
Shrap's user avatar
  • 1
0 votes
0 answers
394 views

GPS Data from cat /dev/ttyS0 is not correct

I am attempting to use a Garmin 18x LVC GPS module. I have it connected to the serial RX and TX pins on my Raspberry Pi Zero W, and port name is /dev/ttyS0 on the pi. By using a multimeter and Linux ...
RicecakePB's user avatar
1 vote
1 answer
263 views

How to set the SPI comms delay from CS to SCLK?

I am using a Raspberry Pi to communicate with a SPI-enabled device over the 40-pin cable. To the best of my understanding, the Python scripts rely on the SpiDev device. The script uses the xfer3() API ...
ysap's user avatar
  • 113
1 vote
1 answer
593 views

Missing dtbo overlays in Yocto build for Compute Module 4, what do I need to get them added?

So I have a problem that I have half solved and was hoping someone would know how to solve the rest. So yesterday I encounted a problem that I asked and partially solved at the link below. CM4 Uart 0 ...
HelloWorld's user avatar
0 votes
0 answers
218 views

unable to use serial on CM4 using linux

When i am trying to connect to my CM4 via serial on my linux desktop and i am unable to get any output from screen i have ensured that enable_uart=1 is in my config.txt file for clarafaction i am ...
Zekromisblack's user avatar

15 30 50 per page
1
3 4
5
6 7
50