Skip to main content

All Questions

Tagged with
2 votes
2 answers
891 views

How can I get libserial for Raspbian?

I've got a hard time installing libserial on my Raspi 3B with the recent Raspbian: Both the libserial docs, and the Debian package directory suggest to install the libserial-dev package but a sudo ...
Neppomuk's user avatar
  • 452
-1 votes
1 answer
128 views

Multiple raspberry pi GPS interfacing

I have a raspberry pi stack (containing 4 raspberry pis). I have a single GPS with serial and I2C output. I want the supply the GPS information to all the 4 raspberry pis simultaneously. Is it ...
Umar Dastgir's user avatar
1 vote
3 answers
2k views

Error on changing permissions in serial port

I have been trying to find a solution for 2 days but I wasn't able to find one. I want to change the permission of the /dev/ttyAMA0 but seems to be impossible. I tried with sudo chmod 777 /deb/ttyAMA0 ...
Sergio Prieto's user avatar
1 vote
1 answer
971 views

No parity bit in Serial communication using PL011 uart

I have little experience on UART communication. I am using the PL011 UART instead of mini mart in a Raspberry Pi 3, therefore I should have parity bit. The thing is when I enable the parity bit in my ...
Sergio Prieto's user avatar
2 votes
0 answers
953 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 ...
Karobot's user avatar
  • 33
0 votes
1 answer
8k 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 ...
SDsolar's user avatar
  • 2,358
1 vote
0 answers
126 views

Raspi3 model b USB to Rs232 not working

I am trying to do a simple hexdump from the port /dev/ttyUSB0 which is connected to USB to rs232 connector. Hexdump and all my scripts worked with pi2 not with this one. Is there any particular ...
RajuBhai's user avatar
3 votes
1 answer
8k views

Automatically (re)connect paired Bluetooth devices

I have got a RPi 3 loaded with Raspbian GNU/Linux 8.0 (jessie) and I use pyserial to send data over Bluetooth to an Android application. Pairing the Pi with the Android device works fine. For my ...
Buddyshot's user avatar
  • 171
-1 votes
2 answers
278 views

Strange problem with serial

my problem is that when I run the test: #!/usr/bin/env python3 # Will also work on Python2. # Serial port testing from __future__ IMPORT print_function import serial test_string = "Testing 1 2 3 4"....
federico pivoli's user avatar
1 vote
1 answer
5k views

RPi3 Raspbian Jessie USB port identification / name

I have a Pi 3 running Raspian Jessie Trying to connect an HMI application (AdvancedHMI - VB - .net running using mono) to a PLC (Velocio) via Modbus RTU. The PLC can handle direct USB comm input (...
WayneW's user avatar
  • 11
1 vote
1 answer
746 views

Raspbian system-wide hang after using "reset" and logging-off from the serial console

I'm looking for an explanation and/or a solution for resolving an issue when connecting to the Pi by its serial console connection: After using the "reset" command at any point during a session - a ...
ziesemer's user avatar
  • 263
0 votes
1 answer
4k views

Change default console TERM from vt102 to xterm?

When connecting to the Pi by the serial console, I'd like to have the default TERM be xterm, rather than the current default of vt102: pi@raspberrypi:~$ echo $TERM vt102 pi@raspberrypi:~$ tty /dev/...
ziesemer's user avatar
  • 263
0 votes
1 answer
687 views

/dev/ttyusb0 cannot be find while starting script on boot for raspberrry pi

(Currently using Raspbian Jessie latest) So currently I am trying to start a script that reads from the rf receiver and gathers the data and sends it over to the cloud... I am trying to start this ...
FuriousPudding's user avatar
2 votes
1 answer
494 views

pyserial: Force Arduino to /dev/ACM0? [duplicate]

(Using Raspberry Pi 3B, Raspbian Jessie) I have a Python script that uses an Arduino with Pyserial. I want to start this script on boot, but my problem is that sometimes the Arduino binds to /dev/...
hoothoot's user avatar
2 votes
1 answer
1k views

Raspbian Jessie 4.4 - ttyAMA0 pymodbus not working

I have a python program that works fine with Raspberry Pi 3 and with an older Jessie version. I've tested Jessie 4.4 version and I got the following error: p1 = request1.registers AttributeError: '...
Itzik's user avatar
  • 21