Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
2answers
28 views

Communicate with computers on external networks

I'm trying to build an application with my RPi 3B that get some data from connected sensors. Once I got the data, I'd like to send them to a computer that is on an external network via a script in ...
0
votes
1answer
25 views

LoRaWAN connection between three Raspberry Pi 3s

Are LoRaWAN devices able to transmit compressed/zipped JSON files which are 5-10 Kb big? Furthermore I've been reading up the LoRaWAN technology to get a better understanding. I would like to have 3 ...
-1
votes
1answer
30 views

Serial communication error

Could someone help me to fix this error while trying to connect RPi 3 B+ to an inverter in order to read data via CH340G usb module, Below the used code : from pymodbus.client.sync import ...
1
vote
1answer
35 views

Modbus communication

I try to read data from a device by raspberry 3 B+. those two devices are connected via CH340G usb module (USB to Serial (TTL) adapter). Concerning the python code; here's: from pymodbus.client....
0
votes
0answers
15 views

Bluetooth connection between neighbours

I want to connect wireless different PIs in a wide field. For me it would be enough to connect until 5-10 meters. But I need something reliable. After I want to treat the data with Pure Data. Has ...
1
vote
0answers
19 views

CAN bus read on RPI3

I have 10 CAN IDs on the bus and would like to read all the 10 IDs every 0.1 seconds. I was able to write the code below but it shows me one message only. import can bus = can.interface.Bus ("can0", ...
0
votes
0answers
25 views

How do I make my RPi talk to my PC over an Ethernet Cable?

My PC is running Windows 10. I'm working on establishing communications from my RPi to my PC via an ethernet cable. I've set up static IP addresses for both the PC and RPi on their respective ethernet ...
0
votes
2answers
40 views

capture Image with picam then send to another pi via UART

I would like to send an image(JPEG) captured by a pi-zero (in a in-closed container) to an pi3 for storage and analysis. Currently I have UART via gpio set up, but so far I have only been able to send ...
0
votes
0answers
56 views

Read data from a balance via RS232 port using rs232 to usb converter cable in rapsberry pi

I am a beginner to this, I have a balance (scale) that I need to read the data (weights of material) from. Data will be read every 10 seconds and I have looked up RS232 codes in here and utilised ...
0
votes
0answers
19 views

raspberry in the middle

I have a pc that can communicate to broader intranet, but it now must also connect to LINUX server that is its own network via RJ45 ( wired LAN ). The Raspberry could communicate to the special ...
-1
votes
1answer
35 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
682 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
1answer
56 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
40 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
55 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
84 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
250 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
156 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
87 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 ...
2
votes
0answers
1k 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
269 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
1k 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
33 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
470 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
113 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
1answer
712 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
345 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
44 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
584 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
66 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
61 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
3k 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
2answers
905 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
116 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
898 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
219 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
2answers
12k 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
3k 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
81 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
45 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
932 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
513 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
161 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
571 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
237 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
164 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), ...