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

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#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.

Author Avatar
United Kingdom
#2  

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

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#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.

Author Avatar
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.

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#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.