Тёмный

Connecting Arduino with multiple I2C devices 

BlueDot
Подписаться 1,4 тыс.
Просмотров 191 тыс.
50% 1

bluedot.space/...

Наука

Опубликовано:

 

22 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 142   
@rajcodes100
@rajcodes100 5 лет назад
The best explanation of I2C in the least amount of time with great clarity - thanks Sir and kudos for such a presentation.
@KeirBriscoe
@KeirBriscoe 5 лет назад
Very well explained with a lot of detail that many others simply omit. The diagrams showing how a pull up resister works, and how to calculate its value, are so simple to understand. Great job!
@forwardphysx6167
@forwardphysx6167 7 лет назад
If you need to connect more devices but the resistance becomes too low, just desolder the resistor from the breakout boards which lower the resistance too much.. With I2C you want about ~2K Ohms so that you can transmit data much faster :D I see a bunch of comments where people think this video is "useless" but he explains this at the end, Resistance in parrallel is divided! Hope this helps
@ColinJWiens
@ColinJWiens 5 лет назад
He said you can measure the resistance of the whole bus by measuring between VCC and SCL or SDA, but I tried that on a little screen and it read overload, and I tried that on a single gyroscope and it reads 3 megaohms (even though the pull-ups are 22 kiloohms). Am I measuring something wrong or do I have to use his equation near the end?
@alistairdrozario3590
@alistairdrozario3590 7 лет назад
bloody amazing - now that's what I call an explanation
@queenidog1
@queenidog1 6 лет назад
This was a fantastic video and I say that as a former educator and amateur cinematographer! Great job buddy.
@lucasalexandre2043
@lucasalexandre2043 7 лет назад
The best material about I2C I've found in 3 days of search! Looking in blogs, videos and articles.
@michaelcostello6991
@michaelcostello6991 4 года назад
Just measured an Adafruit BNO055 sensor and got 10K ohms on clock and data lines. THANKS for excellent short video. Really interesting.
@frankgrudge8823
@frankgrudge8823 4 года назад
Best i2c vid ive ever seen.
@robertlongoria765
@robertlongoria765 3 года назад
Excellent explained pull up resistors in I2C applications.
@GeekMustHave
@GeekMustHave 7 лет назад
Most excellent! Love your graphics and animation, they add so much to the learning experience.
@kishoreysn7801
@kishoreysn7801 4 года назад
Man, you should be making more Videos. Very nice explanation.
@DD-ci1iw
@DD-ci1iw Год назад
Great insights - but depending on what you are doing, the limit is even lower ;) Break-Out Boards usually give you the option to configure the used I2C-Adress by connecting a pin to GND, VCC, SLA or SLC. And that's another hard limit: You can only use 4 addresses for these kind of boards. If you want a fifth, you'll need to find another vendor who has preloaded his device with a different address or even offers some way to freely configure it beside the classic way of using 4 different voltage levels through an extra pin.
@lucasalexandre2043
@lucasalexandre2043 7 лет назад
You should make more videos man! You're good on it
@kaoshavoc
@kaoshavoc Месяц назад
I tried to like this video while watching it on my 'smart' tv. wasn't fast enough, so here I am to both like this video and subscribe because THIS was an awesome video and I learned something I hadn't even known I needed to know. Thank you.
@TheAbhro
@TheAbhro 4 года назад
Very precisely and accurately explained!!
@FabiusKadett
@FabiusKadett 3 года назад
Awesome I have 4 i2c devices and when I connect the fourth the sketch freezed randomly now after seeing this video I will definetly check the total I2C bus resistance since all are breakout boards
@RoadRunnerMeep
@RoadRunnerMeep 4 года назад
Great article, making a home made weather station and it helps clarify things a lot
@cwgreenley
@cwgreenley 7 лет назад
Excellent info
@mousumimandal5464
@mousumimandal5464 5 лет назад
Fabulous awesome.... this kind of explanations can even make a child understand about arduino no matter how much he is able to understand anything else... he he
@samudrajs5409
@samudrajs5409 Год назад
Great explanation, thanks a lot. I was facing problem with loadout resistors
@ThomasHaberkorn
@ThomasHaberkorn 6 лет назад
So.. How do I increase the resistance above the minimum value if I've got (too) many I2C devices connected?
@bjarneappel125
@bjarneappel125 7 лет назад
You deserve more views
@jagadeeshdhoni438
@jagadeeshdhoni438 4 года назад
bluedot, you are awesome man! very nice presentation. the solution must be "TO SOMEHOW ATTAIN A EFFECTIVE RESISTANCE OF 1.5K OHM" you could try removing the pull up resistors in the slave(s) and adding a 1.5k resistor seperately
@jagadeeshdhoni438
@jagadeeshdhoni438 4 года назад
if could maintain effective resistance @1.5k, then theoretically you can connect upto 128 devices
@ericaskari
@ericaskari 6 лет назад
fantastic, thanks. I never thought about the parallel resistors
@fxbootstraps
@fxbootstraps 5 лет назад
one of the best explanations I have seen
@walthermatthau9537
@walthermatthau9537 3 года назад
Excellent explanations!
@877cms
@877cms 5 лет назад
Excellent video. I was hoping for something to do with the addresses as well though...
@biamanuel
@biamanuel Месяц назад
omg what an amazing channel!! thanks for the video, helped tons!
@jithin_isaac
@jithin_isaac 3 года назад
Brilliant content...
@bopala85
@bopala85 7 лет назад
Great video, thanks.
@polisidor7414
@polisidor7414 5 лет назад
Perfecet explanation..with lot of details..thx
@ZookeeperJohnG
@ZookeeperJohnG 2 года назад
GREAT explanation!
@akshayn3926
@akshayn3926 6 лет назад
very informative ,never realised all these,untill now thanks
@NostromoVA
@NostromoVA 5 лет назад
Very well done! Thank you.
@tryifwecanadiychannel5628
@tryifwecanadiychannel5628 5 лет назад
Great tutorial. Lots of good knowledge!
@Sailingon
@Sailingon Год назад
Very nicely explained. Subscribed
@Stepanhuge
@Stepanhuge 5 лет назад
Nice tutorial! we want more like that pleasee
@makethingsmove8275
@makethingsmove8275 7 лет назад
More video please. Very well explained (Y)
@charlesklein7232
@charlesklein7232 5 лет назад
hate to tell you this, but this is his only video! in fact their is nobody home. i suspect he returned home to his other planet.
@logicawe
@logicawe 6 лет назад
Extremely clear presentation, thank you for sharing!
@trevorcook1427
@trevorcook1427 2 года назад
Thanks, have been trying to understand this for a while, perfect explaination ;-)
@mikeoliver3254
@mikeoliver3254 7 лет назад
great job you just helped me understand a problem I had been having. subscribed.
@firstplacelast2
@firstplacelast2 4 года назад
Great job. Perfect pace right amount of detail. Thanks!
@colinroye5833
@colinroye5833 7 лет назад
Very interesting, hope to see more videos!
@LifeGeneralist
@LifeGeneralist 4 года назад
But what is the solution?
@TooSlowTube
@TooSlowTube 6 лет назад
This was a really good presentation, but you left out the most important part - what do we do about it? It seems to me, we need to remove the pull up resistors from all but one of the devices. There probably comes a point where that isn't enough, so we would need to remove ALL of the pull up resistors, and fit the appropriate size for that number of devices - those would be bigger value resistors, to get a good logic low level, surely? There is also this video, which may be helpul: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sGZe0aJsqBQ.html
@ColinJWiens
@ColinJWiens 5 лет назад
I found a comment lower that said "If you need to connect more devices but the resistance becomes too low, just desolder the resistor from the breakout boards which lower the resistance too much.. With I2C you want about ~2K Ohms so that you can transmit data much faster" If you want a more thought-out approach, near the end of the vid it explains using the parallel resistor equation, which you can use if you can see the values on your pull-up resistors. It didn't work for me to measure the resistance between VCC and SCL because I tried it on a little screen and it reads overload, I tried it on a single gyroscope and it reads 3 Megaohms which seems high.
@cw4608
@cw4608 4 года назад
I enjoy your presentation and flow. Make more if possible. Hope all is well with you.
@Robmart05
@Robmart05 7 лет назад
Great job! Can you make more videos?
@raajsuriyaroychoudhury1587
@raajsuriyaroychoudhury1587 6 лет назад
Really cleared a lot of my doubts!
@leandro3710
@leandro3710 6 лет назад
This video is awesome, THANK YOU!
@seanocansey2956
@seanocansey2956 5 лет назад
Really Well explained 😎👍🏾
@armanmaulana2290
@armanmaulana2290 6 лет назад
GREAT VIDEO SIR
@davewreski6900
@davewreski6900 4 года назад
Great information - How about more of the same type ? Keep up the good work - I like the way you make it short and to the subject. Thank you.
@amirhoseinaz1969
@amirhoseinaz1969 4 года назад
Great explanation, thanks
@ChrisHalden007
@ChrisHalden007 4 года назад
This was an excellent video!!!! Thx
@charlesklein7232
@charlesklein7232 5 лет назад
its been 2 years i dont think hes coming back.
@Singh-rt1zq
@Singh-rt1zq 5 лет назад
best video on this topic.........make another please on spi and other topics......
@Graham1904
@Graham1904 4 года назад
Plenty explanation as to what is wrong but no explanation as to how to correct it!!!
@ramazans8114
@ramazans8114 6 лет назад
Talking should to be a bit slowly , on the end no one running from behind!
@limefourwe4937
@limefourwe4937 5 лет назад
Yes a little slower
@BrianThomas
@BrianThomas 5 лет назад
Published in 2016 and it's still providing great information. Nice video. I do have a question. How would you power 11 or more sensors all at once if I wanted to use battery as a backup and not as a main source of power?
@KM-ey4lg
@KM-ey4lg 7 лет назад
Thank you. Great job.
@CoolKoon
@CoolKoon 6 лет назад
While this was definitely an informative video, it didn't explain me how do I connect Arduino with multiple I2C devices....
@akashwaitage8051
@akashwaitage8051 3 года назад
how many mpu6050 sensors we can connect with ardiuno uno??
@ammarwaseem1788
@ammarwaseem1788 3 года назад
i have the same question
@tomcatmeow69
@tomcatmeow69 4 года назад
excellent presentation , I have only one question because I was thinking about this very question of how many devices can I put on the I2C bus or more specifically I want to know how many arduino nanos I can put on the I2C bus ? I am thinking to use a raspberry pi as the master I2C bus and have nanos looking after individual sensors with their own isolated I2C busses or sensors directly connected to nanos with out using the isolated I2C bus. Nanos don't as far as I know have any resistors on the SDA or SCL . If what I'm thinking is correct then you could have an unlimited number of sensors connected to a main I2C bus of a master Pi or Arduino and just isolate the sensors with arduino nanos which are so cheap to buy.
@Lumrog8
@Lumrog8 5 лет назад
You are a Craack! I dont speak english, but I inderstood this
@captainspongeboy
@captainspongeboy 3 года назад
What a fantastic video! Thank you so much.
@JacobKrajewski
@JacobKrajewski 3 года назад
good video for me, thank you!
@user-xv8vu6cf4m
@user-xv8vu6cf4m 6 лет назад
Video explains much easiers.Thanks for nice thing
@qzorn4440
@qzorn4440 2 года назад
very well done...😀 i learned a little bit more... 😀 great info... 👍👍👍
@shiftyjesusfish
@shiftyjesusfish 3 года назад
This really helped in my understanding, but I was wondering (hopefully this is not a stupid question) but would this be considered analog multiplexing? And would this allow the arduino to communicate with 2 devices with the same MAC address at the same time?
@zacmilne9423
@zacmilne9423 Год назад
I don’t think two devices with the same MAC address would work. I think the thumbnail for this video is misleading.
@justinmckenzie7100
@justinmckenzie7100 4 года назад
Informative, just subbed, thankyou!
@galerivs
@galerivs 7 лет назад
great video
@prathmeshghodke4872
@prathmeshghodke4872 5 лет назад
Plz make videos on this topic
@aimexx1
@aimexx1 4 года назад
Thank you, Sir! Great Video
@PeterAbt
@PeterAbt 7 лет назад
great video thanks!!! why do these breakout boards even have he pull up resistors already build inside? Wouldn't be a big deal to plug them in yourself and spare all the trouble...
@3DavyJones
@3DavyJones 6 лет назад
This is amazing information, thanks
@piotrlenarczyk5803
@piotrlenarczyk5803 3 года назад
Thank you for video.
@ingenierocristian
@ingenierocristian 3 года назад
Hi, I need to make an I2C communication between an Esp 32 and Esp8266, where can I find info about?
@sennabullet
@sennabullet 5 лет назад
Awesome!! Very clear presentation of great information.
@CRCR7
@CRCR7 6 лет назад
Great video kindly do more videos
@ralpholiver2889
@ralpholiver2889 6 лет назад
GREAT material by the way, subscribed (Y)
@ralpholiver2889
@ralpholiver2889 6 лет назад
Can you effectively connect 7 i2c devices to a nano? Will it work?
@AtlantaTerry
@AtlantaTerry 6 лет назад
BlueDot: you might want to consider adding a "pop filter" between your mouth and the microphone.
@Sean-ce2nz
@Sean-ce2nz 4 года назад
Fantastic information.
@tom53332
@tom53332 Год назад
couldn't the 'low-voltage' be reduced further by adding an extra resistor to the clock-line?
@datod100
@datod100 6 лет назад
Very good video!
@d.g.m.04
@d.g.m.04 Год назад
Then add a really big resistor in parallel, will solve the issue right?
@stark_energy
@stark_energy Год назад
Adding any resistor in parallel will always reduce the overall resistance. To solve this I2C pull-up resistor problem, desolder all the built-in pull-up resistors on every device and place your own.
@yelectric1893
@yelectric1893 3 года назад
Thank you
@sto2779
@sto2779 3 года назад
could this be the reason why my SPI LCD shows artifacts right at the moment when the SPI communicates to another SPI device such as SD card?
@markusaurelius4015
@markusaurelius4015 3 года назад
Great video!
@bitsurfer0101
@bitsurfer0101 2 года назад
Can you disconnect the pullup resistors to make the logic low voltage drop?
@qqreeeeeeeeeeeeeeeee
@qqreeeeeeeeeeeeeeeee 6 лет назад
so all i have to do to connect multiple I2C devices on arduino is to connect resistors between Vcc-SDA and Vcc-SCL the pull-ups right?
@siddharthpasupuleti7136
@siddharthpasupuleti7136 3 месяца назад
I am in a situation where I need 68 temperature sensors that use I2C comms and only 1 SDA and SCL line, how would I know if it will work?
@fredchen9572
@fredchen9572 3 месяца назад
Just try it from 2x sensor prototype, then 3, then 68...
@manuelmundaca5322
@manuelmundaca5322 2 года назад
Hello! Do you know if it is possible to connect two displays, but SH1106 and with another library (I use Adafruit's)? The solution I have at the moment is to use 2 arduinos, but the expense would be higher.
@bluehydrogen
@bluehydrogen Год назад
Thanks for the Knowlege
@tech-german1806
@tech-german1806 5 лет назад
Wow. Pls post more video.
@damainx
@damainx 5 лет назад
How do you handle the addressing if 2 devices have the same I2C address?
@dennischan8663
@dennischan8663 4 года назад
it is possible to connect with two TSL 2561 sensor ?
@mohamedgueye7883
@mohamedgueye7883 2 года назад
Great !
@jameselliott9397
@jameselliott9397 6 лет назад
Have you ever used the TCA9548 i2c multiplexor?
Далее
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Просмотров 1,1 млн
Construction site video BEST.99
01:00
Просмотров 349 тыс.
#20 Tutorial: Multiple Devices on One Arduino I2C Bus
7:42
Hacking a weird TV censoring device
20:59
Просмотров 3 млн
Using Inexpensive 433 MHz RF Modules with Arduino
29:50
Electronic Basics #19: I2C and how to use it
6:09
Просмотров 416 тыс.
Soldering 101 - For Arduino Projects
24:28
Просмотров 37 тыс.
Проблемный ноутбук за 300к
0:57
Просмотров 164 тыс.
Мой новый мега монитор!🤯
1:00