I have been through many iterations of my wiring, one lesson I have learnt is that it makes sense to follow the wiring convension of any other devices that you are likely to use in the future. I started using 4 cores of Cat5 for the backbone and 4 core phone cable to connect to sensors, mostly soldered as I felt that was more reliable. I eventually used Hobbyboards hub and I/O boards and changed my wiring to match that using all 8 cores of the Cat5. Also using RJ45 plugs to connect to these devices makes it much easier to isolate sections for fault finding.
I have about 25 temp sensors and 8 I/O, with no resistor or diodes. I runs fairly well, after several months I seem to start loosing sensors gradually, never figured out what the problem is that causes that. I do intend to add something to protect against spikes at some time, I believe that I lost a USB device that way a while back. Cheers Mick On 08/11/12 08:31, Markus Gaugusch wrote: > Hi Attila! > s > My network is about 50 meters long and I've got 22 sensors (currently). > I don't use diodes or resistors for connecting. My Connectors are 4-pin > (mostly from cd-audio cables) with this layout: > > - 5V > - N/C > - GND > - 1Wire > > The not connected pin is used as key to prevent wrong insertion of the > plug. Each device has a 2x4 pin header, so I can daisy chain them. (but of > course, this requires soldering). I use prototyping PCBs such as [1] > > To solder the ds2406 and ds2408 I use old floppy/ide cables, they have > just the right size to connect to the pins of the chips. > > I also think it's time to make some images of my boards ;-) This is my > current list: > > * ds18s20 temp sensors > * ds2406 switches for sensing (using relays, schmitt triggers) > * ds2406 switches for switching 230V using solid state relays > * ds2408 switches to sense if my windows are open (using reed relays) > * ds2408 switches to drive two LCD displays > > Still to come: > * ds2450 or ds2438 adc to measure light (using a small solar panel) > * ds2423 counter which should get connected to a rain sensor > > best regards, > Markus > [1]: > https://www.ssl-id.de/leds-and-more.de/images/Zubehoer/Lochraster-Platine160x100.jpg > > On Nov 8, Attila<[email protected]> wrote: > >> Hi Guys, >> I'm just creating my 1-wire bus, and looking for some practical advices here >> - how to connect the devices to the bus? >> 1-wire recommendation says that a schottky diode and a resistor is highly >> recommended to use for each "leg" (which has to be as short as >> possible,<1m). I'm planning to build a 30m long, 20 sensor bus based on >> CAT5E. Will I need to >> use the diode and resistor, or will it enough for me to just plainly connect >> them without any additional electrical components? >> >> And what kind of connector do you use to add the devices? Which is easy to >> build, and easy to repair - and robust enough. In my prototype I use a >> wall-mount UTP connector, with 2 UTP slots. Bus comes in one slot, and goes >> forward on >> the other using normal UTP pach cables - of course, I connected the >> appropriate pins of the two slots on the back of connector PCB. When I want >> to add a new sensor to this "node", I just insert these wires to the knives >> (where >> normally the wall UTP cable connects). I can install up to 6 sensors to one >> node with this. >> However, I'm not completely satisfied with this solution. I'd like to avoid >> soldering - how you do it, what do you recommend? >> >> Thank you, >> >> Attila >> >> ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
