I bought a more powerful nrf24l01+ with PA and LNA to get better range but it's much worst than my normal nrf24l01+. After playing around with it I discovered that when I touch the antenna or the header of the pins and keep my finger there the transmitter works really great but if I remove my finger the modules works like crap.
This reminds me of my ultimately successful attempts to get two of these devices working together. My original prototype with a simple nRF24L01+ module worked fine (apart from the range). When I upgraded to the nRF24L01+PA+LNA - PA-IPX module the one I was using as transmitter exhibited the same problems you have described. Some of the things which helped, but I cannot now say which I finally used:
Adding an explicit radio.powerUp() statement before transmitting ( I was using the maniac-bug library - not necessarily a recommendation)
Adding a high value capacitor on the power leads to the module.
ditto a low value capacitor
If the antenna was bent at 90 degrees, it would perform better.
If the radio module was in an antistatic bag with a hole cut for the antenna to protrude out, it had a beneficial effect (although the scientific basis is probably not strong, maybe some mild screening)
I would look closely at the soldering on the SMA connector (well, everywhere if that doesn't turn up anything). Sometimes solder breaks can be nearly invisible, so you can try to reflow it.
Thank you all, I did everything you said, added 2 capacitors, made a hole in the antistatic bag... everything you told me. And I still have the same problem. I saw a post on the internet of a guy who used aluminum foil all around the module and IT WORKED! But it's not reliable, sometimes it works sometimes all connections fail.
I have no idea why aluminum foil helped but it's not reliable, maybe I should touch the foil in some specific part of the module? Should I ground the foil?
I discovered someting useful: when I detach the antenna everyting works fine! I dont need to touch the module to make it work but I cant get a good range (10m at top). As soon as I put the antenna I realized I need to touch it's base (right after thte gold connector) to make the module work. Any idea how I can make this work?
I am also straggling with a couple of similar modules...My project works perfect with the low power - non-amplified versions but as soon as i replace one with the powered nrf24 module, the sketch freezes when it tries to transmit.
Touching the module at various points seems to have some kind of effect but I have never managed to get things working. I have tried to remove the antenna, use an attenuator, aluminum foil shield, moved the module 30-40cm away from the rest of the circuit.
Nothing worked. Decided to order another pair and try again.
In case someone is still looking at this in 2018 (through google as i was) ... i had the same problem, swapping the high power transmitter with the small one would eliminate the problem.
When the high power trasmitter is connected it would seem like it is not transmitting, but then transmit if i touch the antenna or various spots on the board... Removing the antenna would get it to work but not with a good range...
I am using the power regulator breakout board to connect through that to the arduino , so knew it wasnt a 3.3-5v issue, also do not need to add filter capacitor since they are included on the board.
I thought using an anti-static bag with a hole in it is the most ridiculous idea until i tried it and it worked!! I am baffled.
swapping the high power transmitter with the small one would eliminate the problem.
But it was not the drop in power that caused it to work. It was the fact that it was a different transmitter with different output characteristics that was a better match to your antenna.
When there is a mismatch between transmitter and antenna impedance you set up standing waves in the lead and this absorbers the power so you were getting less power out of the antenna on your higher power transmitter than the lower power one.
Having a ground plane changes the impedance of the antenna and not only gives you a better match but also a better antenna.
Yes, I suspect a mismatched antenna - alas checking matching at microwave frequencies requires specialist
test gear (VSWR meter).
The ground-plane or ground radials have a strong influence on tuning - normally for good
behaviour of a simple quarterwave antenna a set of 1/4 wave radial wires pointing downwards in a cone
works reasonably (quarter wave radials in a plane push the radiation pattern upwards, unlike a theoretical
infinite groundplane).
So experimenting with the ground part of the antenna is worth perservering with. For repeatable measurements
you really need to be outside well away from obstructions and high above the ground, on in an RF test
chamber. Also be aware of overloading the receiver by being too close, sometimes there's a minimum
range as well as a maximum, but we're not really in that league with these transceivers I think.
[ Oh, the other thing, at 2.4GHz the attentuation rate in cheap thin coax is very high, you can throw
away all your extra power if driving 3m of random unbranded SMA cable - use only short runs and
only high quality cable if you have to ]
My son works at a place where they were having an RF test chamber built. The results were awful causing many head scratching. Eventually it was discovered that the carpet fitter had laid anti static carpet, just like he had done in the rest of the labs. No one had told him any different.
My take on the problem is the amplifier is oscillating because the input is picking up the output. The finger on the antenna stops the feedback. P..s poor design.
SimoneS93:
use an external power supply - the Arduino can't provide enough current
Common blunder is to expect the Arduino to "provide" current.
The problem is it has a regulator - of sorts - on board and this part of the design suggests to rank novices that you can use the 5 V pin as a source of 5 V for other modules when you power it from "Vin" or the "barrel jack".