Long 1-wire bus


Closed Thread
Results 1 to 10 of 10

Thread: Long 1-wire bus

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,159


    Did you find this post helpful? Yes | No

    Default Re: Long 1-wire bus

    Thanks Henrik.

    The network of sensors will be different in every case. The end user will have 1 up to 8 max of these sensors.

    They are connected in mixed ways, some with stubs of short length, others directly on the cable. I insisted on seperate line for the power and not use a parasitic power. After all, a UTP cable can support that.

    At short distances it works just fine. Longer cables have some times error in the communication and lowering the pull-up, sure helps a lot.

    I have read that article by Analog about active pull-ups. The problem, for me, is to write a routine that will do all of the signal handling, plus the 1-wire protocol, since OWIN and OWOUT do not support such a circuit.

    Ioannis

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Default Re: Long 1-wire bus

    How do you distribute the power and signal across the pairs in the UTP-cable?
    I mean, do you have one pair for power & ground and then a single wire for the data and if so, what do you do with the other wire of that pair?

    I'd probably start with it grounded but I don't KNOW that's the best way.
    Perhaps using BOTH wires in a pair for the signal?
    Or run power and signal in one pair and both wires in another pair for ground.
    Maby a capacitor across power and ground at the far end of the cable?
    If the error(s) doesn't occur TOO often perhaps a simple retry is enough?

    Just tossing ideas up in the air, perhaps one or more helps, I don't know :-)

    I understand the "trickyness" in making this rugged if the bus topology is to be decided by the end user. I think you need to specify like max 50m length, each sensor connected to the main trunk by max 50cm - or whatever. Set that up with margin and test.

Similar Threads

  1. Long ago thre was a variable named "long"
    By Mugelpower in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 22nd November 2017, 19:42
  2. Replies: 0
    Last Post: - 21st October 2011, 01:33
  3. Long Lines for 1-wire iButton DS1992
    By Bosse in forum Serial
    Replies: 4
    Last Post: - 22nd April 2010, 13:09
  4. How can I use multiple DS1820 s on same 1-wire bus???
    By obaskirt in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th June 2005, 03:27
  5. I2C Bus (max wire lenght)
    By NavMicroSystems in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 24th November 2004, 22:15

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts