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!

Filter by
Sorted by
Tagged with
1
vote
1answer
4k views

No ttyUSB device created upon connection of Arduino Nano

Using Jessie 4.4 I'm trying to connect an Arduino Nano clone to my Raspberry via USB. The Arduino works flawlessly on another Linux box, on the RPi it just doesn't get assigned a serial port (no /dev/...
0
votes
2answers
9k views

Ser.write() function input

I am trying to to send a number from serial ports on my Pi 3 to a motor driver, (RoboLCaw) by using Python. I have read lots of articles on the internet about how to to do very simple number sending ...
0
votes
1answer
2k views

Error: serial device '/dev/ttyAMA0' does not exist

I'm newbie on Raspberry Pi.I have installed serial port using following conmand on raspian l os. sudo apt-get install python-serial I'm trying to access serial port communication on Raspberry Pi 3. ...
0
votes
1answer
2k views

Software serial send with PIGPIO sending garbage

I have been using the excellent PIGPIO (http://abyz.me.uk/rpi/pigpio/python.html) to communicate with two RFID readers. One is attached to the inbuilt UART while I have been using PIGPIO to connect ...
1
vote
0answers
577 views

Pyserial code hangs after a while

I have some code that parses serial data into chunks for Kivy to read. For some reason the code will work perfectly for a while and then stop. I think I need to clear the buffer/memory somewhere but ...
0
votes
0answers
219 views

Reading Different Channels Sequentially Using SPI

Background: I am trying to make transfer measurements from an ADC LTC1867 to my raspberry pi using SPI. I get it to work with one channel. The ADC has 8 channels, I have one channel connected to a 2....
1
vote
1answer
331 views

Using SPI on Raspberry PI gives error

I'm trying to read the output of an ADC chip LTC 1867 (need the high precision). I think I understand how it how works. Since it's output is 16 bit I need to send 2 8-bit words to it, the first word ...
1
vote
0answers
907 views

Talking to a FTDI (D2XX) device from a Raspberrypi AZero

I am making a project that uses a Raspberry pi zero (RPi-zero) being controlled by a PC through the UART login (USB TTL cable SSH access, like explained here), and I have used and enabled the USB ...
0
votes
1answer
2k views

Why is there no serial option under advanced? [closed]

I am trying to set up serial communication for my new PI 3. When I go to Raspi-Config to enable or disable serial under advanced options, it is not there. However, it is under the interface option. ...
0
votes
1answer
529 views

PC communication to Raspberry Pi

I am currently trying to setup a serial connection between my computer (windows 10) and my Raspberry Pi 3 via the Bluetooth connection. On windows I have managed to attribute COM4 to the Raspberry ...
0
votes
1answer
368 views

ads1115 config register hex numbers

I need some help on the ADS 1115 config register setting with i2cset and i2cget I dont understand the how to set the ads1115 to continious mode and then read it with i2cget. There is the default ...
-1
votes
1answer
492 views

Connecting through usb-serial driver

I am trying to communicate with a machine connected to a usb port using the cp210x driver of the RPi. I have a java method which open a FileOutputStream and a FileInputStream for each /dev/ttyUSBX ...
1
vote
1answer
2k views

play video on raspberry pi depending on serial input from arduino

my project is done and working as i want but there there is a bit of delay between transition of two videos arduino sends char "a,b,c,d" to raspberry pi serially. depending on the char received the ...
1
vote
1answer
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 ...
4
votes
2answers
2k views

Compute module 3 ttyAMA0

just got my hands on the new CM3, flashed a fresh raspbian image on it and noticed ttyAMA0 is not there (it has been used for bluetooth since raspberry pi 3). the only way to get it back is to change /...
2
votes
1answer
5k 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 ...
1
vote
3answers
5k views

Configure u-blox GPS module from serial port

My teacher gave me an u-blox M8N GPS that he bought from Banggood, and he wants me to do 2/3 things: Change baud rate to 115200 Change measure rate to 10 kHz Integrate GPS with gpsd My doubt here is:...
0
votes
1answer
218 views

Serial Getty on ttys0 - causes stalls on system/reboot

I'm working on a system that uses serial for two applications; 1) Reads in from a Maxbotix MB7389 ultrasonic sensor on pin 10 (TX) 2) Communicates (sends) measurement info to a household server ...
2
votes
3answers
2k views

Serial communication slowly failing with Arduino and Pyserial

I'm using PySerial to communicate with an Arduino Uno from a Pi. A Python script writes a short message to "ping" the Arduino once a second, and the Arduino writes a short message to respond. This ...
1
vote
1answer
178 views

How to Connect MiWi Demo board to an RPi 2 or 3?

I have been given some MiWi Boards and starting to attempt to connect them to the PI. I'm pretty new, but guessing I need to decipher the datasheet of the device?? Not sure what to do physically OR ...
0
votes
1answer
5k views

Access Serial port with Python on Raspberry Pi3

I have been trying to make serial work with Python and Pi3, however so far I have been unsuccessful. When running the Python script, I am getting an error "serial.serialutil.SerialException: Port is ...
1
vote
1answer
5k views

Serial port monitoring

I'm trying to watch serial ports. For that I need the serial port address, but... on the network people's says that address follow unix pattern, like this "/dev/ttyUSB0", but if I enter on raspbian ...
0
votes
1answer
1k views

How to reverse engineer a USB controller and read raw serial data in Linux

I have a generic USB controller from a Brazilian brand based on a Chinese layout (Shanwan) that, despite installing the driver that comes with the Retropie and correctly configuring the digital inputs,...
1
vote
2answers
93 views

Servos on Arduino run fine connected to Mac, poorly connected to Raspberry Pi 3

I have a Snapper Robotic Arm kit from Trossen Robotics. The servos are powered externally via 7v/5a supply that came with the kit. I power the Geekduino via USB to micro-USB connection, and upload the ...
0
votes
1answer
81 views

no HDMI, how to connect via arduino

I have a Raspberry Pi 3 but no HDMI cable but I do have a 2560 mega Arduino. I read a couple of places that Arduino has an onboard ttl chip. on the Arduino I shorted reset to gnd (which should of put ...
1
vote
1answer
424 views

Why is the Serial port option in JMRI/CMRI on a Rasp Pi 3 red?

Question: what more do I need to do to get a simple Arduino sketch to talk to JMRI/CMRI on a Rasp Pi 3 over a usb cable? Problem: the Serial Port entry in CMRI preferences, /dev/ttyACM0 is red. ...
0
votes
1answer
375 views

USB pyserial does not work on RPi3.

Suggested /dev/serial0 does not exist in /dev. What tty works? What else needs to be done to make link work?
1
vote
1answer
513 views

What is the most effecient way to read in data from a simple 2-wire (clock/data) source?

I'm building a small device that will read in numerical data from a Mitutoyo indicator, record and chart this data on the screen. These indicators use an "SPC" protocol that has a single input "...
0
votes
1answer
463 views

َUArt in Raspberry Pi

I use this code .It send data but cant get it.I short circuit Tx & Rx in Raspberry. I use this tutorial: http://www.raspberry-projects.com/pi/programming-in-c/uart-serial-port/using-the-uart ...
0
votes
1answer
642 views

Serial login to Raspberry over XBee

I want to setup a Raspberry Pi zero as a headless data collection and communicator. The way I want to do it is as follows: Connect the sensors using USB or I2C or SPI. Once the data is communicated ...
1
vote
1answer
492 views

Java, the RaspberryPi Zero and its USB port

I will be getting my RaspberryPi Zero tomorrow and I wanted to use it in combination with the RFID-RC522 module as some sort of USB-RFID-Tag-Reader. This works with the RaspberryPi 3 Model B I own (...
2
votes
0answers
977 views

Can't echo to /dev/ttyUSB0

I have an arduino connected to /dev/ttyUSB0. I try to send '1' to it using echo 1 > /dev/ttyUSB0 but nothing seems to happen. However, if I do this beforehand: tail -f /dev/ttyUSB0 & and try ...
1
vote
1answer
1k views

Unable to open serial connection to modem

I posted a thread on the raspberry pi forums, but I believe my problem is too obscure to be helped there. Info below: Hello, I absolutely an unable to get my raspberry pi to open a serial connection ...
0
votes
1answer
249 views

RS232 module an USB to serial cable it the PL-2303

I am preparing to use a Raspberry Pi 3 for the first time and I have some questions: Can I use 2 USB to serial cables to connect it to a PL-2303? Does the Raspberry Pi 3 have support for two RS232 ...
0
votes
2answers
136 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"....
0
votes
1answer
4k views

Connect RC522 RFID UART reader/writer to RX/TX

I'm trying to hook up my Elechouse v1.1 RFID UART module to my Raspberry Pi. I haven't been able to find any example code or guides on this, but I'm sure it's possible. Hooking up this module to an ...
0
votes
1answer
896 views

Error occured “unhandled signal 11, terminatiing” in executing code with PIGPIO

I would like to connect GPS Module by using PIGPIO. but I can't. My code that show in below are occuring "Segment Violation",but I have no idea. Please help me. Here is GPS spec. GPS Receiver chip-...
2
votes
0answers
384 views

Lost Serial on Pi3 running Pixel

I have just upgraded to the latest OS Raspbian Pixel and my serial connection has stopped working. I know that the hardware is configured correctly as it worked pre-update. I have updated to the ...
1
vote
1answer
752 views

Listening to GPIB Bus Communication - Raspberry Pi

I am making use of Prologix GPIB-USB Controller to be used in LISTEN ONLY mode (Device Mode) to decipher data communication between Two instruments namely Tester & Prober. I have written a sample ...
1
vote
1answer
4k 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 (...
3
votes
1answer
2k views

Raspberry Pi as Wiegand device - output Wiegand to receiver

I would like to build a Wiegand device from Raspberry Pi to output 37 bit Wiegand format data to Wiegand control unit receiver. I don't want to read the Wiegand protocol on Raspberry Pi like from ...
1
vote
0answers
288 views

Optical mouse camera conect to RPi3 via serial port

I try to read the optical mouse sensor IC in the RPi3 via the serial port. The idea is base on this tutorial but in my case I have the ADNS-5020 sensor. I set enable_uart=1 in /boot/config.txt and I ...
3
votes
4answers
2k views

communicate with arduino over serial

I have a raspberry pi b+ running raspbian jessie, and I want to use the command line to send strings to the arduino, I don't need to receive anything though. I have found a couple of ways of doing ...
0
votes
2answers
303 views

Strange behavior with GPIO serial connection

been fiddling with this for hours and get understand what is going on. I've been having problems with the Pi serial Uart communication. I've tried this on 2 Raspberry Pi 2s, First one Jessie ...
2
votes
2answers
2k views

No communication between GPRS module RaspberryPi Zero serial GPIO ports

I am trying to use my RaspberryPi Zero to communicate with an A6 GPRS module (http://www.inkocean.in/gprs-a6-module-sms-board-gsm-gprs-wireless-data-transmission-over-sim900a) Drawing of physical ...
7
votes
2answers
5k views

Serial communication between arduino and rpi using tx/rx pins

I currently working on a project where an Arduino has to communicate with a pi. Since the pi is running out of USB ports, I am forced to use the ux/tx ports on the Arduino and pi. The communication ...
0
votes
1answer
3k views

picocom out put in raspberry pi terminal

I have run this in terminal, sudo picocom /dev/ttyAMAO and output gives, picocom v1.7 port is : /dev/ttyAMAO flowcontrol : none baudrate is : 9600 parity is : none databits are ...
1
vote
1answer
579 views

usb 4 port rs232 hub, name of devices

What if I use this UBS to 4 RS232 Cable ? Will be the device names e.g /dev/ttyUSB0 - /dev/ttyUSB3 always the same for each RS232 connector ? For example: If I plug in the USB connector, the ...
0
votes
1answer
69 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 ...
3
votes
2answers
2k views

Serial Communication between Raspi and Arduino Mega

I apologize for the double post, but I asked this question earlier and somehow it does not appear under my user and I can't make any edit or comments to it: Trouble with UART Serial Communication with ...