Questions tagged [uart]

a Universal Asynchronous Receiver/Transmitter, better known as serial port

Filter by
Sorted by
Tagged with
0
votes
1answer
3k 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 ...
0
votes
1answer
3k views

Control Raspberry Pi 3 through bluetooth connection

I have a raspberry Pi3 with bluetooth connection to my MAC computer. I need to control raspberry from MAC using bluetooth like serial interface (uart) Is there any way to do that? I only see using ...
0
votes
1answer
2k views

Writing problem with ttyAMA0 in termios

I want to use serial port of my raspberry (version 3) in order to communicate with the PC. It is my code, borrowed from http://www.raspberry-projects.com/pi/programming-in-c/uart-serial-port/using-the-...
0
votes
1answer
614 views

Connecting PL-2303 into my Raspberry Pi

I have a special mission to transmit 12Mbps of data from my RPi to external digital circuit. Using the Rpi UART protocol I could achieve rather low performance. My thought is to connect the PL-2303 (...
0
votes
2answers
3k views

Unable to read the RS232 attached GPIO pins the same way as USB serial port on Pi3

I maybe new to this, but I have the following configuration in place. Step 1: (Device 1){RS232}<=======(RS232 to USB cable)=======>{USB}(Pi) I have an RS232 to USB cable attached to the USB port ...
0
votes
1answer
893 views

using GPIO pins and UART at the same time

I am using a raspberry pi 3 with wiringPi for my project. My project is to communicate with 2 SDI-12 protocol sensors. In order for the sensors to wake up, sdi demands to send a wake up signal which ...
1
vote
3answers
3k views

Share UART via network

Is it possible to share the UART /dev/ttyAMA0 of the Raspberry Pi via the local network so that it is accessible from a Windows Machine? I think there will also be some driver for the Windows Machine ...
1
vote
2answers
268 views

Use USB-to-parallel cable as UART?

Can I (mis-)use my USB-to-parallel (printer) cable as UART cable in some way (e.g. sticking some cables in the female parallel output and use them as UART connectors)
0
votes
1answer
588 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 ...
1
vote
1answer
8k views

Send and Receive data in uart with raspberry pi in c and wiringPi [duplicate]

I do all things like below but it dont work well this is my code : #include <stdio.h> #include <string.h> #include <errno.h> #include <wiringPi.h> #...
-3
votes
2answers
9k views

UART interrupt in Raspberry PI with c or c++

I want use GSM module with raspberry pi i can send data bur for receiving data i want to use a interrupt function.pulling is valuable for me.
0
votes
1answer
5k 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 ...
1
vote
1answer
5k views

How to use UART with Python?

I am trying to work on Raspberry Pi UART in Python on Raspbian Jessie with Pixel. I followed procedures of UART settings available over internet. These are the following links: https://electrosome....
0
votes
1answer
1k 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 ...
2
votes
0answers
415 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 ...
3
votes
0answers
659 views

Disable onboard Bluetooth device and remap UART0 on Windows 10 IoT Core

We would like to use Gertbot card on Raspberry Pi 3 to control motors and to read distance sensors. For that, serial communication using UART0 on GPIO pins 8 and 10 is required. Observing Raspi serial ...
1
vote
0answers
359 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 ...
0
votes
2answers
384 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 ...
8
votes
3answers
28k views

How to connect SIM800 GSM ADD-ON to RaspberryPi 3

I am confused about how to connect SIM800 GSM module to RaspBerry PI 3. I connect the module to RaspBerry PI using the GPIO pins. What happends now? Are those GPIO pins automatically connected to ...
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 ...
1
vote
1answer
340 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 ...
0
votes
2answers
854 views

Where delete the parameter that references the UART serial port (ttyAMA0)?

I have to use a sensor and one of the steps asked me to delete the parameter that references the UART serial port (ttyAMA0) in cmdline.txt, does it mean that I have to delete this part console=serial0,...
3
votes
1answer
3k views

Raspberry pi, how to debug rx, tx pin

I have made a program which give instruction to a motor module. I have successfully send instruction to him, asking it to make a rotation back and forth, but I can't get back the feedback result. I ...
2
votes
2answers
3k views

What is the difference between the GPIO pins BCM 14 and BCM 18?

I am total noob. I read that the pins 14 and 15 are input and output for UART. But what does it actually mean? Is it a purely data pin? If its a data pin does it not go high and low? If so how is it ...
0
votes
1answer
1k views

Raspberry Pi Receive from Serial Port

I'm currently using raspberry pi and a microcontroller. I'm able to send a command via serial port to a microcontroller, but when I try to receive a data from it, a problem occurs. I have set up a ...
1
vote
0answers
605 views

Pi UART Flow Control Doesn't Work - Pi's Tx to Peripheral's Rx

I have problem to get the Pi UART flow control working - Pi as tx and Peripheral as rx. I tried with a Pi2 and a PiZero. Here are the observations: Initially data flow is fine when peripheral's RTS ...
3
votes
0answers
2k views

Raspberry Pi 3 Bluetooth Baud rate

How do I increase the available baud rate of the bluetooth module for the Raspberry P1 3 model B? I have tried editing the /boot/config.txt file with: init_uart_baud=1000000 init_uart_clock=16000000 ...
0
votes
1answer
9k views

Sending data to a raspberry pi over serial connection

I am trying to control a raspberry pi running linux using a Windows PC by sending data over a serial port. I have followed the following guide: http://www.instructables.com/id/Read-and-write-from-...
1
vote
1answer
474 views

pigpio wave_add_serial unreadable

I got some trouble with my sample code while trying to use pigpio as software UART implement. I can read from RX pin but write to TX pin became unreadable Those are my code: #!/usr/bin/python import ...
1
vote
1answer
5k views

Raspberry Pi 3 with SIM808, 7inch display module issues in communication (UART)

First my appologies about the title. Thats the best I could come up with. The problem is like this I integrated a SIM 808 module with Raspberry Pi3 and implemented a simple GPS get command to ...
2
votes
0answers
963 views

u-Blox SARA and ModemManager

I have a u-Blox SARA-U270 device connected to a Raspberry Pi 3 via UART GPIO pins, that I am trying to use for a 3G connection as a backup. I would like to manage this via NetworkManager/ModemManager ...
3
votes
1answer
486 views

Raspberry PI Uart: pi to pi communication (B+, B2, CMIO)

Good day I am currently setting up UART communications for two Raspi's using wiring Pi's uart library. I have three Raspberry Pi's (B+, Compute Module IO board, B2). I have been able to make ...
3
votes
3answers
9k 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( ...
3
votes
5answers
19k 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
0answers
252 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, ...
-1
votes
2answers
569 views

Send uart commands through bluetooth

I bought a raspberry pi 3. I ordered the Move controller it's a Kickstarter project. They use the phone to send uart commands through Bluetooth and they put a Dev documentation online. What I fail ...
6
votes
1answer
15k views

How to communicate between Pi 3 and an Arduino using UART from GPIO?

I need to transfer data between Arduino and Pi. I have an Pi 3, and I used a simple circuit with a voltage divider to deal with 3.3v vs 5v logic levels. But I got nothing. Then, I used only Pi3 with ...
1
vote
1answer
692 views

Trouble receiving UART data?

I am working on a project. And thetask is to collect the data from a washing machine using a raspberry pi. I have followed many tutorials, and for reference I have mentioned the steps below, Set up: ...
2
votes
1answer
484 views

How tp get USB to USB UART console without linux

I'm trying to develop my own OS kernel from scratch for the raspberry pi and I want to be able to debug my code from my computer over putty through a cable. Now I've did a little googling and found ...
2
votes
2answers
968 views

How to disable DMA when using UART on the Raspberry Pi 2

I have a latency issue when using UART on Raspberry Pi 2 and I want to disable DMA when using UART driver. I know that the Raspberry Pi 2 uses ampa_pl011 and I don't want use DMA. Can you tell me how ...
1
vote
0answers
293 views

uart interbyte time too long

I have problem about interbyte time with application using uart driver on raspberry pi 2. Interbyte time is time that each data byte sent via UART is delayed from the previous byte. With my ...
1
vote
1answer
418 views

Using RX, TX pins with IoT Core

I was trying to find some references about this topic but I didn't find any, so I decided to post this question first before buying something that won't work. Does IoT Core supports this? If so can ...
1
vote
2answers
810 views

Ultimate GPS hat gets a lock, but no data shows on ttyAMA0

I'm trying to get an Adafruit Ulitmate GPS Hat to work on my new RPi3 /boot/cmdline.txt has been modified to remove references to ttyAMA0: pi@gpsp3:/boot $ more /boot/cmdline.txt dwc_otg.lpm_enable=...
1
vote
1answer
215 views

How to Create shortcut that appends text to /boot/config.txt

I am trying to do the following with a shortcut on the Desktop : echo "dtoverlay=pi3-miniuart-bt" >> /boot/config.txt systemctl disable hciuart I have tried to put it in a script but when I ...
3
votes
1answer
6k views

Pi 3 Boot with UART console

I use Raspberry Pi 3 with image "RASPBIAN JESSIE" which is 2016-02-26 build. I plug in micro-usb to power on. Then I use USB to TTL adapter to try to login. I've set baud rate 115200, and connect GND, ...
0
votes
1answer
195 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 ...
2
votes
3answers
2k 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
1answer
600 views

Trying to communicate over a serial connection between RPi and Picaxe 18M2 Microcontroller?

I am trying to get a serial connection between an RaspberryPi and a Picaxe 18M2 Microcontroller. I found out that I should build the following cirucit because the Rasperry and the Microcontroller have ...
0
votes
0answers
773 views

Data Communication between two raspberry pi's via GPIO

Good day I am currently implementing an autonomous quadcopter with stereo vision using raspberry Pi. One (Let's call this Pi_1) is responsible for stereo vision the other is responsible for motor ...
3
votes
1answer
645 views

Adafruit Ultimate GPS HAT Connections

I have been messing around with this GPS HAT for a few days now. I do have it working, although I have multiple modules running at once on stacked breadboards. My main question is on AdaFruit's ...

1
3 4
5
6 7