I2C Addresses - Collin’s Lab Notes

  Рет қаралды 112,670

Adafruit Industries

Adafruit Industries

Күн бұрын

Find I2C capable hardware at Adafruit:
www.adafruit.c...
Connect to multiple modules using I2C - just keep those addresses in order #adafruit #collinslabnotes
Visit the Adafruit shop online - www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! adafru.it/discord
Adafruit on Instagram: / adafruit
Subscribe to Adafruit on KZfaq: adafru.it/subsc...
New tutorials on the Adafruit Learning System: learn.adafruit....
-----------------------------------------

Пікірлер: 35
@rolandmdill
@rolandmdill 2 жыл бұрын
You can use multiple fixed address i2c devices by connecting it to an i2c multiplexer
@ethzero
@ethzero Жыл бұрын
Which Adafruit do sell and honestly I was expecting the clip to end with the fact 🤷
@chriswouse7713
@chriswouse7713 2 жыл бұрын
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?
@richsadowsky8580
@richsadowsky8580 3 жыл бұрын
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.
@DonCarlione973
@DonCarlione973 11 ай бұрын
Ada's products are outstanding! I look forward to the next project ✌🏼
@LinaScott
@LinaScott 2 жыл бұрын
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.
@OMGWTFBBQSHEEP
@OMGWTFBBQSHEEP 2 жыл бұрын
Thanks! Nice to learn about the i2c protocol
@jajajtec
@jajajtec 2 жыл бұрын
THANKS! This is litherly all i needed in a 59 second video. Nice work man!
@mybb9200
@mybb9200 2 жыл бұрын
Adafruit has the most useful and informative short videos on KZfaq! A big thumbs up for adafruit 👍👍👍👍👍
@fred0356
@fred0356 2 жыл бұрын
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.
@ammo2222
@ammo2222 2 жыл бұрын
I²C: you can Daisychain me Other 2-Wire Bus Systems: Hold my Spare Wires!
@der.Schtefan
@der.Schtefan 9 ай бұрын
You can use a multiplexer, multiple busses, or a simple chip enable line if possible.
@dennisfahey2379
@dennisfahey2379 9 ай бұрын
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.
@zenmaster24
@zenmaster24 3 жыл бұрын
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?
@matteopascoli
@matteopascoli 3 жыл бұрын
No, it’s a bus, the devices are independent, unless ofc the failed device pulls the lines up or down.
@zenmaster24
@zenmaster24 3 жыл бұрын
@@matteopascoli thanks for the explanation. instead of a logical bus/physical bus, can you do a logical bus, physical star like old school network hubs? so in effect there would be an i2c hub at the center of it all.
@matteopascoli
@matteopascoli 3 жыл бұрын
@@zenmaster24 As for the network star, you would need multiple i2c ports. If you plan to make a complex i2c system, there are modules/shields that manage multiple i2c busses.
@impulseimp1035
@impulseimp1035 2 жыл бұрын
@@zenmaster24 yep, you can connect your devices in parallel, no need to connect them in series
@Zakumei
@Zakumei 2 жыл бұрын
I wanna make a sphere of sensors, and just call it the "Poindexter" You know, that one dude who has the answer for EEEEEEVERYTHING. 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)
@nicoketzer3110
@nicoketzer3110 2 жыл бұрын
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
@Mgis90
@Mgis90 2 жыл бұрын
SPI has more lines then?
@Mgis90
@Mgis90 2 жыл бұрын
It has 4 data lines, excluding two for power.
@bencoss7003
@bencoss7003 2 жыл бұрын
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?
@impulseimp1035
@impulseimp1035 2 жыл бұрын
For what purpose?
@redcrafterlppa303
@redcrafterlppa303 2 жыл бұрын
Can't you use a normal shift register with a parallel to serial library?
@dale7561
@dale7561 2 жыл бұрын
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?
@Mr_Rain_Forest
@Mr_Rain_Forest 2 жыл бұрын
🐥
@rolandmdill
@rolandmdill 2 жыл бұрын
A digital caliper? No idea what you have to measure
@dale7561
@dale7561 2 жыл бұрын
@@rolandmdill so I have a woodworking machine and it has a thicknesser. Using a microcontroller I would like to add a stepper motor and measurement so I can just type it, 27mm for example and it will adjust to the level. I wanted to a a distance sensor to help improve accuracy. My issue is, that sensors that are actually accurate and can work on short distances are upwards of a 100 eur. I was wondering if someone didn't know of a more affordable option.
@rolandmdill
@rolandmdill 2 жыл бұрын
@@dale7561 Then add an encoder to your stepper motor / shaft to measure how many turns it actually did. Just google closed loop stepper motor, that is how it is done in robotics. Of course you will have to calibrate that setup, make a bunch of test pieces, but this will be way more reliable than a sensor. With a distance sensor any tiny speck of sawdust might ruin your measurement and therefore the precision of your machine!
@dale7561
@dale7561 2 жыл бұрын
@@rolandmdill thanks Roland. That sounds a great solution. I have some encoders lying around so I will give that a try! Thanks for your help!
@lilstubthumb
@lilstubthumb 2 жыл бұрын
Thank you for calling it I squared c instead of eye two see.
@mostlymessingabout
@mostlymessingabout 2 жыл бұрын
4 is quite a high number of pins 🤔
@shawnalfaro6943
@shawnalfaro6943 9 ай бұрын
I2C servo controller possibly?
What is I2C, Basics for Beginners
18:30
nandland
Рет қаралды 164 М.
Solving I2C Address Conflicts - TCA9548A I2C Multiplexer
24:29
DroneBot Workshop
Рет қаралды 102 М.
wow so cute 🥰
00:20
dednahype
Рет қаралды 31 МЛН
The Joker kisses Harley Quinn underwater!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 22 МЛН
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 101 МЛН
Electronic Basics #19: I2C and how to use it
6:09
GreatScott!
Рет қаралды 416 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3 МЛН
Inter-Integrated Circuit (I2C) Basics
25:29
Intermation
Рет қаралды 15 М.
I2C introduction: The protocol
15:47
Texas Instruments
Рет қаралды 44 М.
Hardware interrupts
27:36
Ben Eater
Рет қаралды 593 М.
How To Find Unknown I2C Addresses Several Ways
17:32
Gadget Reboot
Рет қаралды 19 М.
TCA9548A I2C Multiplexer Module - With Arduino and NodeMCU
9:39
Crazy Couple DIY
Рет қаралды 48 М.
Basics of I2C communication | Hardware implementation of I2C bus
6:48
Foolish Engineer
Рет қаралды 78 М.
What Is...I2C?
6:25
Microchip Technology, Inc.
Рет қаралды 68 М.
Опасность фирменной зарядки Apple
0:57
SuperCrastan
Рет қаралды 13 МЛН
Смартфоны миллиардеров 🤑
0:53
serg1us
Рет қаралды 1,2 МЛН
Вот и лето прошло…
1:00
Тёма Пименов
Рет қаралды 241 М.
Nokia…
0:19
Eggified
Рет қаралды 2,5 МЛН