Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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
    I2C interface.GIF
    2.6 KB · Views: 209
Last edited:
In your diagram, what's to stop the TX signal from going into RX during transmission?
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top