How to do two way communication by using NRF24l01+ modules?

Hello Forum
I'm back :wink:

In my case I'll control a vehicle by using a wireless controller, where these modules should ideally handle the wireless communication part, making me able to control the vehicle and get feedback from it while driving it around. I've never played with these modules (or any other RF modules before), I've already Googled a lot, but I didn't really find anything about doing two way communication with these modules.

It would be fantastic if some of you could (or try to) guide me a little on how to achieve this with these modules, it would be very nice with a transmitter and a receiver sketch ready to upload for me to test, if anyone has so - As I said I didn't really find any usefull ones by googling the topic.

If you have any idea of how to deal with this using existing libraries I would really like to hear from you, if you are willing to take a little time helping me out.

Right now I have them set up pinging each other (one receiver, the other one transmitter) but I can't find anything to utilize two way communication.

Thank you very much folks.
Best regards
JohannesTN

Actually I jut found this, which I think looks very promising https://github.com/stanleyseow/RF24/tree/master/examples/nRF24_Serial_Chat But what is the easiest way to find out which pins to hook the modules up to, in order to get this to work? - I can only see the line "RF24 radio(8,9);" - how do I know how to hook it up?

best regards

See the "How To" link on this page. I think it will answer your question.

Thank you very much, I'll look into that and try to get it working soon