I was wondering if it would by possible to set up a two way communication between two arduino's with rf.
So each Arduino will get a transmitter and a receiver. Each arduino can receive and transmit data to the other Arduino.
Would it work?
It is two way communication if both modules can send data , just not full-duplex communication. Half-duplex is a turn based communication like walkie talkies.
Those modules are only one way. One is transmitter and the other is receivr.
You want transceivers, so that each can act as transmitter or receiver. As said above, if they can only act in one mode at a time then they are half duplex.
Take a look at nRF24L01+ modules and the RF24 and RF24Network libraries from maniacbug.
Maybe i'm using the wrong words, but what I want to do is that both arduinos are able to send and receive just one character. I thought it may be possible with a receiver and transmitter attatched to a single arduino. So you use 2 pairs of rf-modules. Maybe it's a bit difficult to understand but hopefully now you understand it. Would this be possible?
For sure you can have a transmitter & receiver pair on each arduino.
I would recommend using something like the NRF24l01(+) which is a cheapo and looks after a lot of transmission specifics.
Hi all,
I'm also trying to comunicate 2 arduinos with a transmitter and receiver attached to each one.
MaartenWoutTycho, could you please post the code for each arduino you used to achieve this?
Many thanks in advance.
It is an excellent starting point with many WORKING examples using the NRF24L01 2.4ghz radios, these are TRANSCEIVERS which are capable of both TX/RX or transmitting and receiving .