Raspberry Pi Tutorial 32 - Wireless Pi to Pi Python Communication with NRF24L01+ Part 1

preview_player
Показать описание
The NRF24L01 + is an inexpensive low power high speed communication device! It's not exactly plug and plug on a Raspberry Pi though, as compared to a wifi dongle. In this tutorial I show you how to establish one way communication between two Raspberry Pis connected to two NRF24L01+ transceivers!
Рекомендации по теме
Комментарии
Автор

it's not working. the loop keeps on going and just prints no payload received... also in the receive script, it's showing some unusual results. please help

jayeshalagh
Автор

I'm trying to understand radio.begin(0, 17) What is the "0" for? On a pi3b, I'd like to connect CE & CSN to GPIO7 and 8 to accommodate a 2x5 shell header I've for the connections. But, not sure for the radio.begin() what the args should be and what order. I'm not finding manual docs for the the call.

bgable
Автор

this is use for only one way communication? how about if we need to become two way communication?

Inalvin
Автор

Is it possible to connect multiple slaves? Is it practical to use for a lightshow?

tompaquette
Автор

I am having two issues. I know this is a old video however my receive Pi is working but my send Pi does not all me to set a PALevel & will not accept TX/RX addresses. I removed the PALevel command and script runs however address with not push through to the model. Channel is not pushed either.

Evanmd
Автор

radio.printDetails()
shows that pipe address not changing not getting any output

lintokd
Автор

can you tell me what is the two things connected to the breadboard and how is the big caple called

ivangeorgiev
Автор

hi Alexander Baran-Harper, I have did the same you have shown in the video.I didn't find any error in the code .But the communication between the raspberry pi's isn't happening and the connections are the same you have shown in the video.Can you please guess what might be the problem?? in my case "If program and the hardware connections are same as you have shown in the video".

sharathvedala
Автор

I dont know why but my crc length is not getting enabled at all
please reply fast

ps-i use raspberry pi 3b+

aritraghosh
Автор

Thanks for a really great tutorial and I've now managed to finish a project that I've had in mind for some time. On Pi#1 I've got an EnviroPHAT with 3 potentiometers controlling red, green and blue levels and on the second Pi is a sense HAT. The display is used to show the brightness of each colour as blobs and the total percentage brightness of the mixed colour on the display as numbers from 0 to 100 in the changing mixed colour.

tonygoodhew
Автор

would anybody happen to know the distance at which the signal falls off? or if it is able to communicate through surfaces? and would an antennae drastically aide in the communication system?

umbra
Автор

I want to live stream audio using these NRF Transmitters and two Raspberry Pi's.
I need your help. Please guide me.


Syed Umaid Ahmed
Electrical Department NED
Pakistan

syedumaidahmed
Автор

I am using this tutorial for a school project and am wondering if there's any documentation on why the libraries are needed, what they actually, do, etc. I looked at the readme files that came with the two downloaded libraries and they weren't that helpful.

Links would be great, I've got time to read and understand them.

dk
Автор

Hey man great tutorial!

Just want to know if the addresses you're using for both the pipes (0xe7, 0xc2) and the channel 0x60 are of your own choosing? As in can I choose any values between a certain range or is it something defined in the data sheets or is it the same for all chips? Also why repeat it 5 times? Is it one long 80 bit address or what?
Tnx again.

newguy
Автор

Thank you for the videos, are really helpful. Just one question: is possible to encrypt the data with RC4? If so how I can implementing the algorithm to send encrypted text, any clues? Thank you...

diegolanzani
Автор

I have installed this proram and all I can get is this error message...
File "recv.py", line 11, in <module>
radio.begin(0, 17)
File "/home/pi/Desktop/NRF24L01/lib_nrf24.py, line 373, in begin
self.spidev.open(0, csn_pin)
IOError: [Errrno 2] No such file or directory
Any Ideas?

washerguy
Автор

i want to connect raspberry pi to hc12 to read data. Can u help me with code?

rekhag
Автор

Hi Alexander, Great video. Just wondering if you can do the same thing for the nRF905 transceiver. I can't find much info on them using python.

cheers

aep
Автор

excellent tutorial! but the console give and error on the line 11, "radio.begin(0, 17)" and say " no such file or directory". You have any idea why this happens?

thank you in advice!

alejandrogalvan
Автор

great tutorial!
just wondering if these configuration can be used for Jessie OS (latest 01-2017)?

dredregenium