United Kingdom
Asked — Edited

I2c Query

Hi folks, I have another I2C query.

I've learned now that I2C devices have addresses meaning multiple devices can be attached. This is awesome of course.

My question is now, if I had, say 2 accelerometer's of the same type attached, can these be accessed separately? Am I correct in thinking that they would have the same address code?

For scripting I am more focused on using C# rather than ARC.

Any thoughts on this subject?


ARC Pro

Upgrade to ARC Pro

ARC Pro will give you immediate updates and new features needed to unleash your robot's potential!

United Kingdom
#1  

Depending on the device you may be able to change the address, it should give the command to change the address in the datasheet for it.

United Kingdom
#2  

Never even thought of looking for a command like that. Awsome if I can

United Kingdom
#3  

Obviously only have one of them connected when you change it's address :)

I know the BlinkM and the LCD screen I have both support changing the address.

United Kingdom
#4  

oh of course. I'd have spent ages with them both connected and wondering why they were both changing.

I'm getting a couple of i2c cameras you see so will need to be able to choose different camera at different times.

United Kingdom
#5  

Check the forums, I'm pretty sure (as said in the other topic I replied to just now) that the EZ-B isn't able to transmit video.