RF Nano = Nano + NRF24, for just $3,50 on Aliexpress
-
:-D Now I wish I hadn't bought 70 of the old version already.
They're working well though, very happy with them. Great for workshops.
-
@torfinn
i had to set
#define MY_RF24_CE_PIN 10
#define MY_RF24_CS_PIN 9
on mine (definetly not + btw) a while back.... -
@torfinn These settings should make it work, regardless of which version you buy:
// If you are using an RF-Nano, you have to switch CE and CS pins. #define MY_RF24_CS_PIN 9 // Used by the MySensors library. #define MY_RF24_CE_PIN 10 // Used by the MySensors library. // Enable and select radio type attached #define MY_RADIO_RF24 #define MY_RF24_PA_LEVEL RF24_PA_MAX // Mysensors advanced settings #define MY_RF24_DATARATE RF24_1MBPS // This datarate is supported by pretty much all NRF24 radios, including the RF-Nano. -
Hi guys
just a newbie in MySensors, i am buikding my home net with RF24 radio.
Just received 4 of this rf-nano (+ chip) and set one into relay device
With my Wemos D1mini pro + NRF24L01 +PA+LA gateway, it works in my whole (relatively large) house (approx 30m through a lot of walls and armed floor).
Really handy for small boxes projects, the missing functionality is the interrupt pin not (easily ?) accessible for battery powering -
I continue my test with this chip, and solved an issue in declaring children of a node
I tried the relay actuator with 2 relays, the second one never wanted to get an ACK message for the presentation message
I tried with 3 children relays , first is ACK, second still NACK and 3rd .... ACK again !Even if it was not my first thought, i finally insert a wait(1000) between each present line which solved the problem
hope it can help
-
-
@martim Just search for RF Nano on Aliexpress. Haven't looked for the cheapest one, just the first that says LRF24L01+. Although not certain if it is really a + version of the NRF24L01.
-
@martim I think this is a better alternative: https://www.electrodragon.com/product/nrf24duino-arduino-mini-plus-nrf24l01-board/
@ncollins That is a nice board indeed. I haven't checked because I will order some things after dinner. For me it is a must to keep the arduino Nano footprint. So I can replace the nano and nrf in some of the projects I already built.
-
@ncollins That is a nice board indeed. I haven't checked because I will order some things after dinner. For me it is a must to keep the arduino Nano footprint. So I can replace the nano and nrf in some of the projects I already built.
-
@martim I think this is a better alternative: https://www.electrodragon.com/product/nrf24duino-arduino-mini-plus-nrf24l01-board/
-
@martim Yep, you just need to make sure to turn off the EEPROM module after setup, then it's basically an Atmega328p and NRF24L01+. It has solderable jumpers to bypass the voltage regulator and status LED.
Here is a claim of 12uA in sleep: https://forum.mysensors.org/post/96631
-
Why not go for a sensebender? https://www.itead.cc/mysensors-micro.html
I have one in each room, measuring temp and humidity. It works great
-
Why not go for a sensebender? https://www.itead.cc/mysensors-micro.html
I have one in each room, measuring temp and humidity. It works great
-
@martim Yep, you just need to make sure to turn off the EEPROM module after setup, then it's basically an Atmega328p and NRF24L01+. It has solderable jumpers to bypass the voltage regulator and status LED.
Here is a claim of 12uA in sleep: https://forum.mysensors.org/post/96631
-
@martim said in RF Nano = Nano + NRF24, for just $3,50 on Aliexpress:
@TheoL way to expensive.
For less money, and very little effort, you can put your own together: https://www.openhardware.io/view/480/Compact-nRF24L01-Pro-Mini-Bottom-Shield
As demonstrated, it also gives you more choice and control over the type/quality of nRF24 module that you get.
-
I know it's an old topic. But Today I received 2 of the Makefun RF Nanos. And after reading this topic I feared I would need a lot of time to get it to work. But I quickly adjusted a MySensors example and hooked a led to it, just to able to test.
I don't need to specify the CE and CS pins - in fact it didn't work if I did. And I can control the led with the node located in every room in my house. Not that I have a very big house. But so far no failures. So the reach isn't that bad at all. I also see a connector that seems to be there for hooking up an Antenna. I think that would be something I try before replacing the capacitor.
As a non hardware specialist soldering SMD is a skill I have yet to master. So I'm quite happy with the small footprint. As I don't plan on powering this one with batteries, I power it with a phone charger. Next step is to see how stable it is as a gateway. But That is something I wanna try in the weekend.
Here's the simple sketch I used. Don't watch the comments. I literally heked it together to be able to test it.
Test sketch for testing the RF Nano */ // Enable debug prints to serial monitor //#define MY_DEBUG // Enable and select radio type attached #define MY_RADIO_NRF24 //#define MY_RADIO_RFM69 #include <SPI.h> #include <MySensors.h> #define SN "RF Nano test" #define SV "1.0" const uint8_t LED_PIN = 8; MyMessage lightMsg(0, V_LIGHT); /*** Test sketch initialization method */ void setup() { pinMode( LED_PIN, OUTPUT ); digitalWrite( LED_PIN, LOW ); } void presentation() { // Register the LED Dimmable Light with the gateway present( 0, S_LIGHT ); delay( 50 ); sendSketchInfo(SN, SV); delay( 50 ); // Pull the gateway's current light state upon sensor node power-up. All examples says it should be in the setup - // but that never works for me. Besides I thought the setup was only executed ones and the presentation each time after a succesfull connection request( 0, V_LIGHT ); } /*** Dimmable LED main processing loop */ void loop() { } void receive(const MyMessage &message) { if (message.type == V_LIGHT || message.type == V_DIMMER) { Serial.println( message.data ); int lightState = atoi( message.data ); if ( lightState ) { Serial.println( "Turning light on" ); digitalWrite( LED_PIN, HIGH ); } else { Serial.println( "Turning light off" ); digitalWrite( LED_PIN, LOW ); }So far happy with it. I'll give it a durability test the next few weeks. Just to see if it will keep working. The only thing I really don't like is the very very bright power led. So I guess I have to start practicing removing these tiny SMD leds.
But if it keeps performing as it does. This might be my to go with board for all non battery powered nodes.