is the process of sending data one bit at a time, sequentially, over a communication channel or computer bus.

learn more… | top users | synonyms

1
vote
0answers
24 views

UART serial output pin held high, can't read usable information

I'm working on a home automation project where my Pi will be interfacing several picaxe chips using an UART serial connection. Even though I've installed Minicom on the Raspberry Pi and disabled the ...
0
votes
1answer
25 views

MCP3008 alternative

I have some analog devices like LDR, temperature sensors, and other sensors and I want to use the readings of these sensors in my raspberry pi B+ , for that I need an ADC , to convert the analog ...
2
votes
1answer
34 views

Simple Custom 1-Wire GPIO Communication Protocol between Master PI and Slave PI

I have 2 Raspberry Pis in my system. One can be 'docked' to the other one and some time later it can become 'undocked'. While docked, the 2 Pis will have a connection between 2 GPIO pins ( 1 pin on ...
0
votes
1answer
35 views

Raspberry Pi as USB serial device

I have two Model A+ Pies and a Model B+, as well as a couple short USB A-to-A Male cables. I want to be able to have the A Pluses able to communicate over serial to the B Plus. The reason I'm doing ...
0
votes
0answers
17 views

Xbee Pro + Raspi-Arduino Connection Bridge

I'm trying to make a GPS+Radio node using XBee and Raspberry Pi. To connect the XBee module to the raspberry pi I'm using a Raspi-Arduino Connection Bridge from Cooking-Hacks.com My question relates ...
0
votes
0answers
61 views

read a RFID card MiFare 1k classic through a PN532 uart reader with serial.read()

I'm trying to read my rfid card MiFare 1k classic with a PN532 breakout board through UART with a simple python script. I installed libnfc, the nfc-poll example program reads my card perfectly fine. I ...
0
votes
0answers
28 views

How can I read if there's any activity on the serial port?

I have a PIR-sensor and a controller hooked up to my USB, and I can read in the Terminal the controllers output if there's any motion using serial.readline(). But what I really want to do is just to ...
0
votes
0answers
42 views

Python script always throws exception the first it is ran after reboot

I am trying to build a home automation system with Raspberry Pi connected to Arduino Uno via USB. Everything works but the Python script that I am using for reading variables from Arduino is always ...
0
votes
1answer
57 views

Sending data to a 1602 LCD in Mono C# over i2c

How would I be able to put information on a 1602 lcd over SPI? I was thinking that it may be possible to write to the pin (like a file) with all the hex codes of the letters etc. or similar. I'm a ...
1
vote
2answers
146 views

How can I test if the serial / UART is good on a raspberry pi?

I've purchased a used raspberry pi and have followed the instructions from Wolf Paulus's Journal to connect to the pi from my computer using a PL2303 USB adapter. The specs on the PL2303 adapter say ...
1
vote
1answer
72 views

Is it possible to connect zigbee and a GSM modem over the same RX, TX GPIO pins of Pi?

I would like to connect a XBee module (Zigbee) and also a GSM modem for voice and SMS. From what I have seen, mostly both uses the Rx, Tx pins of Pi for serial communication. Other option would be to ...
0
votes
1answer
39 views

Missing /dev/ACMX on Arch linux ARM when connected to Arduino

I want to be able to communicate with my Arduino serially using the pySerial module; however, when I connect using usb, no /dev/ttys appear - the device only appears in /bus/USB/001. When I plug it ...
1
vote
1answer
127 views

Unable receive character properly in UART

I am trying to send and receive character using UART (GPIO14 as Tx & GPIO15 as Rx). I can transmit character successfully which I can check on minicom. Now I have short my RX and Tx pin so that I ...
1
vote
1answer
92 views

Reliably Reading from the Serial Port in Python

I am trying to communicate between a pair of RPi's both with Ciseco XRF Radios on Slice of Pi's. My end goal is for RPi1 to send a specific phrase to RPi2 which will pick it up, perform some ...
0
votes
2answers
64 views

Level shifters for serial communication to an arduino

I want to send info from a raspberry pi to an arduino and vice versa using serial communication. Do i need a level shifter to accomplish this? Or can i communicate between the two without a shifter? ...
0
votes
3answers
51 views

Checking all the specific GPIO pins if it is HIGH or LOW and putting it in a CONDITION

Can you give me an idea on how to check the statuses of specific GPIO pins if it is HIGH or LOW? My project is all about checking the statuses of GPIO pins (6 GPIO pins). I want to check all of the ...
0
votes
0answers
47 views

Delay in Communication Between Arduino and RPi

I already asked a question regarding communication between a Arduino and RPi through a USB serial connection and was able to solve major issues. Now my RPi and Arduino are talking to each other and ...
1
vote
3answers
134 views

115200 Baud Rate Problem for Raspberry Pi /dev/ttyAMA0 vs /dev/ttyUSB0 with XBee Radios

I'm have 2 XBee Radios and 2 Raspberry Pis. I have the 2 communicating with the XBee radios set to 9600 Baud on the TX and RX lines from the Raspberry Pi. I recently bumped the XBee radio default ...
1
vote
2answers
95 views

Arduino to RPi serial Communication

I'm trying to get my Arduino to send my Raspberry Pi some ultrasonic information via a serial connection via the USB cable. I am close but my RPi is reading the input from the Arduino clipped ...
1
vote
1answer
68 views

Extracted SMS body and passing it in a condition (Python)

This is my class for checking unread messages def CheckUnreadMsgs(ser) print "Check for new messages...\n" ser.write("AT\r") time.sleep(3) line = ser.read(size = 64) print line ...
1
vote
1answer
278 views

Is it possible to use the mini UART and PL011 UART together on a rpi B+? [duplicate]

How to get more than one uart interface is a quite interesting question that I was not able to fully answer for my rPi Model B+ v.2 - the one with the extended 40pin connectors. To avoid this beeing ...
0
votes
0answers
25 views

Serial line hangs after first call

I have written a short program to monitor a serial line using the uart on GPIO-Pin 8/10. It works fine the first time I start the program, but hangs without any output the 2nd time I call it. To be ...
2
votes
2answers
258 views

9 Data Bits on UART pins?

I am wondering if it is possible to send 9 data bits framed with a start/stop bit at 1.25MBaud. I am currently using PySerial to configure the UART pins on the pi. I've stumbled across a few ...
0
votes
0answers
120 views

How can I use SDI-12 to communicate with a sensor?

I have sensors connected to the serial port GPIO pins on the Raspberry Pi, and these sensors require communication in the SDI-12 format. The only problem is, I can't find any online resources ...
1
vote
0answers
66 views

Multiple Arduino-Raspberry Pi serial

So, the question is, is the content of /dev/serial/by-id unique? Essentially the issue is I want to connect several (two or more) arduinos (potentially of different types, but they may all end up ...
1
vote
1answer
306 views

Connecting RFID reader over USB

I just purchased the RFIDRW-E-USB RFID reader from Priority 1 Design (see this page, datasheet available in PDF form.) I have tried to make it work on my computer (Ubuntu), before plugging it to my ...
0
votes
0answers
62 views

PySerial not responding after 10 seconds of inactivity

I've got the JY-MCU Bluetooth module connected to the hardware serial port on my Raspberry Pi. It seems to be working except for one thing: when there is no communication for about 10 seconds or more, ...
1
vote
0answers
2k views

Connecting to an RC522 RFID reader

I'm trying to connect an RC522 RFID reader to the a Raspi via its serial ports. Up till now, I have tried several different pieces of code that are supposedly working, however, I have had no success ...
0
votes
0answers
137 views

RPI ERROR: Unable to open NFC device

I am currently following this guide: https://learn.adafruit.com/adafruit-nfc-rfid-on-raspberry-pi/testing-it-out After completing all the steps - inputting into the console: $ cd examples/ $ sudo ...
0
votes
1answer
82 views

TTL serial connection weirdness

I've been trying to connect my Pi to my Mac using a USB-TTL cable. I followed this tutorial. On the terminal I get nothing when the Pi connects (not even sure if it connects at all). I've tried ...
1
vote
1answer
513 views

How can a USB Bluetooth Dongle be used as login TTY

I would like to be able to use a Bluetooth Dongle - not the HC06 module, but a simple USB dongle (the pretty generic kind, or even poundshop type) as a serial login console/tty. I have already tried ...
1
vote
1answer
796 views

Python serial permission issue

I'm trying to connect my Arduino to my RPi through python and PySerial, and I'm using the following code: import serial ser = serial.Serial('/dev/serial/ttyACM0', 9600) and I was getting an issue ...
0
votes
3answers
2k views

Connecting B+ to Serial Port

I have a recording device with a 9 pin dsub connector for control. Pin 1 == Ground Pin 2 == TxD Pin 3 == RxD Pin 5 == S. Ground 4&6-9 == NC I'd like to use the 40pin header on a raspberry pi B+ ...
0
votes
1answer
650 views

SIM900 to Raspberry

I've recently bought SIM900 with this module. Connected it to Raspberry Pi - GND, 5V, RX-TX, TX-RX. I'm using following code to test it (found on web): #! /usr/bin/env python import argparse from ...
1
vote
1answer
67 views

Permanent serial connection to Raspi

I can connect an arduino by serial to my laptop no problem using Processing. Is a Raspberry Pi likely to be able to maintain a permanent USB serial connection to the arduino, or am I likely to ...
0
votes
1answer
118 views

Serial string not being read consistantly

If I send the following string to the rpi echo "#q10" > /dev/ttyUSB0 Why does the whole string not get read each time its sent? This is the app output The code is as follows. I am using ...
0
votes
0answers
165 views

getting the rasberry pi to controll a tm1802 led strip

Hi i recently purchased a tricolor led strip from radio shack and while they are made for the arduino I am very sure they will work with the raspberry pi. They take in serial data (24 bytes) and use ...
0
votes
1answer
29 views

How to detect specific string over serial using c

I am connecting my raspberry pi to a device using the serial port to record data coming from the device at 19.2k. Currently I am using a usb to serial adapter, but this could change in future. The ...
2
votes
0answers
69 views

Slice of Radio and Ithobox

I've got a Raspberry Pi with Ciseco Slice of Radio and I'd like to control my Ithobox LINK It has an 868 Mhz RF transmitter/receiver and I also have the optional RF remote control unit which I'll be ...
0
votes
0answers
68 views

Not sure if serial connection is working

I have been trying to get this working for a couple of days now, and nothing I've read seems to fix it. I am working on trying to communicate with the pi via a serial connection. My current setup is ...
1
vote
1answer
196 views

Choosing an OLED / LCD Dispaly

I'm building a simple device where my Raspberry Pi talks to Google Calendar, and displays information about where I'm at on my office door. My code is all in Python It was simple until I started ...
2
votes
1answer
1k views

Arduino Serial Port via Raspberry Pi SSH

I have just bought an Arduino Uno R3 and I would like to view the Serial Monitor using my Raspberry Pi via SSH. I have looked around on forum sites but cannot seem to find the proper software or ...
1
vote
1answer
354 views

RaspberryPi to Arduino(leonardo) avoiding latency

I'm using a Python script via (TKinter)on the raspberryPi to capture mouse movement and events. My goal is to send this data, in real time, to another connected Arduino device(Leonardo). My first ...
1
vote
1answer
143 views

Need to initialize serial connection with screen

My Problem: I've got an Arduino connected to my Pi via /dev/ttyUSB0 and I always have to initialize the connection via screen, otherwise I cannot send any values via Bash or Python. What I'm doing: ...
0
votes
0answers
193 views

RPI send/receive data with serialoport node.js

I have RS232 and want to send data to Rpi with node.js serialport. I want to show data in command line but it does not display. How can I improve my code to display a data in Rpi command line? This ...
0
votes
1answer
63 views

No input on FTDI / Serial on raspberry

I have one of these: http://www.amazon.com/gp/product/B00FEAMUOK/ref=oh_details_o02_s00_i00?ie=UTF8&psc=1 Hooked it up as described in in the last post here: Running Headless - checking Boot ...
0
votes
0answers
525 views

Receive data from uart! Raspberry Pi mono c#

I'm new and I wanted your help please... From today, after updating libraries Mono C# on my Raspberry Pi Rev 2 Type B (wheezy), the communication via serial no longer works, it seems to me very ...
0
votes
0answers
575 views

Set default baud rate on /dev/ttyAMA0 and keep after reboot

I have a ITead Studio GPS attached to my RasPi Model B 2.0's UART serial port and it's specifications require baud rate to be set at 38400. I am using gpsd on Raspbian, which attempts to use baud ...
0
votes
3answers
4k views

How do I display an image file (PNG) in a simple window?

I've got a prototype I need to show for an RFID project. I've got the RFID (Parallax USB) working, and the sample Python script (my first) is displaying the ID of the card just like it's supposed ...
1
vote
2answers
57 views

More control of serial?

I am trying to control some really old proprietary hardware. I hooked a scope up and could determine that I need to send it essentially 21 bits in a row. It is a clock. so the fist seven are hours, ...