I2C among Props
silverpegasus
Posts: 3
Dear All...
Have anyone tried to connect 2 or more Props Chips, using I2C? How to set the "slave address" for each chips?
Aris
Have anyone tried to connect 2 or more Props Chips, using I2C? How to set the "slave address" for each chips?
Aris
Comments
And how it would work if each prop had an eeprom to boot from also.
Hi Silverpegasus - welcome to the forums...
Do a search on "I2C" here and you'll find some code:
obex.parallax.com
- Howard
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I posted it a while ago on the foums but I can't find the link. In terms of bus speed it wasn't very fast, for master bus I used a variant of basic_i2c_driver. but I was polling the devices at ~25/sec but 3 of the devics were ultrasonic rangers and I could only poll 1 at a time so nothing was particular fast. I was propably polling 6 devices each time.
The master device that was accessing the I2C prop is pretty slow < 100Khz but it only got updated sensor values a few times per sec.