Hi to all
We are making a project an in this project we have to make a full duplex communication system using IR led's(940mm smd) and recievers (TSOP2238).
We need to be able to send a certain string using IR to an arduino, this arduino has to process this string and then 'produce' an answer which he has to send back to the first one.
The sending is not such a big problem, we used 'dirt cheap wireless' (code an more details at this link: dirt cheap wireless | CHEAP, FAT and OPEN). The answering however is a problem. We use the RX an TX pin, the TX to send and the RX to recieve. we use the serial monitor of arduino to write a string, for example the word 'test'. This string is then forwarded to the TX pin which encodes the signal en sends it (using the ir led an the ir reciever) to the TX port of the second arduino. The problem is however (at least that is what we think it is) that this string is immediately rewritten to the TX port of the second arduino. So if you use the TX pin of the second arduino to send your answer then the both arduino's will go in an endless loop of sending and receiving.
We need to break this loop at a certain point to make al this work. Can anyone help us?
Thanks in advance
Giete