Using multiple VCNL4000's on one I2C Bus

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
Rover5
 
Posts: 5
Joined: Fri Jun 27, 2014 4:06 pm

Using multiple VCNL4000's on one I2C Bus

Post by Rover5 »

Is it correct that the VCNL4000's address is not changeable, i.e., fixed as 0x13?

If so, do you have an example posted using a Port Expander, etc., along the lines described here:

http://www.gammon.com.au/forum/?id=10940

to allow multiple VCNL4000's to be independently addressed by one Arduino?

I only ask because I imagine that any examples you post will be quicker to digest and implement than the one above.

Thanks much,

Cliff

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Using multiple VCNL4000's on one I2C Bus

Post by adafruit_support_mike »

From what I can see in the datasheet, it's a single-address chip, yeah.

If you need to work with more than one you can use something like a multiplexer, or run multiple software I2C channels.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”