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
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
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 ...
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
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
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
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
GPIO communication between 2 Raspberry Pis?
You can also use the UART on both units, just make sure you connect Tx on one with Rx on the other. Should get you at least 112000 kbps, and it is standard supported in both Raspbian (e.g. via the ...
3
votes
RFID system that integrates with Raspberry Pi Model B?
125 Kilo Hertz - Close Proximity
This is a really great way but these only work up to 15 centimetres. That is only 1/4 of what you need.
This Olimex, produced in Europe emulates a keyboard input, ...
3
votes
Accepted
RFID system that integrates with Raspberry Pi Model B?
Check out this tutorial on Adafruit NFC/RFID on Raspberry Pi Add RFID/NFC read and write to your Pi in an hour! . Here is the product page
3
votes
Accepted
Simple Custom 1-Wire GPIO Communication Protocol between Master PI and Slave PI
This post contains some discussion on 'bit banging' (apparently the term for software-implemented UART) on a Raspberry Pi - it might have some information you could use ?
How to get more than one ...
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
Best way of communication for embedded RPi
I suggest using Bluetooth Low Energy (BLE). You can get a dongle (pay attention that it is a BLE and not regular Bluetooth dongle).
As name already says - it is low energy.
Then I would setup an ad ...
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
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
Raspberry Pi as slave
You could use the GPIO ports on the Pi and the RPi.GPIO API for Python to communicate and convert the number to binary, although this would take quite a bit of coding.
Another option would be to ...
2
votes
Data collection from raspberry pi and send to computer (without using Ethernet or Wifi)
You can go for a Bluetooth connection.
There are cheap BT dongles for your RPi out there (quick installation tutorial)
and then use rfcomm to interact with your RPi.
2
votes
Data collection from raspberry pi and send to computer (without using Ethernet or Wifi)
An USB Null Modem Cable could work. It's for USB-host to another USB-host. Each end appear as a (fast) serial port to respective host.
http://www.ftdichip.com/Support/Documents/DataSheets/Cables/...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
communication × 147serial × 31
arduino × 20
pi-3 × 18
python × 18
gpio × 17
networking × 14
raspbian × 13
usb × 12
ethernet × 10
uart × 10
wireless × 9
wifi × 7
pi-3b+ × 6
i2c × 6
data-transfer × 6
internet × 5
pi-2 × 4
hardware × 4
rpi.gpio × 4
spi × 4
remote × 4
sockets × 4
bluetooth × 3
pi-zero-w × 3