I2C Addresses - Collin’s Lab Notes #adafruit #collinslabnotes

preview_player
Показать описание
Find I2C capable hardware at Adafruit:

Connect to multiple modules using I2C – just keep those addresses in order #adafruit #collinslabnotes

-----------------------------------------

-----------------------------------------
Рекомендации по теме
Комментарии
Автор

There are a number of pitfalls:
Some I2C addresses shown in data sheets are shown as a 7-bit address as the last bit in the address is the read/write bit.
So if you’re bit bashing, you have to do a bit of bitwise math to get the actual address.
Can you do a video on multi-master I2C systems?

chriswouse
Автор

You can use multiple fixed address i2c devices by connecting it to an i2c multiplexer

rolandmdill
Автор

Thanks for this. I am just getting into the STEMMA connection type. It's perfect for me. I'm a slob and wires would run every which way but this nice packaging on commonly used pins 3.3, GND, SCL and SDA. I've also used the power 2 pin and 3 pin (have used with neopixels). Some of my cables came with some starter kit and don't seem to relate to STEMMA QT or SparkFun's similar ones. When still prototyping these types of connectors are golden.

richsadowsky
Автор

Ada's products are outstanding! I look forward to the next project ✌🏼

DonCarlione
Автор

I used the fine product from you guys that let's you switch between addresses if you have multiple of the same address in a chain.

LinaScott
Автор

THANKS! This is litherly all i needed in a 59 second video. Nice work man!

jajajtec
Автор

Thanks! Nice to learn about the i2c protocol

OMGWTFBBQSHEEP
Автор

Thanks for the video! I just looked up yesterday a video on 12c. I was doing raspberry pi stuff and I'm new to the whole thing. So this helped tie stuff together a little more.

fred
Автор

Adafruit has the most useful and informative short videos on YouTube!
A big thumbs up for adafruit 👍👍👍👍👍

mybb
Автор

You can use a multiplexer, multiple busses, or a simple chip enable line if possible.

der.Schtefan
Автор

I²C: you can Daisychain me
Other 2-Wire Bus Systems: Hold my Spare Wires!

ammo
Автор

I2C was the industries first multivendor expansion bus from the 1970's. Since most microcontrollers were 1MHZ or below I2C could be very slow, "wired OR" and extensible. It works for low speed applications where data needs updated in the 100's of milliseconds to seconds range. Note you can use modules that are at the same address with a multiplexer wherein you select the one you wish to talk to before accessing that specific common address. DO NOT use I2C for hot swap applications as inserting a module when a transaction is in progress will corrupt that transaction in uncontrollable ways. Read cycles may turn to writes etc. Not good.

dennisfahey
Автор

if you are daisy chaining devices and one of the devices fails, does that mean your whole chain fails?
ie is the i2c protocol reliant on being routed to the correct device through the intermediary devices?

zenmaster
Автор

I wanna make a sphere of sensors, and just call it the "Poindexter"
You know, that one dude who has the answer for
Well this sphere does that.
Need to know ambient radiation? Gieger counter. Room temp? Thermostat. Exact PPM rating of Farts in the room? Gas sensor set to hydrogen sulphide. Magnetic polarity alignment? Compass chained to the handle (yeah it has a handle)

Zakumei
Автор

If you have a LED-Array it could be useful to have LED"s with the same Address. For Example: you have the Blue LED's on 0x20 the Green LED's on 0x40 and the Red LED's on 0x60. If you want to light up all Blue LED's you just write it to the Adress 0x20 and all LED-Boards will do the Command

nicoketzer
Автор

Can't you use a normal shift register with a parallel to serial library?

redcrafterlppa
Автор

Hi All. Just watched this and have a quick question. I need an accurate measurement to 0.1mm if possible. It needs to measure from 1mm to 250mm. I am trying to find something affordable but I can't seem to. Any ideas?

dale
Автор

I'm learning quickly on this stuff but and it looks like they're chained together with copper is there any plans to chain boards together with fiber optics?

bencoss
Автор

Thank you for calling it I squared c instead of eye two see.

lilstubthumb