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 ...

learn more… | top users | synonyms

0
votes
1answer
13 views

Software Flow Control in Serial communication

I am using java/pi4j to for serial port in raspberry pi (Raspbian OS) to connect it to a device which has serial port. I am wondering is it possible to use software flow control (xonxoff) in my ...
0
votes
3answers
37 views

Raspbian Wheezy, Raspberry Pi 3 and HC05

I now this is a long shot, but some reasons I was using Raspbian wheezy on Raspberry Pi 2, and I was able to use HC05 bluetooth module with wiringpi. Lately I had switched it to Raspberry Pi 3, yet ...
0
votes
1answer
32 views

Why can't I get input from /dev/ttyAMA0?

Here is my code: import serial ser = serial.Serial('/dev/ttyAMA0') x = 0 while x <= 30: ser.read(ser.inWaiting()) opc_data = ser.read() print opc_data x = x+1 ...
0
votes
1answer
37 views

Why my program won't communicate through ttyAMA0 on Raspbian (Jessie)?

I am running two different Raspberry PI and they are running Raspbian Wheezy and Jessie. On Wheezy, I simply commented out a line T0:23: respawn:/sbin/getty -L ttyAMA0 115200 Vt00 in /etc/inittab ...
0
votes
2answers
39 views

How to set non standard serial port speed

I need to set the serial port /dev/ttyS0 to 250k bit/sec in order to send commands to another device expecting 250k. I am using Python and trying to set the speed with the command ser=serial.Serial( ...
1
vote
2answers
98 views

UART problems on my Pi3

I am trying to send and receive radio signals using my Raspberry, but I am already stuck at the first step :) My Radio module uses UART for communication but I have failed to set up my serial ...
0
votes
1answer
33 views

Raspberry Pi Zero as Hardware Bypass

My girlfriend has been working on a project for a high level university CS class. The requirements are that input is take from a gaming controller, steering wheel, et al, and sent simultaneously to a ...
0
votes
0answers
29 views

Hardware UART 9 Data Bits

I am trying to get an additional data bit out of ttyAMA0, which basicly works with edo1's approach (Without the CMSPAR patch, atm). In addition, I'm already running an arbitrary Baud rate of 20,35k, ...
3
votes
1answer
86 views

Unable to integrate Fingerprint sensor in Raspberry Pi2

I am trying to connect a R305 v1.6 fingerprint scanner with my Raspberry Pi2 Model B. Sensor: http://www.sunrom.com/p/finger-print-sensor-r305 I am using pyfingerprint module which supports ZFM-20 ...
1
vote
1answer
27 views

Serial communication with two devices at once using pigpio?

I'm using the raspberry pi pigpio module to communicate with two other devices at once using two separate threads. The devices are connected to two different pairs of gpio pins. I need to adhere to ...
1
vote
0answers
39 views

Raspberry Pi serial communication python

