You can the use the common library see https://tmrh20.github.io/
One think to keep in mind is that this kind of modules need a good power supply, when operating on full power (500mw or 1000mw), spikes of more than 1A are not uncommon, and place a capacitor of 47uf as close as possible to the power pins of the module.
Thanks for the reply, the module will be supplied with 3.3 volts out of a 3.3 800ma voltage regulator, using 500mw of power at 3.3 volts, the current draw of this module is approximately 0.15 amps, or did I do it wrong? So how did you get the 1 amp?
Oh right, thx for the direction, I just downloaded the datasheet, it says it'll draw 490ma at 3.3 volts
I'm gonna use it in an rc model project, the battery of which is 7.4 800mah
Will I have issues powering the module?
Now I'm considering using the 100mw NRF24L01 from Ebyte for the receiver and the NRF24L01 as the transmitter since it will be powered with high current li-ion batteries, will they connect to one another? Or should I use the exact same modules? I don't think using a lower power module (which is still a good, proven module) for the receiver can really affect range, can it?
We've heard of issues with these modules not respecting the PA Levels and/or the Channel setting in some cases, but haven't been able to fully verify the details.
If you disable the Auto-Ack feature and have only 1-way communication this is true.
If you want data back from the receiver and/or to use the default Auto-Ack feature of the radio, then you need the receiver to be able to transmit data back to the transmitter.
Thanks for the response, I just checked out the datasheet again, the module working as a receiver uses only 27ma. So how do I disable this auto-ack thing? I don't know much about these modules, I just wanna copy the codes into the Arduino from a website, there are two codes, one for the receiver and another for the transmitter
Thank you, one last thing, you said current spikes of 1 amp can be very normal in this case, can I use a ams1117 3.3 v voltage regulator to supply the module?
I think the correct answer is maybe, depending on your power supply and the modules themselves. You will still likely want capacitors connected directly to the VCC and GND pins of the radios ( typically 10-100uF ).
If you plan to power it from the Arduino itself, the answer is probably not. At least not at full power. With a good battery, it might work.
These are the schematics of the circuit, as you can see, the voltage regulator supplying the module is directly connected to the batteries, the guy uses 5 AA batteries in series, I'll use two 18650 3.7 lion batteries, so there's much much more than enough current, however, he used the 100mw version of the module, I will be using the 500mw version, should I use a bigger capacitor in parallel with the module? Anything wrong with using a 470uf or 1000uf capacitor?
All depends on how often your project is transmitting. The capacitor charge is there to supply the current that your power supply cannot supply in such a short amount of time. Any larger capacitor value that that actually necessary does nothing to improve the system. But will not have any bad effect. The value necessary must be determined by testing.