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 ...
goldilocks's user avatar
  • 58.5k
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 ...
Jack Creasey's user avatar
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 ...
Mark's user avatar
  • 423
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 ...
Shan-Desai's user avatar
  • 1,521
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 ...
bk79's user avatar
  • 122
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 ...
wutch's user avatar
  • 166
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 ...
user1133275's user avatar
  • 2,207
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
kev's user avatar
  • 356
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 ...
joan's user avatar
  • 70.6k
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. (...
Piotr Kula's user avatar
  • 17.3k
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 // ...
smc's user avatar
  • 297
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 ...
gatorback's user avatar
  • 637
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 ...
ukBaz's user avatar
  • 1,445
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 ...
KennetRunner's user avatar
  • 1,050
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: ...
Adrien's user avatar
  • 61
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 ...
goldilocks's user avatar
  • 58.5k
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 ...
0___________'s user avatar
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. ...
WECole's user avatar
  • 86
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 ...
RalfFriedl's user avatar
  • 2,188
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 ...
Milliways's user avatar
  • 58.7k
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 - ...
Milliways's user avatar
  • 58.7k
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 ...
joan's user avatar
  • 70.6k
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 ...
patthoyts's user avatar
  • 501
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/...
joan's user avatar
  • 70.6k
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 ...
cde's user avatar
  • 301
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 ...
Milliways's user avatar
  • 58.7k
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....
Aloha's user avatar
  • 7,116
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 ...
Dmitry Grigoryev's user avatar
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 ...
MaxDZ8's user avatar
  • 329

Only top scored, non community-wiki answers of a minimum length are eligible