Oh boy got it working! one line of code to set the CE to LOW just before sleeping the radio and HIGH upon wake up.
Power consumption down to 1.2microA from 7.5mA!!
I'm happy I don't have to create a transistor relay as I was already in trouble with the voltage drop a transistor introduces.
Dan Mincu
@Dan Mincu
Best posts made by Dan Mincu
Latest posts made by Dan Mincu
-
RE: NRF24L01+PA+LNA power down question
-
RE: NRF24L01+PA+LNA power down question
Interesting, thanks for the responses!
I am getting 7.5mA using a ampermeter and 20 when power down is disabled.
When transmitting I get spikes north of 110mA and that is only if the power is set to maximum mode. the other 3 modes (there are 2 bits to set for the amplification) I get considerably lower values something like 30 -40- 60 can't remember now I need max anyway.
I am using just the wire library to talk to the NRF module therefore putting the module to sleep via setting the bit described in the datasheet is probably not sufficient to power down the PA module.
Probably, to power the radio amplifier down I also need to set the CE low or high before setting the above mentioned bit ?!
I will look on github into the indicated library to see how sleep() is doing it in there and will report back. -
NRF24L01+PA+LNA power down question
First sorry if this has been asked or even better - answered before, it's my first post to the site.
I am using a NRF24L01+PA+LNA module and was able to successfully communicate from my mail box several houses apart from where I live. Trying to build a mail notifier. To get the module to be able to ping it's sibling I had to reduce the baud rate change the channel and crank the power to max (not sure this one actually played a role, will test more);
With a scope I measured the power to about 90mA when transmitting - the ampmeter shows a constant of 20mA doesn't catch the very short glimpse but that is expected.
The MCU is an Arduino Pro Mini powered on 3.3V so I have no conversion problems.
I managed to put the mini to sleep and the power is couple of milliamps I need to physically remove the mounted LED to get where it should be - less than 1mA.
I have also managed to right the appropriate registry on the NRF to put it sleep however here is the problem it goes to 7mA and it "sleeps" there. This is completely not acceptable this is NOT battery territory.
I tried the exact same code on a NRF24L01+ without the PA and it goes to nano amps when sleeping.
I am not experienced however I think if I don't get a reason on why the power is so high I will look into creating a relay with a transistor to power the radio down;
To my understanding the NRF should "tell" the PA to reduce the power and that is not happening.
Can I fix it? via code? is it a bad module where there is missing connection between the two modules?
Please advise! here is a closeup picture of the module https://photos.app.goo.gl/JSisAZBcNmAYBQQq7
Thanks!