Searching \ for '[EE] newbie: i2c multiple devices' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/i2cs.htm?key=i2c
Search entire site for: 'newbie: i2c multiple devices'.

Exact match. Not showing close matches.
PICList Thread
'[EE] newbie: i2c multiple devices'
2005\02\25@093253 by Ian Smith-Heisters

flavicon
face
Hello all,

I have 8 SRF08 ultrasonic rangefinders that I want to connect on a
single i2c bus. The SRF08 seems to have a default address of 0xE0, which
can be changed by sending a series of instructions and the new address.
However, since they all start with the same address, how do I address
them individually to give them all different addresses?

The only way I can figure out how to do this is to plug them in one at a
time and give them unique addresses. Is there a simpler way of doing
this that I'm missing? If this is the way to do it, I would hope the
SRF08 holds that address in flash so I don't need to re-setup the bus
every time I lose power, is this correct?

Thanks much,
Ian Smith-Heisters

http://www.0x09.com

2005\02\25@101242 by D. Jay Newman

flavicon
face
> The only way I can figure out how to do this is to plug them in one at a
> time and give them unique addresses. Is there a simpler way of doing
> this that I'm missing? If this is the way to do it, I would hope the

You got it.

> SRF08 holds that address in flash so I don't need to re-setup the bus
> every time I lose power, is this correct?

Yes. The addresses are held until changed again.
--
D. Jay Newman           ! Polititions and civilations come and
spam_OUTjayTakeThisOuTspamsprucegrove.com     ! go but the engineers and machinists
http://enerd.ws/robots/ ! make progress

More... (looser matching)
- Last day of these posts
- In 2005 , 2006 only
- Today
- New search...