This is a small library that lets users communicate with RF24 chips on Raspberry Pi and Arduino boards.
This library relies on the RF24Mesh library, and has S-functions that interact with the classes there.
Install it by running the function rf24libs_installer, optionally with the argument true if you don't want to save the path.
The library contains blocks for configuring a network node, and for sending and receiving data. The RF24 Mesh library is built to have one master node, and a self-organizing mesh of slave nodes communicating with the master node (and potentially each other).
There are also two example files, one for a Raspberry Pi and one for an Arduino. In this example, the Arduino read measurement data from a temperature sensor and sends it to the master (RPi). This in turn, receives the data and posts it to ThingSpeak (https://thingspeak.com/).
Users will have to use support packages for Arduino and Raspberry Pi, and also configure the models to comply with their hardware and ThingSpeak settings.
This work was only possible thanks to the great work of https://github.com/TMRh20, providing the libraries needed to work with the RF24 chips.
There is also an article about using this on the ThingSpeak blog: http://community.thingspeak.com/tutorials/matlab/building-a-dynamic-and-self-organizing-network-of-devices/.
hi, tkank you for this library. my problem i use this one with arduino support package, i wanna implement the programme in the node, but the diagnostic wiewer give thie err
C:\Users\ATTAOUI\Downloads\RF24SLLib_1.0.3\SendDHT_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
'An_error_occurred_during_the_call_to_make' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
### Creating HTML report file SendDHT_codegen_rpt.html
### Build procedure for model: 'SendDHT' aborted due to an error.
Error(s) encountered while building "SendDHT":
### Failed to generate all binary outputs.
thank you for help
Could you please add the output of your compiler to this thread, as well as a hint to where you've put your RF24Mesh libraries. Just one compiler call (not for whole make process) with the error message should suffice.
I have the same problem. Do you already have the solution?
Looks promising. Unfortunately, I'm getting the following error: "fatal error: RF24Mesh/RF24Mesh.h: No such file or directory
#include "RF24Mesh/RF24Mesh.h" "
Downloaded the git repository as well, and added the .h file mentioned above to my path, still no luck. Any advice?
Added link to article.
New version, 1.0.3, without p-files.
Win cash prizes and have your live script featured on our websiteLearn more
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.