Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [communication]

Regarding communication between a Raspberry Pi and another device. Communication that is not specific to any particular medium.

-1
votes
1answer
28 views

p2p - Send data from Windows Computer to RPI [closed]

I want to be able to send a small amount of data quickly directly from a windows machine to a Raspberry Pi 3 B+. My restrictions include: Preferably not having any sort of wired connection between ...
0
votes
1answer
65 views

Could not open port /dev/ttyS0: Errno 13: Permission denied: '/dev/ttyS0'

I am getting this error whenever I am trying to run this code: import serial from time import sleep ser = serial.Serial ("/dev/ttyS0", 9600) #Open port with baud rate while True: ...
0
votes
0answers
20 views

How to design a acknowlegement Function.?

import RPi.GPIO as GPIO import time def wait(): if GPIO.input(5)==1: print ("ack rcvd") return GPIO.setmode(GPIO.BOARD) GPIO.setwarnings(False) GPIO.setup(8,...
0
votes
1answer
48 views

Long distance wired communication between 2 raspberry pi [closed]

I need to send video feed from one raspberry Pi to another raspberry Pi for 10 meter . Can I use Ethernet cable ? what do i need to do?
1
vote
0answers
17 views

How to communicate with my raspberry pi without using ssh or http? [duplicate]

I have a raspberry pi at home that I want to control from the "outside" world (e.g. my office). The thing is that my home router is not visible to the outside world; it's within some kind of a "subnet"...
0
votes
1answer
38 views

Using Raspberry in Nanosatellite [closed]

I want to use raspberry pi in space projects like cubesats. I worry about effects of space radiation on raspberry.Is this possible to do?or i need to choose another board or something like that?
2
votes
1answer
46 views

fork() Process Issue on Channel Switching via Rotary Encoder

I have KY040 rotary switcher(encoder) as shown below picture. It is the scenario that there are 5 radio stations(simple html url) in urls.txt which are read into stations list in radyoCS.py, at every ...
0
votes
1answer
54 views

I am trying to create a HID that controls the up and down arrow keys with the raspberry pi

I am trying to create a HID that controls the up and down arrow keys with the raspberry pi. I don't know the simplest/best way to connect the pi to pc for live data exchange. My idea is that the pi ...
1
vote
1answer
132 views

Serial communication using GPIO Pins for more than 2 raspberries

I'm doing a project at work which involves multiple (more than 2!) raspberry pies (Model 3 B+) being able to talk to each other (talk to each other means being able to send data of the size of a ...
0
votes
0answers
117 views

streaming from usb camera using raspberry pi using flask and apache2

i want to stream video from raspberry pi camera and some other variables to another computer and receive variables from this computer , so i used flask to make an html page in which i streamed the ...
0
votes
0answers
48 views

Raspberry Pi Lifi Proof of Concept Help

I'm currently an Electronic Engineering student. I'm coming to my third year and I can build a project of my choosing to write my dissertation about. I have decided to do it on Lifi. I would really ...
0
votes
0answers
14 views

I want to read my rpi2 values from arduino serial screen [duplicate]

im using OpenCV and making some object tracking over the webcam. So i need to read my camera values (objects location x,y ). And i want to read it from arduino pins. How can i do that ? thx already.
0
votes
0answers
356 views

Passing Command via Bluetooth to control Android device

I am trying to control my Android Device using Rpi3(using command line) via Bluetooth. I am able to pair my device with Rpi3 and can also send data(images & files) via Bluetooth. But I don't have ...
2
votes
0answers
917 views

Raspberry Pi and LIN Bus

I want to implement a LIN Bus using a Raspberry Pi 3. The RPi will be the master controlling slaves on the LIN Bus. My idea is to use the Raspberry Pi UART, but I am not sure to what extent this ...
0
votes
0answers
198 views

Using RPI 3 with Carberry as a LIN Master and display data on 7" display

I'm looking at purchasing a Carberry (expansion board for the Raspberry Pi) to read LIN slave messages and display them on the Raspberry official 7" display. However I'm having trouble determining a ...
1
vote
1answer
643 views

Communication between Raspberry Pi and STM32

I am working on an ECG signal processing project to detect heart arrhythmia in real time and notify the doctor via SMS , initially I was using a raspberry pi 3 b+ for the processing an AD8232 ECG ...
0
votes
1answer
30 views

What's the best way to connect a Desktop app and a raspberry Pi? [closed]

Let's say I have a few sensors and LEDs connected to a raspberry Pi and I want to make a fully connected GUI on a desktop(PyQT) for it. So I can see the sensor values, toggle the LEDs and so forth. ...
0
votes
1answer
299 views

Serial communication with JAVA

I installed pi4j.deb and I I wanted to compile a code using this library but I got this error Exception in thread "main" java.lang.NoClassDefFoundError: com/pi4j/wiringpi/Serial at mainclass....
0
votes
0answers
66 views

Pi to Pi communication over bluetooth [duplicate]

I want to communicate between two pi's over bluetooth. The data is text encoded in JSON. I have found tons of articles explaining communication between pi and android or some other client but cannot ...
0
votes
0answers
486 views

Reading and writing to a serial port

I am trying to communicate via serial with my RPi3 with a programmer that is already connected to another fixture to program. The USB end of a USB to Serial converter is attached to my RPi3 and the ...
0
votes
1answer
605 views

serial communication with raspberry pi and a device

My apologies. I really needed to clarify my problem. So I have this setup: My PC(my device) is connected to one end of an RS232 cable. The other end of the RS232 cable is connected to a R232 to USB ...
0
votes
1answer
176 views

Direct connect router UART 3.3v to pi3B UART 3.3v and use debug console

Can I use a Raspberry PI model B to interact directly to a router debug console (undocumented) via "screen". TX <-> RX RX <-> TX GND <-> GND # screen -L /dev/ttyAMA0 115200,-...
1
vote
0answers
41 views

Using RPi as DAQ for PC

I am quite new to using RPi, but my experience has been great so far. I am hoping to achieve just one more thing. I have 4 ADCs hooked up to my RPi using I2C, and I am sampling at roughly 800 - 1000 ...
0
votes
0answers
23 views

Finding all devices within range of a Pi 0 W AP

If my Raspberry Pi 0 W is functioning as an access point, is there a way to get a list of all the devices in range of the access point, and their relative frequencies and signal strengths? If so, how ...
1
vote
2answers
541 views

USB communication Arduino/Raspberry PI3 issue

I'm trying to send data to my raspberry PI3 by USB. Aim : One arduino (n°1) sends data to another by 433Mhz (virtualWire library on arduino) The other arduino(n°2) receives the data and transmits it ...
1
vote
0answers
53 views

Increasing Raspi I2C rate with Arduino

I am using an arduino to sample sound at 44.1 kHz and sends those values as a long through I2C to a Raspi for processing. The desired rate is 44.1k*4bytes = 177 kb/second. Currently the raspi only ...
0
votes
0answers
53 views

Streaming large data from RPi to iPhone

I would like to transmit a large files e.g. video from Raspberry Pi to iPhone. I read that might be possible via starting Websocket server on Raspberry Pi and connecting iPhone to it. Is there any ...
1
vote
1answer
2k views

Multiple Raspberry Pi communication

If I have four Raspberry Pi acting as different sensors and I want to communicate their sensor data to a central computing device located in the same physical space, what type of network communication ...
0
votes
1answer
1k views

Arduino to RPi using Bluetooth?

I'm working on a project that the goal is to send data from an Arduino (a Flora, specifically, reading sensor information) directly to a Raspberry Pi using BLE. I'm following this guide, and on ...
0
votes
0answers
273 views

Using USB to serial port on Raspberry Pi

Can I use a USB to serial cable on my Raspberry Pi? I would like to use it by plugging in the USB cable to my Raspberry Pi, connecting the serial end to a null modem, then plugging another serial to ...
0
votes
2answers
619 views

Is it possible to communicate between two or more pi's via ethernet cable?

So I have started a project and I would like to communicate between two or more pi's via an ethernet cable and without the use of an internet connection. I have read in another post on here that it ...
1
vote
0answers
109 views

Send a command from one raspberry pi to another to begin a bash script

I would like to be able to initiate a bash script on a raspberry pi 3 that tells another raspberry pi to initiate its own bash script (to run sensors). Here is my setup: I am communicating to the ...
0
votes
1answer
773 views

UART Communication between Raspberry pi and Atmega32

Lately, I have been trying to serially communicate raspberry pi with Atmega32 using UART. The raspberry pi has to calculate some coordinate value and transmit it to Atmega which controls motors. I ...
1
vote
1answer
188 views

Asterisk and Python communicate in Raspberry Pi?

I'm currently working on a project which is based on RPi and Asterisk. What I Want In my project, I need to get incoming call details like caller ID into python and perform some functions connected ...
1
vote
1answer
8k views

TCP Communication Raspberry Pi and PC via Ethernet

I would like to reach my Raspberry Pi 2 from my PC or from PC to Raspberry Pi 2 via Ethernet cable. I aim to send/receive simple data(like "Hello world") in that way. I`ve tried some python code below....
1
vote
1answer
2k views

Install Asterisk on Raspbian?

I'm new to the Raspberry Pi and I hope to start a project which will need Asterisk and Raspbian OS both installed on the same SD card. What I want I need to run Asterisk and Raspbian OS both at the ...
0
votes
2answers
2k views

How to control GPIO of another RPI

I'm tring to build Home automation app, and I try to find ( unsuccessfully ) any code/ documentation for controling GPIO's of other RPI's, using Python. Any leads ?
1
vote
2answers
80 views

Is communication between Raspeberry Pi 2 and smartphone possible using USB

I'm currently trying to make a communication between my Raspberry Pi 2 and my smartphone (Samsung Galaxy S7). I'd like to do it using a USB cable, does anyone know if it's possible and how to do it?
0
votes
1answer
43 views

Method of launching code on multiple Pi simultaneously over WiFi

I have several Pi Zero W's each with a Pimoroni 'Phat' attached. I have three different types of these 'Phats'. I would like to be able to launch one of three programs that control these, so the same ...
3
votes
1answer
686 views

Set custom mouse button actions

How would I set custom mouse button actions on my Raspberry Pi? Here's the idea: I have a Pi with speakers with a mouse dongle connected. I want to dismantle a wireless mouse and use the already ...
0
votes
2answers
427 views

Communication between Raspberry Pi (RPi) 3 Model B and Copley motor driver (R23-055-10) by using RS232 Connection

I am trying to get communication between RPi3 Model B and Copley motor driver by using RS232 protocol. Copley driver replies only when ascii codes are sent to it. I want to send an ASCII code but I ...
1
vote
1answer
136 views

How can one send commands and stream back video from a raspberry pi over 10 km without an external internet connection?

Controlling a drone via Raspberry Pi. It needs to be controlled from a Tablet or Laptop. My problem is that the distance required approaches 10 km. Most use would be in the wilderness. Where there is ...
1
vote
2answers
452 views

Interfacing with a 24V IO device

I have a UR10 industrial robot arm that I'd like to communicate with using it's IO board with my Pi 3B. I would like the arm to perform a pick and place routine after I detect that some operation is ...
0
votes
1answer
225 views

Communication between C and C# program on RPI3

I have a question i wondered by myself if it is possible to communicate between a C# and C programm. I want to use the C# program for the user interface and then send commands to the C program that ...
0
votes
1answer
151 views

Conversion from SPI for long distance communication

I'm using a number of MCP3208 ADCs to read from remotely-mounted analogue sensors. I'm planning on having a remote PCB which contains the power/ground rails, voltage dividers (where required), ...
1
vote
2answers
2k views

How to connect two PI 3 to each other through ad-hoc connection?

Okay, I am very much a NEWBIE when it comes to these type of connections. So, I searched on this website on how to be able to do this and I came across two promising questions and answers. However, ...
0
votes
3answers
709 views

Raspberry Pi 3 Occasionally 'Falls Off' The Wireless Network

I have a few raspberry pi 3 model B's that I use for data acquisition and communication. I occasionally have a need to remote access them, so I have set up an xrdp communication on the pi's, and I use ...
3
votes
0answers
305 views

Networking - Two Raspberry Pis communicating over wired connection

As a part of my research I need to have two Raspberry Pis and a Pixhawk all within the body of a UAV. I know I can get one Pi connected to the Pixhawk over mavlink, but how can I get the two Pis ...
0
votes
1answer
433 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 ...
1
vote
1answer
274 views

Wireless Pi 3 to Pi 3 communication [closed]

I (and a few others) are working on a game a la Lingo. For that we want to have 1 host Pi to which the team Pi's can connect to. This connection would be used to send strings from the teams Pi to the ...