RedPaladin
Posts: 9
Joined: Fri Jun 19, 2015 2:15 pm

Pi-to-Pi Communication without wifi

Fri Jun 19, 2015 2:22 pm

Hey, I was just curious if there was something capable of having two Pi's to communicate with one another in the absence of an internet connection. The project I need this info for will be outside and way from any source of wifi connection. I appreciate any advice or information the Raspberry Community can give me.

-RP

User avatar
joan
Posts: 14959
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Pi-to-Pi Communication without wifi

Fri Jun 19, 2015 3:45 pm

Depends on the distance.

You could connect Ethernet port to Ethernet port which should be good for 100 metres. You could use a serial link for shorter distances.

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5643
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Pi-to-Pi Communication without wifi

Fri Jun 19, 2015 3:49 pm

RedPaladin wrote:Hey, I was just curious if there was something capable of having two Pi's to communicate with one another in the absence of an internet connection. The project I need this info for will be outside and way from any source of wifi connection. I appreciate any advice or information the Raspberry Community can give me.
-RP
There are several (physical) ways (some not "networking" methods) using different, wired connections such as:
wired-LAN to wired LAN
USB to serial (http://www.cpmspectrepi.webspace.virgin ... pters.html )
serial to serial
USB-to-USB networking (http://www.cpmspectrepi.webspace.virgin ... Cable.html )
And you could still use WiFi, depending upon how the Pi's are powered, using something like these on one of the Pi's:
http://www.cpmspectrepi.webspace.virgin ... outer.html
http://www.cpmspectrepi.webspace.virgin ... ridge.html
(As @joan has already pointed out it also depends upon the distance between the Pi's)
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

RedPaladin
Posts: 9
Joined: Fri Jun 19, 2015 2:15 pm

Re: Pi-to-Pi Communication without wifi

Fri Jun 19, 2015 3:53 pm

FTrevorGowen wrote:
RedPaladin wrote:Hey, I was just curious if there was something capable of having two Pi's to communicate with one another in the absence of an internet connection. The project I need this info for will be outside and way from any source of wifi connection. I appreciate any advice or information the Raspberry Community can give me.
-RP
There are several (physical) ways (some not "networking" methods) using different, wired connections such as:
wired-LAN to wired LAN
USB to serial (http://www.cpmspectrepi.webspace.virgin ... pters.html )
serial to serial
USB-to-USB networking (http://www.cpmspectrepi.webspace.virgin ... Cable.html )
And you could still use WiFi, depending upon how the Pi's are powered, using something like these on one of the Pi's:
http://www.cpmspectrepi.webspace.virgin ... outer.html
http://www.cpmspectrepi.webspace.virgin ... ridge.html
(As @joan has already pointed out it also depends upon the distance between the Pi's)
Trev.
So how exactly do those last two links work? From what I am thinking I will not be able to have a cable attached to the two so that rules out the usb linking cable. I have never seen that Vonets bridge before.

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Pi-to-Pi Communication without wifi

Fri Jun 19, 2015 4:05 pm

You can make your own hotspot with one of the Pi and then have the other connect to it. No Internet needed, it creates it's own network. Works really well for me.
There are 10 types of people: those who understand binary and those who don't.

RedPaladin
Posts: 9
Joined: Fri Jun 19, 2015 2:15 pm

Re: Pi-to-Pi Communication without wifi

Fri Jun 19, 2015 4:09 pm

kusti8 wrote:You can make your own hotspot with one of the Pi and then have the other connect to it. No Internet needed, it creates it's own network. Works really well for me.
Forgive me, but can a Pi just make its own hotspot? What I mean is do you need a special attachment like a wifi dongle or something to do this?

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Pi-to-Pi Communication without wifi

Fri Jun 19, 2015 4:12 pm

You need a WiFi dongle of course, but after that it's just a matter of following a few steps that you can find online. Both Pis would need a WiFi dongle.
There are 10 types of people: those who understand binary and those who don't.

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5643
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Pi-to-Pi Communication without wifi

Fri Jun 19, 2015 4:17 pm

RedPaladin wrote:
kusti8 wrote:You can make your own hotspot with one of the Pi and then have the other connect to it. No Internet needed, it creates it's own network. Works really well for me.
Forgive me, but can a Pi just make its own hotspot? What I mean is do you need a special attachment like a wifi dongle or something to do this?
Which, AFAIK, is what the LB-link device can do in A(ccess) P(oint) mode IIRC. (It's a while since I've played with the "bridge" device and it may not support "hotspot creation")
In my O.P. I could have added "wireless transceiver's" running of the GPIO's, but I've not used any of those myself.
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

RedPaladin
Posts: 9
Joined: Fri Jun 19, 2015 2:15 pm

Re: Pi-to-Pi Communication without wifi

Fri Jun 19, 2015 4:24 pm

http://www.amazon.com/nRF24L01-Wireless ... QMX06RPDJB

So I've found this transceiver. I like the idea of using this. @kusti8 are you talking about a dongle like this: http://www.amazon.com/Raspberry-Pi-WIFI ... B009FA2UYK. Or are you saying something like a wifi modem? An internet modem?

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Pi-to-Pi Communication without wifi

Fri Jun 19, 2015 4:28 pm

Yes, that's what I'm talking about. It's much less hassle than trying to send messages via radio and since it's a simple network, you can do much more. Range isn't as good as radio though. Get a bigger dongle with an antenna to go farther.
There are 10 types of people: those who understand binary and those who don't.

RedPaladin
Posts: 9
Joined: Fri Jun 19, 2015 2:15 pm

Re: Pi-to-Pi Communication without wifi

Fri Jun 19, 2015 4:34 pm

Ok! Thanks for your help! You've cleared up some of my questions

Pramodh B
Posts: 8
Joined: Sun Sep 18, 2016 3:06 am

Re: Pi-to-Pi Communication without wifi

Fri Oct 21, 2016 10:34 pm

kusti8 wrote:You can make your own hotspot with one of the Pi and then have the other connect to it. No Internet needed, it creates it's own network. Works really well for me.
how to do that,can u tell me how

Return to “Other projects”