Skip to main content

All Questions

Tagged with
-1 votes
1 answer
53 views

ttyAMA0 serial port error

I'm trying to get gps data through ttyAMA0 serial port. Sometimes I could get gps data but I also get errors such as OSError Error11 resource unavailability. It used to be working but I get errors ...
Jooseok Lee's user avatar
1 vote
1 answer
3k views

Rpi Python Serial Test Program

In Terminal its working but not working using python code. My Code: import serial from time import sleep ser = serial.Serial ("/dev/ttyS0") while True: received_data = ser.read() ...
Ragul Murugan's user avatar
0 votes
0 answers
1k views

How can I receive data from UHF RFID reader's USB port to my raspberrypi controller

I am new to raspberry pi, currently we want to develop gate control with open/close boom-barrier so we are using an UHF RFID reader and a raspberry pi. I bought a RFID reader that has a USB connector ...
Urvish Patel's user avatar
-1 votes
1 answer
387 views

Serial read from arduino not working properly

I am trying to read analog read from ardunio connected to my raspberry pi. Following are my raspberry pi and arduino codes. Raspbery pi: import time import serial ser = serial.Serial('/dev/ttyACM0'...
vkrm's user avatar
  • 1
0 votes
2 answers
2k views

Raspberry Pi - Connect and power RS485 device

I am trying to connect a Raspberry Pi to a OSDP card reader. The reader communicates via RS485, and is powered by 9-27V DC. Unfortunately, I have not been able to succeed with a serial connection in ...
Troels Larsen's user avatar
0 votes
3 answers
5k views

Arduino-Raspberry Pi fast data communication through serial

I am trying to sample from two analog sensors at highest frequency possible (using and Arduino Uno, MPC3002 ADC), then send the data to raspberry pi to save them as binary file. Arduino and MCP3002 ...
Mojtaba's user avatar
1 vote
0 answers
3k 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, ...
Helder Esteves's user avatar
1 vote
1 answer
2k views

Raspberry Pi and Windows IOT and SerialPort with Visual Studio

I started example SerialSample, and it works well, but I have a question: How do I send something to the com port without the use of a button, i.e. directly with the code, for example at ...
Mark's user avatar
  • 21
0 votes
1 answer
86 views

Raspberry Pi Hangs and SD card corrupts when I execute serial code for SIM900A

I am executing following code for SIM 900A GSM module. import serial GPIO.setmode(GPIO.BOARD) port = serial.Serial("/dev/ttyAMA0", baudrate=9600, timeout=1) port.flush() When I run the code ...
Ashwin Pajankar's user avatar
1 vote
1 answer
503 views

/dev/ttyAMA0 on RPi2 issues with RX echoing back over TX

I have an RPi2 and an RPi3 and both are running ArchLinux. On the RPi2 the /dev/ttyAMA0 seems to have an issue with the TX pin where it seems to echo back whatever it sees on the RX pin. The RX pin on ...
ChrisVollo's user avatar
1 vote
3 answers
230 views

Reliable method to differentiate a Raspberry Pi 2 and 3?

I am porting a tool developped with Python from RPi2 to RPi3, it uses the /dev/ttyAMA0 port to communicate. The problem is that in Raspberry 3 models, this is now used by the BlueTooth (no disabling ...
Sogeking's user avatar
0 votes
1 answer
236 views

RPi2 Fronius serialport converter not mapped to /dev/ttyUSBx

I am using Fronius usb serial conveter (should be standard USB to RS422 converter with FTDI driver I think) but it doesnt connect to any /dev/ttyUSB so I cant use it. Here are the logs: uname -a: ...
Simon's user avatar
  • 13
2 votes
2 answers
6k views

How can I send AT commands to raspberry pi 2 serial uart ble module from python script

Ive connected an hm10 ble to my raspberry pi 2 GPIO pins (3.3V, GND, Rx and Tx). I've changed the cmdline.txt to 9600 and the inittab is empty. I downloaded raspbian about 1 week ago. Im running ...
marciokoko's user avatar
0 votes
3 answers
2k views

Serial not work when running python script at pi boot

So I have a python script that is using the raspberry pi serial RX,TX to communicate with a 4D System Display. It is working just as I want it to work, BUT, when I modify the /etc/rc.local to let this ...
Dani's user avatar
  • 469
4 votes
1 answer
1k views

Thermal printer does not react

I'm (now for some weeks) trying to get a thermal printer (ttl) to work without success. I've done every step exactly like said in this tutorial but the printer does nothing. Since I don't know how to ...
Gordon Freeman's user avatar

15 30 50 per page