RF24 PA LOW or HIGH
-
Hi Guys
¨Can someone explain for me when should i use Low and HIGH for RF 24
#define MY_RF24_PA_LEVEL RF24_PA_LOW
If a use high
should i feed with extern 3 v ?Is there a difference with an external antenna LNA?
-
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
-
@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
-
@Affe you should use wait if it is a repeater node
-
summation 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.