Hi,

I 'm using two ds2482-800 on the same bus without problem so I don't think
that it is software related. (however I didn't upgraded recently still
2.7p21)

You may issue this command to discover chips present on the i2c bus:
i2cdetect -a 0
result for me:
I will probe file /dev/i2c-0.
I will probe address range 0x00-0x7f.
Continue? [Y/n]
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- 18 19 -- -- -- -- -- --
20: 20 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
18&19 are the two 2482-800
for ds2482-100 on datasheet page 14, you will have the same addresses  0x18
and 0x19 repclively for 0 and 1.

Your behaviour is likely a problem with (i2c) cable lenght and/or pullup
resistors missing or not strong enough.


On the owfs side, to ensure parallel communication on both adapter, I start
two distinct owserver like this:
/opt/owfs/bin/owserver --i2c=/dev/i2c-0:0 -p 40666
/opt/owfs/bin/owserver --i2c=/dev/i2c-0:1 -p 40667
/opt/owfs/bin/owhttpd -s localhost:40666 -s localhost:40667 -p 81

Pascal

2009/8/14 K K <pcb...@list.ru>

> Hello Paul
>
> You are right!
> > With 2 on, only the first is seen.
> Yes
> > With the first removed, you can see the second?
> Yes
>
> Regards Konstantin
>
> -----Original Message-----
> From: Paul Alfille <paul.alfi...@gmail.com>
> To: owfs-developers@lists.sourceforge.net
> Date: Fri, 14 Aug 2009 12:23:37 -0400
> Subject: Re: [Owfs-developers] Two DS2482-100 on 1 i2c bus
>
> > So basically you can't get two DS2482's to work on the same bus.
> >
> > With 2 on, only the first is seen.
> > With the first removed, you can see the second?
> >
> > If I've summarized it properly, tell me so I know where to look for a
> problem.
> >
> > Paul Alfille
> >
> > On Fri, Aug 14, 2009 at 11:02 AM, pcbexp<pcb...@list.ru> wrote:
> > >
> > > I use two IC DS2482-100 on one I2C bus with addresses 0 and 1. After
> typing
> > > owserver - i2c = /dev/i2c-0:0 I receive the answer - i2c-adapter i2c-0:
> > > sendbytes: NAK bailout. I see all sensors connected to chip #0 with
> owdir.
> > > After command typing owserver - i2c = /dev/i2c-0:1 I receive:
>  i2c-adapter
> > > i2c-0: sendbytes: NAK bailout.
> > > But, I do not see any sensors which are connected to second IC with the
> > > address 1.
> > > To check my HW I have temporary desoldered IC with the address 0 from
> PCB
> > > and then I see sensors connected to IC with the address 1. Please tell
> me
> > > what should I  then to see the all sensors connected to both ICs.
> > >
> > > --
> > > View this message in context:
> http://www.nabble.com/Two-DS2482-100-on-1-i2c-bus-tp24958893p24973207.html
> > > Sent from the OWFS - Dev mailing list archive at Nabble.com.
> >
> >
> ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> > trial. Simplify your report design, integration and deployment - and
> focus on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to