Connecting Arduino with multiple I2C devices

  Рет қаралды 190,393

BlueDot

BlueDot

7 жыл бұрын

bluedot.space/tutorials/how-m...

Пікірлер: 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 4 жыл бұрын
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!
@lucasalexandre2043
@lucasalexandre2043 7 жыл бұрын
The best material about I2C I've found in 3 days of search! Looking in blogs, videos and articles.
@queenidog1
@queenidog1 6 жыл бұрын
This was a fantastic video and I say that as a former educator and amateur cinematographer! Great job buddy.
@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.
@forwardphysx6167
@forwardphysx6167 6 жыл бұрын
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
@ericaskari
@ericaskari 6 жыл бұрын
fantastic, thanks. I never thought about the parallel resistors
@GeekMustHave
@GeekMustHave 7 жыл бұрын
Most excellent! Love your graphics and animation, they add so much to the learning experience.
@robertlongoria765
@robertlongoria765 3 жыл бұрын
Excellent explained pull up resistors in I2C applications.
@frankgrudge8823
@frankgrudge8823 3 жыл бұрын
Best i2c vid ive ever seen.
@kishoreysn7801
@kishoreysn7801 4 жыл бұрын
Man, you should be making more Videos. Very nice explanation.
@lucasalexandre2043
@lucasalexandre2043 7 жыл бұрын
You should make more videos man! You're good on it
@RoadRunnerMeep
@RoadRunnerMeep 4 жыл бұрын
Great article, making a home made weather station and it helps clarify things a lot
@kaoshavoc
@kaoshavoc 7 күн бұрын
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!!
@fxbootstraps
@fxbootstraps 5 жыл бұрын
one of the best explanations I have seen
@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
@firstplacelast2
@firstplacelast2 4 жыл бұрын
Great job. Perfect pace right amount of detail. Thanks!
@logicawe
@logicawe 5 жыл бұрын
Extremely clear presentation, thank you for sharing!
@akshayn3926
@akshayn3926 6 жыл бұрын
very informative ,never realised all these,untill now thanks
@colinroye5833
@colinroye5833 7 жыл бұрын
Very interesting, hope to see more videos!
@ZookeeperJohnG
@ZookeeperJohnG 2 жыл бұрын
GREAT explanation!
@tryifwecanadiychannel5628
@tryifwecanadiychannel5628 5 жыл бұрын
Great tutorial. Lots of good knowledge!
@trevorcook1427
@trevorcook1427 2 жыл бұрын
Thanks, have been trying to understand this for a while, perfect explaination ;-)
@samudrajs5409
@samudrajs5409 Жыл бұрын
Great explanation, thanks a lot. I was facing problem with loadout resistors
@biamanuel
@biamanuel 6 күн бұрын
omg what an amazing channel!! thanks for the video, helped tons!
@mikeoliver3254
@mikeoliver3254 7 жыл бұрын
great job you just helped me understand a problem I had been having. subscribed.
@walthermatthau9537
@walthermatthau9537 3 жыл бұрын
Excellent explanations!
@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.
@Stepanhuge
@Stepanhuge 5 жыл бұрын
Nice tutorial! we want more like that pleasee
@leandro3710
@leandro3710 6 жыл бұрын
This video is awesome, THANK YOU!
@raajsuriyaroychoudhury1587
@raajsuriyaroychoudhury1587 5 жыл бұрын
Really cleared a lot of my doubts!
@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
@polisidor7414
@polisidor7414 4 жыл бұрын
Perfecet explanation..with lot of details..thx
@NostromoVA
@NostromoVA 5 жыл бұрын
Very well done! Thank you.
@cw4608
@cw4608 4 жыл бұрын
I enjoy your presentation and flow. Make more if possible. Hope all is well with you.
@bjarneappel125
@bjarneappel125 7 жыл бұрын
You deserve more views
@justinmckenzie7100
@justinmckenzie7100 4 жыл бұрын
Informative, just subbed, thankyou!
@Sailingon
@Sailingon Жыл бұрын
Very nicely explained. Subscribed
@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
@captainspongeboy
@captainspongeboy 3 жыл бұрын
What a fantastic video! Thank you so much.
@ChrisHalden007
@ChrisHalden007 3 жыл бұрын
This was an excellent video!!!! Thx
@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.
@aimexx1
@aimexx1 4 жыл бұрын
Thank you, Sir! Great Video
@seanocansey2956
@seanocansey2956 5 жыл бұрын
Really Well explained 😎👍🏾
@jithin_isaac
@jithin_isaac 3 жыл бұрын
Brilliant content...
@cwgreenley
@cwgreenley 7 жыл бұрын
Excellent info
@877cms
@877cms 5 жыл бұрын
Excellent video. I was hoping for something to do with the addresses as well though...
@amirhoseinaz1969
@amirhoseinaz1969 4 жыл бұрын
Great explanation, thanks
@bopala85
@bopala85 7 жыл бұрын
Great video, thanks.
@qzorn4440
@qzorn4440 2 жыл бұрын
very well done...😀 i learned a little bit more... 😀 great info... 👍👍👍
@makethingsmove8275
@makethingsmove8275 7 жыл бұрын
More video please. Very well explained (Y)
@armanmaulana2290
@armanmaulana2290 6 жыл бұрын
GREAT VIDEO SIR
@user-xv8vu6cf4m
@user-xv8vu6cf4m 6 жыл бұрын
Video explains much easiers.Thanks for nice thing
@JacobKrajewski
@JacobKrajewski 3 жыл бұрын
good video for me, thank you!
@KM-ey4lg
@KM-ey4lg 7 жыл бұрын
Thank you. Great job.
@ThomasHaberkorn
@ThomasHaberkorn 5 жыл бұрын
So.. How do I increase the resistance above the minimum value if I've got (too) many I2C devices connected?
@Lumrog8
@Lumrog8 5 жыл бұрын
You are a Craack! I dont speak english, but I inderstood this
@ralpholiver2889
@ralpholiver2889 5 жыл бұрын
GREAT material by the way, subscribed (Y)
@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?
@markusaurelius4015
@markusaurelius4015 3 жыл бұрын
Great video!
@galerivs
@galerivs 7 жыл бұрын
great video
@datod100
@datod100 6 жыл бұрын
Very good video!
@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.
@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.
@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
@AdityaSingh-rt1zq
@AdityaSingh-rt1zq 5 жыл бұрын
best video on this topic.........make another please on spi and other topics......
@piotrlenarczyk5803
@piotrlenarczyk5803 2 жыл бұрын
Thank you for video.
@CRCR7
@CRCR7 6 жыл бұрын
Great video kindly do more videos
@charlesklein7232
@charlesklein7232 5 жыл бұрын
its been 2 years i dont think hes coming back.
@sennabullet
@sennabullet 5 жыл бұрын
Awesome!! Very clear presentation of great information.
@ingenierocristian
@ingenierocristian 3 жыл бұрын
Hi, I need to make an I2C communication between an Esp 32 and Esp8266, where can I find info about?
@Sean-ce2nz
@Sean-ce2nz 4 жыл бұрын
Fantastic information.
@bitsurfer0101
@bitsurfer0101 2 жыл бұрын
Can you disconnect the pullup resistors to make the logic low voltage drop?
@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?
@Robmart05
@Robmart05 7 жыл бұрын
Great job! Can you make more videos?
@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?
@jameselliott9397
@jameselliott9397 5 жыл бұрын
Have you ever used the TCA9548 i2c multiplexor?
@damainx
@damainx 5 жыл бұрын
How do you handle the addressing if 2 devices have the same I2C address?
@ralpholiver2889
@ralpholiver2889 5 жыл бұрын
Can you effectively connect 7 i2c devices to a nano? Will it work?
@prathmeshghodke4872
@prathmeshghodke4872 5 жыл бұрын
Plz make videos on this topic
@yelectric1893
@yelectric1893 3 жыл бұрын
Thank you
@tom53332
@tom53332 11 ай бұрын
couldn't the 'low-voltage' be reduced further by adding an extra resistor to the clock-line?
@bluehydrogen
@bluehydrogen Жыл бұрын
Thanks for the Knowlege
@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.
@tech-german1806
@tech-german1806 5 жыл бұрын
Wow. Pls post more video.
@dennischan8663
@dennischan8663 4 жыл бұрын
it is possible to connect with two TSL 2561 sensor ?
@mohamedgueye7883
@mohamedgueye7883 2 жыл бұрын
Great !
@faresabbasi2613
@faresabbasi2613 4 жыл бұрын
Thanks !
@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.
@Boarderathome
@Boarderathome 3 жыл бұрын
Mega stabil
@abhaynaik2534
@abhaynaik2534 3 жыл бұрын
How do i connect 10 Arduino togather. Is that any possibility to do this ?
@MrManta2012
@MrManta2012 4 жыл бұрын
good video
@derejehailemariam677
@derejehailemariam677 5 жыл бұрын
nice
@legudep
@legudep 5 жыл бұрын
How long distance maximum sir?
@user-dr1wj4jm3c
@user-dr1wj4jm3c 4 жыл бұрын
THANKS
@TooSlowTube
@TooSlowTube 5 жыл бұрын
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: kzfaq.info/get/bejne/qa2KmJOSr9nVcoU.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.
@ashanayase1085
@ashanayase1085 6 жыл бұрын
How many device can control
Solving I2C Address Conflicts - TCA9548A I2C Multiplexer
24:29
DroneBot Workshop
Рет қаралды 100 М.
Extracting Firmware from Embedded Devices (SPI NOR Flash) ⚡
18:41
Flashback Team
Рет қаралды 553 М.
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 6 МЛН
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 46 МЛН
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 7 МЛН
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 16 МЛН
Basics of I2C communication | Hardware implementation of I2C bus
6:48
Foolish Engineer
Рет қаралды 74 М.
I2C Addresses - Collin’s Lab Notes #adafruit #collinslabnotes
1:00
Adafruit Industries
Рет қаралды 110 М.
PCF8574 I2C GPIO Expander Tutorial
19:22
Gadget Reboot
Рет қаралды 36 М.
Уроки Ардуино. ПИД регулятор
28:57
Заметки Ардуинщика
Рет қаралды 457 М.
How I2C Communication Works and How To Use It with Arduino
9:57
How To Mechatronics
Рет қаралды 1,5 МЛН
How to use multiple i2c devices on the same bus with the Arduino
10:20
Garage Geek Guy
Рет қаралды 34 М.
I2C and SPI on a PCB Explained!
15:34
Altium Academy
Рет қаралды 139 М.
Understanding I2C
10:58
Rohde Schwarz
Рет қаралды 67 М.
TCA9548A i2C multiplexer
12:55
Curious Scientist
Рет қаралды 8 М.
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 23 МЛН
Как слушать музыку с помощью чека?
0:36
Опыт использования Мини ПК от TECNO
1:00
Андронет
Рет қаралды 520 М.