Connect with us

send rx & tx data in single wire

Discussion in 'Microcontrollers, Programming and IoT' started by 38505512, Sep 8, 2016.

Scroll to continue with content
  1. 38505512

    38505512

    8
    0
    Dec 3, 2014
    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.
     
  2. Harald Kapp

    Harald Kapp Moderator Moderator

    11,702
    2,717
    Nov 17, 2011
    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)
     
  3. 38505512

    38505512

    8
    0
    Dec 3, 2014
    thank you Harald Kapp
    i need half duplex communicate .
    i will check your suggestion web and try them.
     
  4. Doug3004

    Doug3004

    119
    23
    Sep 5, 2014
    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.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-