nRF24L01+ and without +. arduino pro micro?
-
Hi! this is my first thread and im kind of a newbie at mysensors. Ive made alot using arduinos before but this time i cannot make it work.
i recently bought a nRF24L01+ pa (with antenna) and got it working with nocemcu from what i can see.
I use the handy adapter boards ( http://www.addicore.com/nRF24L01-Adapter-p/123.htm ) and they seem to work good. i checked the voltage and its 3 volts to the module. ive also used a 10uf capacitor on vcc and ground soldered on.my problem is to get a node working with an arduino pro micro and i accidently bought the nRF24L01(without +) in 10packs and i cannot find the link for slowing down the rate to 1mbps to get them working.
so my question:
- is it possible to use arduino pro micro?
- how should i change settings to get the modules without + working with my +module as gateway.
ive tried different power supplys and with or without the adapter board.
the output for my sensors is typical
811645 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
813647 !TSM:FPAR:NO REPLY
813647 TSM:FPARi use domoticz as controller.
im sorry if this is a common question. ive looked around trying to find a good thread.
i love the creativity and i look forward to building!
/Tobias
-
Hi @slowbo!
It seems you have already discarded power supply issues.
It should be possible to make the module work with any arduino.
In order to set the comms speed rate, you should add the following to your sketch:
#define MY_RF24_DATARATE RF24_250KBPS
Other options are RF24_1MBPS and RF24_2MBPS (however I think that only + modules support 2mbps).
To be more sure, I usually also set the power and channel to all my nodes and gateway by adding:
#define MY_RF24_PA_LEVEL RF24_PA_MAX #define MY_RF24_CHANNEL 100
Other options for PA level are RF24_PA_MIN, RF24_PA_LOW, or RF24_PA_HIGH
If they don't work yet, there is also a possibility that the modules are fake - some are known to be unreliable and other seem to be just incompatible with genuine ones.
I hope this helps!
-
@manutremo thankyou very much for a good answer! I will try it out tonight. This information should be easier to find in some faq or am i the only one who made this mistake ?
-
@slowbo here you can find the documentation: https://www.mysensors.org/download/sensor_api_20
There's also a list of all available config options.
Suggested Topics
-
Day 1 - Status report
Announcements ā¢ 23 Mar 2014, 22:45 ā¢ hek 24 Mar 2014, 20:12 -
Can not compile MySensors on esp8266
Troubleshooting ā¢ 24 Aug 2024, 15:35 ā¢ TheoL 29 Aug 2024, 20:47 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting ā¢ 26 Feb 2025, 00:32 ā¢ dpcons 26 Feb 2025, 06:22 -
Getting system time from the controller
Troubleshooting ā¢ 27 Feb 2025, 01:39 ā¢ dpcons 3 Mar 2025, 01:00 -
Echo request is not set
Troubleshooting ā¢ 12 Aug 2024, 15:36 ā¢ kamilb85 3 Sept 2024, 08:58 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting ā¢ 27 Aug 2024, 13:20 ā¢ igo 27 Aug 2024, 13:20