I know there is such topic again and again but despite a lot of Googling I did not came to some conclusion so I ask for help. My setup is:
Battery powered transmitter outside - average consumption is < 10uA and I would like to keep this.
Something like 10-20 m distance with one wall and some bushes in line of sight.
Receiver with “unlimited” power inside.
Currently I am using the cheapest PCB antenna nRF modules for the communication (eBay fakes ofc). The range is “marginal” - for fixed RX location it is possible to find a location where the signal is good. But when RX is moved signal is lost. For improving the range I currently did:
I soldered 10uF ceramic caps directly to power pins of the module and I have a 1000uF electrolyte cap nearby.
While transmitting both RX and TX ATMega is in deep sleep with only timing crystal running to reduce switching noise. No other digital IC is present.
I have implemented a protocol which tries to find a frequency where communication is possible.
Other possible improvements I consider are:
- Reducing message length - currently I have 4 bytes of address, 5 bytes of payload and 2 bytes of CRC. Do you think reducing the address to 3 bytes and CRC to 1 byte and splitting the payload would increase the range considerably or it will only increase error rate?
- Modify the antenna - some people claim soldering wire to the antenna (or replace it) increases range. But other say it only introduces mismatch between antenna and nRF drivers possibly overloading and damaging the chip. Also since I don’t understand RF I don’t know how to do it.
- Add shielding to the module - but again I don’t know how to do it and why it should increase range.
- Use directivity of the antenna. AFAIK it is difficult to make an omnidirectional antenna and so the PCB antenna is likely to have directions where the signal is better then in other. Are there such directions? I guess the PCB antenna is designed to be as much omnidirectional as possible so probably not? I tried rotating the module and did not notice a difference - moving it was much more important than direction.
- Using better hardware. I have already ordered a PA+LNA module for RX but I think I cannot use it for TX because it consumes much more power. But I have found it is possible to get a nRF module with connector for external antenna but without PA+LNA. Would such module increase range without too large increase in current consumption?
There are pictures of my TX, maybe someone will see some stupid layout mistake reducing the range greatly.