nodejs21
Posts: 1
Joined: Mon Aug 27, 2018 1:33 pm

RPI 3 Built In Wifi and Arduino with NRF24L01 communication

Mon Aug 27, 2018 2:07 pm

I'm a beginner and have searched a lot about RPI and Arduino communication, but everywhere i found that people have used NRF24L01 or ESP8266 on both the ends.

My simple question is that can't we use RPI 3 built in wifi to communicate (for both sending and receiving messages) with NRF24L01?

User avatar
lmarmisa
Posts: 1230
Joined: Thu Feb 14, 2013 2:22 am
Location: Jávea, Spain

Re: RPI 3 Built In Wifi and Arduino with NRF24L01 communication

Mon Aug 27, 2018 7:51 pm

I have experience with ESP8266 and ESP32. I suppose that NRF24L01 will be very similar.

If you want to communicate your RPi with a NRF24L01, I recommend two protocols:

1) MQTT. This is a publish and subscribe protocol. If the message interchange is simple (not sequential), this is a good solution. You will have to install the MQTT broker package named mosquitto on your RPi. You will need MQTT clients on both sides too (RPi & NRF24L01).

2) Socket. This is a very powerful communication protocol oriented to client-server architectures.

User avatar
davidcoton
Posts: 4180
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK

Re: RPI 3 Built In Wifi and Arduino with NRF24L01 communication

Mon Aug 27, 2018 9:12 pm

nodejs21 wrote:
Mon Aug 27, 2018 2:07 pm
I'm a beginner and have searched a lot about RPI and Arduino communication, but everywhere i found that people have used NRF24L01 or ESP8266 on both the ends.

My simple question is that can't we use RPI 3 built in wifi to communicate (for both sending and receiving messages) with NRF24L01?
I haven't tried, but from the spec the answer seems to be "No". The NRF24L01 uses a proprietary protocol not compatible with the Pi's WiFi.

OTOH, ESP8266 supports 802.11 b/g/n which means it will work on a WiFi network. The Pi can act as the AP.
Signature retired

Return to “Beginners”