tag:blogger.com,1999:blog-8392959180134867028.post5777418506905164749..comments2024-03-07T10:39:17.146+01:00Comments on Learn on the fly : Raspberry pi as an nrf24l01 base station with python for smart home or internet of anything projectsRiYahttp://www.blogger.com/profile/00155693473706220430noreply@blogger.comBlogger43125tag:blogger.com,1999:blog-8392959180134867028.post-38475145648188351932019-06-22T17:33:40.708+02:002019-06-22T17:33:40.708+02:00HiHiAnonymoushttps://www.blogger.com/profile/10718864690694473171noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-34659623038014457572019-06-22T15:30:45.460+02:002019-06-22T15:30:45.460+02:00Hi. Thank you for your article. But i have some pr...Hi. Thank you for your article. But i have some problem between Arduino with dht11 sensors and raspberry. in my arduino sketch it able to upload the sketch but in raspberry i have some problem. <br /><br /><br />STATUS = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0<br />RX_ADDR_P0-1 = 0x0000000000 0x0000000000<br />RX_ADDR_P2-5 = 0x00 0x00 0x00 0x00 <br />TX_ADDR = 0x0000000000<br />Anonymoushttps://www.blogger.com/profile/10718864690694473171noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-72372502696681328702017-09-20T10:23:14.004+02:002017-09-20T10:23:14.004+02:00Hi.. could you please help me?:(
^CTraceback (mos...Hi.. could you please help me?:(<br /><br />^CTraceback (most recent call last):<br /> File "raspberryfriend.py", line 34, in <br /> radio.read(recv_buffer)<br /> File "/home/pi/RF24/nrf24pihub/nrf24.py", line 523, in read<br /> self.read_payload(buf, buf_len)<br /> File "/home/pi/RF24/nrf24pihub/nrf24.py", line 275, in read_payload<br /> payload = Anonymoushttps://www.blogger.com/profile/00061568512437956919noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-84259578900538192192017-05-07T04:59:32.597+02:002017-05-07T04:59:32.597+02:00Hi..i would like to know how raspberry communicati...Hi..i would like to know how raspberry communication with two or more client node Sarosa Castrena Abadihttps://www.blogger.com/profile/03817032973464674733noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-46920978333454850582016-12-20T21:37:02.154+01:002016-12-20T21:37:02.154+01:00Arduino 1.6.13 is throwing an error "'fde...Arduino 1.6.13 is throwing an error "'fdevopen' was not declared in this scope". Am I missing a library?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-39368087291450426572016-06-22T14:09:46.210+02:002016-06-22T14:09:46.210+02:00Thank you very much for your reply :)Thank you very much for your reply :)Akashhttps://www.blogger.com/profile/02655115815263567484noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-91828091926598266012016-06-22T13:59:49.655+02:002016-06-22T13:59:49.655+02:00Here is an example to send strings from the pi to ...Here is an example to send strings from the pi to an arduio with an led matrix. http://blog.riyas.org/2013/12/wirelessly-send-strings-to-88-led.html?m=1RiYahttps://www.blogger.com/profile/00155693473706220430noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-56192114655316202832016-06-22T13:55:10.228+02:002016-06-22T13:55:10.228+02:00Thanks for the comments
Here is guide for arduino...Thanks for the comments<br /><br />Here is guide for arduino to arduino. http://blog.riyas.org/2013/12/working-quick-start-guide-for-nrf24l01.html?m=1<br /><br />Try the basic sketch in the article to make sure that the pipes and adresses are correct. Then modify it to handle the struct variable. I did it a while ago and didnt get time to write it up. Will post it if i can find it. <br /> RiYahttps://www.blogger.com/profile/00155693473706220430noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-5487401966638893842016-06-22T13:10:42.682+02:002016-06-22T13:10:42.682+02:00Hi,
Thanks for such a helpful article, I able to ...Hi, <br />Thanks for such a helpful article, I able to successful send data from Arduino to Raspberry pi.<br />But now I have to establish communication between two Arduino, Please help me out with Arduino Rx code<br />http://pastebin.com/FK1mWThG Akashhttps://www.blogger.com/profile/02655115815263567484noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-32194934837583436412016-03-12T23:03:27.200+01:002016-03-12T23:03:27.200+01:00Hi, I would like to know how to change the code on...Hi, I would like to know how to change the code on Rpi to send a string to arduino.Anonymoushttps://www.blogger.com/profile/04028925396167234571noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-67329432231358893212016-03-10T00:49:24.720+01:002016-03-10T00:49:24.720+01:00Hi, I would like to know how to change the code on...Hi, I would like to know how to change the code on Rpi to send a string to arduino. Anonymoushttps://www.blogger.com/profile/04028925396167234571noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-45815135726913936712015-11-01T21:58:33.089+01:002015-11-01T21:58:33.089+01:00Hi,
The software is working great. But whenever I ...Hi,<br />The software is working great. But whenever I store the data in a .txt file, it appears "^@^@^@^@^@". Any ideas ? Anonymoushttps://www.blogger.com/profile/08571437741952409843noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-1798374715523151322015-10-30T22:15:51.510+01:002015-10-30T22:15:51.510+01:00Hello,
Great project, thank you.
I have communica...Hello, <br />Great project, thank you.<br />I have communication between Arduino to RPi 2, but I can't determine send interval - data is received randomly - from one second up to 5 second. As I'm new in RPi and Arduino coding, is there any way to see which part is fault - Arduino or RPi. <br /><br />Thanks<br />AleksandarUnknownhttps://www.blogger.com/profile/01695274535050579143noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-49813315542503636022015-07-16T04:27:36.932+02:002015-07-16T04:27:36.932+02:00Check /boot/config.txt and enable SPI
Check if CE ...Check /boot/config.txt and enable SPI<br />Check if CE of NRF is connected to GPIO25 (Pin 22)<br />Check version of spidev with pip freeze command and if it is 2.0 upgrade with "pip install --upgrade spidev" to 3.0<br />delete the version of nrf24pihub directory and get it from GIT again and just setup the GPIO .05.11 <br />Change both TX on Arduino and RX and RPI to say 1MBPSAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-16815970496065547002015-06-25T16:26:27.934+02:002015-06-25T16:26:27.934+02:00ı am using Raspberry pi b+ and it didnt work. Help...ı am using Raspberry pi b+ and it didnt work. Help me ?????????Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-11022807224162606602015-05-17T21:06:16.647+02:002015-05-17T21:06:16.647+02:00Kernel version? There is an issue with spi in late...Kernel version? There is an issue with spi in latest kernels. There is a solution at https://www.raspberrypi.org/forums/viewtopic.php?p=680726#p680726RiYahttps://www.blogger.com/profile/00155693473706220430noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-84519473201925543112015-05-17T20:47:47.103+02:002015-05-17T20:47:47.103+02:00With the updated (latest) gpio library I get:
pi@...With the updated (latest) gpio library I get:<br /><br />pi@raspberrypi2 ~/nrf24pihub $ sudo python csvraspberryfriend.py <br />/home/pi/nrf24pihub/nrf24.py:373: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.<br /> GPIO.setup(self.ce_pin, GPIO.OUT)<br />Traceback (most recent call last):<br /> File "csvraspberryfriend.pyhenkoegemahttps://www.blogger.com/profile/01284172249285364129noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-86941560657022425392015-05-17T19:13:48.299+02:002015-05-17T19:13:48.299+02:00Updated the latest gpio library, you may try if th...Updated the latest gpio library, you may try if this works<br /><br />First delete the old folder by rm -rf rf24pihub and then<br /><br />git clone https://github.com/riyas-org/nrf24pihub<br />cd nrf24pihub<br />cd python-spi<br />sudo python setup.py install<br />cd ../RPi.GPIO-0.5.11<br />sudo python setup.py install<br />cd ..RiYahttps://www.blogger.com/profile/00155693473706220430noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-88715558604427813382015-05-17T18:43:46.515+02:002015-05-17T18:43:46.515+02:00The code for rpi.gpio is older (and for older pi)....The code for rpi.gpio is older (and for older pi). Update the rpi.gpio modules for python (get the latest)and it may solve the error. I dont have a recent version of the pi to test. RiYahttps://www.blogger.com/profile/00155693473706220430noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-72563276047622635662015-05-17T18:14:33.550+02:002015-05-17T18:14:33.550+02:00pi@raspberrypi2 ~/nrf24pihub $ sudo python csvrasp...pi@raspberrypi2 ~/nrf24pihub $ sudo python csvraspberryfriend.py <br />Traceback (most recent call last):<br /> File "csvraspberryfriend.py", line 9, in <br /> from nrf24 import NRF24<br /> File "/home/pi/nrf24pihub/nrf24.py", line 21, in <br /> import RPi.GPIO as GPIO<br />RuntimeError: This module can only be run on a Raspberry Pi! <---------That's what I&#henkoegemahttps://www.blogger.com/profile/01284172249285364129noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-35399451702641380942015-05-02T10:24:18.961+02:002015-05-02T10:24:18.961+02:00This is a typical case of faulty connection or &qu...This is a typical case of faulty connection or "spi not working"<br />Fix spi on the raspberry pi based on the kernel used. If raspbmc, enabling bob light will activate spi RiYahttps://www.blogger.com/profile/00155693473706220430noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-78917268596571599252015-05-01T23:39:18.338+02:002015-05-01T23:39:18.338+02:00Give a try with Adding
“dtparam=spi=on” to your...Give a try with Adding <br /><br /> “dtparam=spi=on” to your /boot/config.txt and reboot.<br /><br />https://raspberrypi.stackexchange.com/questions/27073/firmware-3-18-x-breaks-i2c-spi-audio-lirc-1-wire-e-g-dev-i2c-1-no-such-f?newreg=d5f1e383852548aa9ec8158b694371f9<br />http://www.raspberrypi.org/forums/viewtopic.php?p=675658#p675658RiYahttps://www.blogger.com/profile/00155693473706220430noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-26145476898936377062015-05-01T11:11:31.652+02:002015-05-01T11:11:31.652+02:00I haven't tested yet, but see https://raw.gith...I haven't tested yet, but see https://raw.githubusercontent.com/riyas-org/nrf24pihub/master/csvraspberryfriend.py<br /><br />It should write it to a csv. The best idea is to write in to a mysql database.RiYahttps://www.blogger.com/profile/00155693473706220430noreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-39764201220309985422015-04-01T17:32:46.561+02:002015-04-01T17:32:46.561+02:00Thank you for this article!! I have everything wor...Thank you for this article!! I have everything working, but now I want to increase the information the arduino sends back to the pi base station. I've hit the payload max and need to send it in two messages, but I'm not having any success. How would you clear the buffer and (maybe) ack back to the arduino to send the send message? <br />Thanks,<br />MikeAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8392959180134867028.post-47982613533920114402015-03-23T05:14:02.978+01:002015-03-23T05:14:02.978+01:00Thanks for writing this artical. I've been abl...Thanks for writing this artical. I've been able to getting everything up and running and had a lot of fun doing it. Do you have any advice on how to use the data after receiving it from the nrf24l01. Is there a way to send the data from the raspberryfriend.py program to a csv file or to a program like Conky? Or othe ideas? Roberthttps://www.blogger.com/profile/11963100414742808299noreply@blogger.com