6
votes
Direct two-way communication between a PC Application and a Pi Application
Two common and fairly flexible methods would be:
Direct ethernet connection. This requires you have an ethernet jack on the PC that is not otherwise in use. You connect that to the Pi, and you can ...
6
votes
Accepted
How do I connect my raspberry pi to a landline phone to process calls?
It depends how 'old' you phone is. If it's touchtone, it's somewhat easier, if decadic dial a little more challenging. you should read up on phones before starting, and this is a good reference.
You ...
5
votes
Direct two-way communication between a PC Application and a Pi Application
I'd go for Ethernet, either point-to-point or through the router. Why?
It handles transmission errors, correction etc. "out of the box" - I guess it's important for medical purposes (your heart rate ...
5
votes
Accepted
How to connect two PI 3 to each other through ad-hoc connection?
You can simply use the iwconfig tools on the both your Pis to join to an ad-hoc network.
use the following:
sudo iwconfig wlan0 mode ad-hoc channel 01 essid my-net
You can use your Link-Local ...
5
votes
Direct two-way communication between a PC Application and a Pi Application
You can run this as a serial USB device (FTDI-based cable) to GPIO pins
http://elinux.org/RPi_Serial_Connection
or you can use the raspberry pi in OTG mode to run the PI as a USB peripheral. The ...
5
votes
Accepted
How to get two raspberry pi's to talk over internet
What you want to do won't require any additional steps on your raspberry pi devices, and won't need anything proprietary or the gpio pins. The code can be the same as you would use to have two pi's ...
4
votes
How to connect to my isolated RPi
Mid ocean video communication can't be done for the $50 price range.
The Rockblock is for "short messages" meaning text or data under 340 bytes.
Videos are more like 1,000,000,000 bytes.
and just to ...
4
votes
Method of launching code on multiple Pi simultaneously over WiFi
I'd like to use tmux:
Run tmux locally with split window side by side
Run ssh to login each raspi in each panes
Run tmux command with :set synchronize-panes
Run whatever command you like in sync-mode
4
votes
Accepted
How to control GPIO of another RPI
pigpio allows for the control of multiple Pi's GPIO from one or more Pis.
Your Python program must import pigpio and create one or more instances of the pigpio.pi class. This class gives access to a ...
4
votes
Accepted
Install Asterisk on Raspbian?
The easiest way to start of would be to use RasPBX
http://www.raspberry-asterisk.org/
It is a Raspbian Jessie base OS with Asterisk and FreePBX installed and preconfiugred with all the goodies. (...
4
votes
Accepted
How to send and read a string from Raspberry pi to Arduino via serial interface?
Finally I was able to find a solution. I used the example 2 from this post posted in Arduino forum https://forum.arduino.cc/index.php?topic=396450.0. I have edited python code also.
Arduino code
// ...
4
votes
Accepted
SMS Gateway project using ZTE MF920V 4G MiFi modem
If the content of the message comprises only characters 0-9 A-F then the message is in all likeliness encoded in hexadecimal.
If you copy and paste the message payload into a utility that translate ...
4
votes
What's the best solution to detect the coming of a person
Yes the Raspberry Pi can scan and read the data from BLE Beacons.
There are lots of different beacon data formats, one of the more popular is the Eddystone format. https://github.com/google/eddystone
...
3
votes
What should I use for wireless communication between an Arduino and a Raspberry Pi
The most common wireless communications for arduino/Pi/sensors are:
Wifi
RF (something like a 433Mhz Tx/Rx module)
Bluetooth
Those are simply the communication channel and any/all will work - the ...
3
votes
Accepted
Raspberry Pi and serial only working one shot
As mentioned in the comments above, the use of this C library solves the problem.
However, as I don't want to switch to C I will not accept it as an answer for now.
EDIT: There is the solution:
...
3
votes
Accepted
Verified 4G USB dongles
The elinux pages are sometimes out-of-date, but it is also worth noting that those lists are not exhauastive by nature, hopefully that does not require further explanation.
Whether a device will work ...
3
votes
Accepted
Conversion from SPI for long distance communication
you will need to have another micro there - this the most reliable solution.
Or use long range I2C IC-s as described here
You can can actually archive 120k clock speed on 250m connection - but I am ...
3
votes
Accepted
Using Raspberry in Nanosatellite
The short answer is: it depends on how far up you plan to go, how long you plan to stay there, and when you do it. For most balloon-lifted flights, radiation probably isn't going to be a huge concern.
...
3
votes
Accepted
When socket programming on raspberry pi, getting ConnectionRefusedError
Your host code is
host = `192.168.0.1`
while the client code is
host = '192.168.0.10'
As you say connecting with telnet works, the address of the host must be 192.168.0.1, so the client should ...
3
votes
How to turn off RX and TX pins
The 4G HAT presumably uses the serial port for a reason.
Serial is point to point protocol, so only 2 devices can be used.
If you want to use Arduino don't use the Pi or vice versa.
Your question ...
3
votes
Communication between 2 raspberry pi's
The FIRST thing you MUST do in interconnecting 2 devices is ensure they have a common reference (incorrectly called Gnd - as the Pi will float wrt Ground).
It is also recommended to join Gnd FIRST - ...
2
votes
Accepted
Make sure serial data sent
There are several ways to monitor the transmitted data.
A logic analyser connected to TXD
my piscope utility
my pigpio pigs utility.
A logic analyser would let you see the signal and should be able ...
2
votes
Raspberry Pi and serial only working one shot
I've noticed the same issue using python to read Arduino serial output. If I use a Tcl script or the 'screen' application then the output is a stream of numbers as expected. However, when using Python ...
2
votes
Direct two-way communication between a PC Application and a Pi Application
The simplest, fastest, and probably most reliable connection would be a point-to-point Ethernet cable.
Alternatively a serial to USB dongle. The serial end could be on the Pi from the UART (pins 8/...
2
votes
Is it possible to write data directly from a mobile to a PC through the mobile's SD card slot?
No. Both the RPi and the GoPro will attempt to access to the SD card or interface at the same time, and could cause damage to each other.
The closest you can come is:
A sd to wifi card, like the ...
2
votes
PC communication to Raspberry Pi
Bluetooth:-
Bluetooth support is limited at this stage; you can pair with pretty much anything, but you can only usefully connect to devices which support either the Human Interface Device or Audio ...
2
votes
Wireless Pi 3 to Pi 3 communication
If I were the programmer, my game plan would be
One Pi would be a WiFi access point with a static IP (also contains game host logic).
Several client Pis, pre-configured with the host's PSK keys. DHCP....
2
votes
capture Image with picam then send to another pi via UART
In the simplest form, the sender simply reads the file and writes its contents to the UART, while the receiver opens the UART and keeps reading bytes until there's nothing left (with a reasonable ...
2
votes
LoRaWAN connection between three Raspberry Pi 3s
Yes, no, sort of.
I assume you have read the article you linked and found "How to build your own lorawan gateway", with the gateway being raspberry C.
You will also find the datasheet for the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
communication × 154serial × 32
python × 20
arduino × 19
pi-3 × 18
gpio × 17
networking × 15
raspbian × 13
usb × 13
ethernet × 10
uart × 10
wireless × 9
wifi × 7
pi-3b+ × 7
i2c × 6
data-transfer × 6
hardware × 5
bluetooth × 5
remote × 5
internet × 5
pi-2 × 4
rpi.gpio × 4
python-3 × 4
spi × 4
sockets × 4