Maker Pro
Maker Pro

send rx & tx data in single wire

hello my friends
i have an qstion
i was wonder if someone can help me.
i want send and receive rx & tx in same wire and i don't have any good idea .
can someone help me?
thanks for you'r attention.
 

Harald Kapp

Moderator
Moderator
i want send and receive rx & tx in same wire and i don't have any good idea .
At the same time or one after the other?
If you want to transmit and receive at the same time, you wil need a modulation scheme which uses e.g. different carrier frequencies to separate transmit and receive direction.
If you want to transmit and receive one after another, you can use a technique called half-duplex (example here)
 
There is also the Dallas 1-Wire protocol:
https://en.wikipedia.org/wiki/1-Wire
It allows 2-way communication but its main limitation is that in any group of connected devices, it requires that one device be designated as the master and all others as slaves.

There are Arduino libraries for it around online.
Or you can just write your own software version of it.
 
Top