I am new user of raspberry pi I have send data (not a single string) so how can I send it. and where I type data and send.. this is my code: import serial import string rot13 = string.maketrans( ...
0
votes
0answers
21 views

serial port ttyUSB0 doesn't connect seem to receive/transmit sometimes

I've got a few Pis that communicate with each other using Serial Communication and Xbees. The problem I'm having is sometimes the serial data does not get sent/received when I first start the ...
1
vote
0answers
215 views

Serial Port on Raspberry Pi 3 ttys0

I have a Raspberry Pi B and a Raspberry Pi 3. I am trying to get the Raspberry Pi 3's serial port working. I have put a jumper across pins 8 and 10 to check the serial port is working. I've executed ...
0
votes
0answers
28 views

Infrared remote on Raspberry Pi

I want to make an infrared remote with my Raspberry Pi to controle my TV (Samsung) and other things, but I don't know how it works. I found the "Infrared Hex Codes" of my TV for power: 0000 006d ...
0
votes
0answers
29 views

USB Serial control

I am having a problem with an USB serial connection to my receiver and couldnt find anything on the internet. I am now hoping any of you guys can shed some light on my problem. I did as follow: I ...
0
votes
0answers
12 views

Serial communication from Script Stops when Wifi connection is lost

I have implemented a small prototype where my Pi talks to user and communicates the user input to the Arduino through Serial communication. Am using the serial library of Python for this. Pi is hooked ...
2
votes
0answers
31 views

Serial sniffer?

I have a serial RS-232 connection from a PC's com1: port to a vendor's device. The vendor's device is going to 100% CPU utilization and the vendor claims that our software on our PC is causing that. ...
1
vote
2answers
69 views

If Raspberry Pi 3 is connected to PC over serial, then are both devices able to connect to each other simultaneously?

Let's say that I have connected Raspberry Pi 3 GPIO GND pin to PC RS-232 GND pin, Raspberry Pi 3 GPIO pin 8(UART Tx) to PC RS-232 Rx pin and GPIO pin 10(UART Rx) to PC RX-232 Tx pin through level ...
0
votes
2answers
68 views

control external peripherals over serial from Raspberry Pi 3

Raspberry Pi 3 GPIO pins 8 and 10 are UART Tx and UART Rx respectively. Is it possible to use those pins to control external peripherals(for example network device which is managed over serial port) ...
0
votes
3answers
115 views

Controlling an Arduino UNO from Raspberry Pi 3 (Controlling not programming)

I am working on an autonomous robot, which uses a python script running on my RPi 3 to detect traffic lights. I want that as soon as the RPi detects that the traffic light has gone off, it would ...
0
votes
1answer
54 views

How to transfer files from PC desktop app (written using nw.js) to Raspberry Pi?

Here's my situation: I wrote a desktop app using nw.js (a node.js-based platform to write desktop apps within an offline Chromium browser that has access to the file system). Users will make ...
6
votes
2answers
1k views

How do I make serial work on the Raspberry Pi3

My Pi3 serial console produces rubbish and fails to respond to the keyboard.
0
votes
1answer
70 views

Trying to use serial devices with webIOPi

I was following this tutorial: http://webiopi.trouch.com/Tutorial_Serial.html so I can make serial communication using the On-board serial UART I couldn't find the file /etc/inittab, I skipped that ...
0
votes
1answer
49 views

How do I access the serial ports on the RPi in LXterminal?

I am trying to get access to the /dev/ttyS0 file in an attempt to connect an OPC to the RPi via TX and RX connection. However, when I am in the /dev directory, when I type in /dev/ttyS0 I get the ...
1
vote
1answer
148 views

Rasbian Jessie and an Xbee

I've been beating my head on the table for days trying to figure this out. For the life of me I cannot seem to get my Raspberry Pi 3 serial port to communicate with the Xbee Series 2. I checked my ...
0
votes
0answers
5 views

Getting the serial number of my Raspberry Pi2 on ubuntu mate terminal [duplicate]

I need to get my Raspberry Pi serial number. I tried sudo lshw but no serial number displayed. Can anyone help?
0
votes
0answers
11 views

serial adapter difficult operation

I have a project where I will be using four USB to serial adapters and am having lots of issues reading from them reliably. Generally the problem is that sometimes a port seems non-responsive. As ...
3
votes
2answers
269 views

Garbage on Raspberry Pi console

Hey! There's a solution under the question, go look... I'm using the Adafruit USB to TTL connector purchased from Microcenter. I have two separate parts, and have tried them both. I've wired it ...
1
vote
1answer
63 views

9 bit serial communication and parity error detection

I need to work on a serial protocol that uses the 9th bit as a 'wakeup' bit. All bytes are transmitted with the 9th bit in zero except for the first one, indication the message start. On the Raspi' ...
0
votes
0answers
95 views

How to send data from Raspberry PI to Arduino

My project is to use the Raspberry Pi to send data to Arduino, and the data will be sent from the Raspberry Pi most likely through the serial port to pin 8 & 10 of the GPIO pins. Then that data ...
0
votes
1answer
73 views

Raspberry Pi and Arduino Notification System

I am trying to make a notification system using an ultrasonic sensor with an Arduino to detect when there is something in the way of a door, once the obstruction is detected, I have a timer start, ...
0
votes
1answer
52 views

Unable to execute WebIOPi

I have been working with a Raspberry Pi 2 for little time. I was working with serial devices using webiopi, everything was good and running nicely. However, a few days ago I plugged in the Raspberry, ...
0
votes
0answers
54 views

Image processing and Serial Data in Win 10 IoT

I have made Pi2 with win 10 iot as a master while an arduino uno as a slave for a rover project. I have a live camera attached and successfully captured 2 consecutive photos with different names. Now ...
0
votes
2answers
168 views

Can't send data from the Raspberry Pi via rs485 and serial port

I have Raspberry 2B with Raspbian Jessie. I want my Raspberry Pi can communicate with some sensors via RS-485 interface. I tried to use three types of adapters: USB-RS-485 adapter; USB-RS-232 ...
1
vote
1answer
603 views

How to connect a Raspberry PI 3 to USB TTY cable

I am trying to connect the ADA Fruit USB to TTY cable to a Mac with Mac OS X 10.11.3. I installed the driver and see /dev/tty.usbserial but when I try screen /dev/tty.usbserial 115200 I get no output ...
0
votes
2answers
71 views

Reading 'Weird' Serial Communication GPIO

I'm trying to read communication from a Curtis motor controller to my Pi 2. Serial communication is normally Idle=High and the start bit is low. The motor controller however has a Idle low, and a high ...
1
vote
1answer
59 views

scoring higher baud rate in serial Pi to Pi communication

I'm rather new to the Pi and Python and I could really use your help, so thanks in advance. My project goal is to transmit data, (a jpeg file for instance) from one Pi 2 to another one asynchronously. ...
0
votes
1answer
41 views

Make sure serial data sent

I am trying to sent data to an Arduino Nano via serial using python, but it doesn't work yet. Is there a way to ensure that what I am trying to send was sent? (This is in order to understand where ...
1
vote
2answers
236 views

How to free the UART pins of Raspberry pi B+ from acting as a kernel console?

I have a Raspberry Pi B+ for my project with Raspbian Jessie OS installed on it.. I have to receive "Real-time" electric current values coming from a wireless Nordic module. So to start this serial ...
1
vote
0answers
102 views

MATLAB Serial Communication and Raspbery Pi

I am trying serial communication with MATLAB and I am using "Raspberry Pi Support from MATLAB". It is very simple and basic. Firstly I create a object with this: mypi = raspi and myserialdevice = ...
2
votes
1answer
212 views

How to start communication between pi and GSM add-on V2.0

I have mounted on the GSM add-on v2.0(sim 800) on the pi. I have read the AT commands manual but don't know how to initialize the serial connection between both of them till the point AT commands have ...
1
vote
1answer
113 views

Sending data from serial port

I would like to send one string over the serial port; it works in a loop but not when I send only one string: I have two Raspberry Pi 2. Each one have a xbee module. I want to send data from one to ...
0
votes
1answer
72 views

How to run a java serial data command with arguments on start-up

I am using Raspberry Pi 2 to a telosB base station to collect data from other sensors. I receive (on the terminal) hex data and redirect these incoming data into a python script which will clean and ...
0
votes
0answers
26 views

Using the raspberry Pi 2 mod B to programming arduino with a usb externally powered hub

HI i have started to use a usb externally powered hub due to power demands of arduino and current drops in rpi but when i connect the usb cable from hub to arduino port is not available in ide. I dont ...
2
votes
0answers
129 views

Struggling with Raspbian Bluetooth communication

I'm trying to perform communication between my Raspberry with a slave Bluetooth module and my laptop. The goal is to get a boot output message of my Raspberry, but that's not working as expected. The ...
1
vote
1answer
136 views

how can I clear the serial buffer prior to logging data from it?

I have a Pi B reading serial data over USB from an Arduino. A python sketch logs it to file. Whenever I initiate the logging program I get a bunch of garbage characters before the real data starts to ...
0
votes
2answers
41 views

Raspberry Pi- Arduino Serially driven servo problem

I have been lately working on a ball tracker robot using image processing and I have interfaced Arduino and Raspi via USB. While the servo.write() function works perfectly when i program the Arduino ...
3
votes
1answer
154 views

Serial write 1,000,000 baud slow

I'm communicating serially with an Arduino Mega2560 from Raspberry Pi v1 model B. The Mega is connected to the Pi's USB slot. I'm using the rxtx library on the Pi to send data at 1,000,000 baud. ...
2
votes
0answers
75 views

Persistent names for usb-serial devices

I am making a weather monitoring system to use Raspberry Pi 2. In weather eye, there are two sensors and two USB to serial ports. I want persistent names for USB-serial devices. I imitated this ...
2
votes
2answers
88 views

Use ssh as substitute of serial

Hi please excuse me if this is a dumb question. I'm making a small machine, driving 3 steppers, and the connection between the computer (linux OS) and the controller (Raspberry pi Compute Module) is ...