One Wire Communication.

Status
Not open for further replies.

jjd

New Member
What's the easiest way to communicate through one wire (and ground)?

I need to send two bytes between boards.
I only have one wire to do it. Is it possible to put a transistor between the RX and TX to cut RX off when TX is sending?
 
You could do it as a master slave. When the master sends a command via hardware, then receive back via a software (bit bang)

The picture is an I2C converter circuit, should work.
 

Attachments

  • I2C interface.GIF
    2.6 KB · Views: 214
Last edited:
In your diagram, what's to stop the TX signal from going into RX during transmission?
 
Nothing! you can just read the Rx buffer as a dummy and lob it. ( no different to the loopback test ) If you do it with software it wont matter either.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…