We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [communication]

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

Filter by
Sorted by
Tagged with
2
votes
0answers
64 views

Pulse Position Modulation on Raspberry Pi Zero

I want to WRITE a Pulse Position Modulation (PPM) to an arduino from a raspberrypi. Is the board capable to do this and if so, from which port/pin? A pulse position modulation is a signal that ...
0
votes
0answers
16 views

Connect mobile phone/app to Pi Zero W via Bluetooth

Is there any easy way to connect my android (later ios too) device to my pi zero w via Bluetooth? I'm looking for a way to send data to my mobile phone without using Wifi. edit: I want to write an ...
1
vote
0answers
23 views

New to Pi I need to connect a device via serial communication, how do I teach myself?

I've been asked to connect and control a finger-sensing device to a Raspberry PI. There is a protocol to respect called OSDP. It supposes a serial connection on top of RS485. I'm a seasoned C/C++ ...
1
vote
2answers
53 views

Local network between 2 RPIs over GPIO

I’m planning a project where a RPI zero will be controlling a flying vehicle. It’s going to have 2 (maybe 3) cameras as an input. These will be connected over USB. I’m aware that processing the ...
1
vote
1answer
38 views

When socket programming on raspberry pi, getting ConnectionRefusedError

I am working on a simple project where I need two raspberry pi's communicating each other with an ethernet cable. I connect one end of ethernet cable to let's say first pi and the other end to second ...
1
vote
1answer
166 views

Rpi3B+ buster USB to Serial (/dev/ttyUSB0) Communication Problem

I'm trying to establish a serial communication between my Raspberry PI 3 B+ - running on Raspbian 10 Buster - and a testing machine I have. The normal behavior of the machine is to send test related ...
2
votes
1answer
49 views

USB serial communication between Raspberry Pi 3 and Roboteq motor controller [closed]

I am new to Raspberry Pi and it's communication. I need to make a project where I want to use a Raspberry pi 3 as a monitoring device for motors and battery system. The Raspberry pi itself ...
1
vote
1answer
55 views

Control Raspberry Pi from long distances not using WiFi

I want to control my Raspberry Pi from a long distance not using WiFi and be able to send my data to it and receive data from it distance could be like 12 kilometres for more than it and and if ...
0
votes
0answers
23 views

How to change COM port setting on Raspberry Pi using Ubuntu Mate

I would like to ask how to change USB port and COM port setting on Raspberry Pi 3 B+ using ubuntu Mate 18.04? I want to connect my sensor to the raspberry pi, and need the com port number. Any ideas ...
0
votes
0answers
56 views

RPI GSM Add-on SIM800 AT commands are not working

I am trying to send sms using RPI Add on v22 module and Raspberry-pi 3+. I have mounted this module on top of Raspberry-pi. When I use minicome using minicom -D /dev/ttyS0 -b 115200 -o I get the ...
-1
votes
2answers
38 views

Communication between rpi and microcontroller [closed]

I need to program communication between raspberry pi 3 and microcontroller. I'm wondering what type of communication is the Best. I2C, UART or SPI?
0
votes
0answers
30 views

Communicate between two Raspberry Pis using USB-Ethernet cable

I have two raspberry pis I want to communicate between. For convenience, let's say one is always the talker and the other is always the listener. The listener's ethernet port is occupied by another ...
0
votes
0answers
23 views

PiCAN2 network is down

I am using RPi 3 model B+. I am trying to set up can communication using Pi CAN2 (From SKpang) with baud rate 500000. But I am getting "write: Network is down" whenever I am sending "./cansend can0 ...
0
votes
0answers
55 views

reading EMG on Rpi3 using Teensy 3.2 on usb serial

We are using MyoWare EMG sensor and reading the RAW EMG pin as well as filtered SIG pin on the board. What it basically does is sends an analog value as a fraction of the input Voltage, which in this ...
1
vote
1answer
46 views

Peculiar features of I2C communication between RPi and Arduino

I am currently trying to establish two-way communications between an Arduino Leonardo and a Pi model B using the I2C bus, as slave and master respectively. Spookily, the Pi can successfully send ...
0
votes
0answers
65 views

Should I buy a pi zero with my Pi 4 4GB

I am buying a raspberry pi 4B with 4GB of ram and I was wondering what the connectivity between raspberry pi 4 and Pi Zero is like? Do they communicate well? and what software do you suggest? Is ...
0
votes
2answers
625 views

How to send and read a string from Raspberry pi to Arduino via serial interface?

I was trying to send and receive data between Raspberry pi and Arduino UNO. I'm able to send and receive a string from Arduino to Pi using Serial.println. I spent hours searching a better tutorial or ...
0
votes
2answers
32 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
29 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
106 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
122 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
21 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
32 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
34 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
90 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
119 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
22 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
42 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
2k 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
64 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
18 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
44 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
65 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
117 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
394 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
136 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
2k 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
330 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
34 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
587 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
160 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
800 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
434 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
46 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
633 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
74 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
81 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 ...