RF24 PA LOW or HIGH
-
Hi
Can someone please explanin for me ?
how should i do ?
If I 'm building a reapeter
#define MY_RF24_PA_LEVEL RF24_PA_LOW *or HIGH *
#define MY_REPEATER_NODEShould I change to wait insted of sleep ? or only include **#define MY_REPEATER_NODE **
I use a PA+LNA ,
Is it better to use standard NRF24L01+?http://www.elecfreaks.com/wiki/index.php?title=2.4G_Wireless_nRF24L01p_with_PA_and_LNA
-
@Affe when you use MY_RF24_PA_LEVEL HIGH you needs external radio power.
A standard Arduino power regulator is not powerfull enough for high RF24 power.Disregarding which type of antenna one uses.
The LNA antenna is more sensitive and thus will give a better reception
-
@Affe when you use MY_RF24_PA_LEVEL HIGH you needs external radio power.
A standard Arduino power regulator is not powerfull enough for high RF24 power.Disregarding which type of antenna one uses.
The LNA antenna is more sensitive and thus will give a better reception
-
@BartE Thanks
So i need too feed extern with 3 volt or select standard NRF24L01+
Can you also explain reapeter funtion ?
If i should change to wait insted of sleep@Affe No you need too feed with external 3.3 volt OR select LOW power
the repeater mode is used for resending message from one node to the gateway, in case a node is not in reach of the GW.
https://en.wikipedia.org/wiki/Repeater -
@BartE Thanks
So i need too feed extern with 3 volt or select standard NRF24L01+
Can you also explain reapeter funtion ?
If i should change to wait insted of sleep -
summation :+1: Use extern 3,3V feed when you use
#define **MY_RF24_PA_LEVEL RF24_PA_HIGH **
and
When I build Repeater
wait insted of sleepex
#define ONE_WIRE_BUS 3 // Pin where dallase sensor is connected
#define MAX_ATTACHED_DS18B20 16
unsigned long **WAIT_TIME **= 30000; // Sleep time between reads (in milliseconds)
OneWire oneWire(ONE_WIRE_BUS); // Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs)
DallasTemperature sensors(&oneWire); // Pass the oneWire reference to Dallas Temperature.
float lastTemperature[MAX_ATTACHED_DS18B20];
int numSensors=0;
bool receivedConfig = false;
bool metric = true;
// Initialize temperature message
MyMessage msg(0,V_TEMP);and
// sleep() call can be replaced by wait() call if node need to process incoming messages (or if node is repeater)
wait(conversionTime);sleep(WAIT_TIME);
-
summation :+1: Use extern 3,3V feed when you use
#define **MY_RF24_PA_LEVEL RF24_PA_HIGH **
and
When I build Repeater
wait insted of sleepex
#define ONE_WIRE_BUS 3 // Pin where dallase sensor is connected
#define MAX_ATTACHED_DS18B20 16
unsigned long **WAIT_TIME **= 30000; // Sleep time between reads (in milliseconds)
OneWire oneWire(ONE_WIRE_BUS); // Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs)
DallasTemperature sensors(&oneWire); // Pass the oneWire reference to Dallas Temperature.
float lastTemperature[MAX_ATTACHED_DS18B20];
int numSensors=0;
bool receivedConfig = false;
bool metric = true;
// Initialize temperature message
MyMessage msg(0,V_TEMP);and
// sleep() call can be replaced by wait() call if node need to process incoming messages (or if node is repeater)
wait(conversionTime);sleep(WAIT_TIME);
@Affe - And use a good 3.3v regulator, that can feed alof of mA.
The standard LE33A we suggest for the normal radio at Mysensors.org might be a bit weak.
ld1117v33 for example.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login