TCA9548A I2C Multiplexer Module - With Arduino and NodeMCU

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 95

  • @nbabasketball6735
    @nbabasketball6735 5 лет назад +5

    Ummm... THAT's how videos should be. Very informative, volume is correct, no stupid music, great visualisations like transitions and illustrations... it's a very well done video. Other than his accent which is a bit hard to understand (captions solve that) it's a near perfect example of what I think tutorials should be striving for. He even has a little timeline so you can skip to parts of the video. It's a little more techie and in depth than most folks would need, but the time line is right there to skip if you don't need that level of detail.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 лет назад +1

      Thanks, I just saw the same comment in Reddit aswell
      Thanks again

  • @razorr1920
    @razorr1920 3 года назад +3

    dude, your video was the best on I2C till now. keep up the good work...cheers mate.

  • @maartenvd84
    @maartenvd84 3 года назад +3

    Thank you! Very well explained to enough level of detail without going too deep into things.

  • @belteksllc
    @belteksllc 3 года назад +3

    Great one. I learned everything I needed about TCA9548A.

  • @robertlongoria765
    @robertlongoria765 3 года назад +1

    Thank you, opened my eyes to may i2c properties.

  • @CrnaBabaa
    @CrnaBabaa 2 месяца назад +1

    instant follow. Great video

  • @emimix
    @emimix 5 лет назад +1

    Very useful and easy to follow video...thanks

  • @shiftyjesusfish
    @shiftyjesusfish 2 года назад

    trojan miner baked right into that link.....reeeaaaalllll nice.

  • @nqobilesibisi3544
    @nqobilesibisi3544 Год назад +1

    thank you , wonderfull explanation 👏

  • @yussufyassin1104
    @yussufyassin1104 5 лет назад +1

    superb good job!!!

  • @aleXelaMec
    @aleXelaMec 4 года назад +1

    Great video. Thanks
    Question (i saw this in video, but just want to clarify)
    I have found in TI datasheet that the chip "allows voltage-level translation between 1.8-V,
    2.5-V, 3.3-V, and 5-V buses"
    will it work with different Vcc's or only that it supports all types of Vcc's 1.8-5? i have both options of I2C devices 5V Vcc and3.3V Vcc. can i use this device without logic level converter?
    Thanks

  • @korishan
    @korishan 5 лет назад +1

    Rapid fire explanation! Love it 👍😎

  • @Standard_Logic
    @Standard_Logic 2 года назад

    So you didn't use pull up resistors in your demo, are they required or are the pull ups on the TCA9548A board shared through all its ports?

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  2 года назад

      @ 01:50 I did talk about the pull up resistors.
      But I did miss that in the schema shown later.

    • @Standard_Logic
      @Standard_Logic 2 года назад

      @@CrazyCoupleDIY generally one would need pull ups when using i2c. However, the board in question has pull up resistors integrated on the board. Are those resistors shared between all the ports?

  • @karthikeyans7468
    @karthikeyans7468 4 года назад

    But when I use oled with max30100 there is no problems and when I use oled with mlx90614 there is no problem but when I use both sensors max30100 and mlx90614 in the same nodeMCU it's not producing result

  • @devilvortex1
    @devilvortex1 4 года назад

    Pin 3 indicated as Z is the output from each selectable channel? E.g if I use 4 or more potentiometers.

  • @cookone
    @cookone 5 лет назад +2

    I'm impressed
    So i am going to subscribe

  • @doughankins3996
    @doughankins3996 7 месяцев назад

    Is the demo example running 1 image or pattern spread across 8 displays?

  • @kevinhoublon8630
    @kevinhoublon8630 Год назад +1

    Hello, great video 😁,
    I'm a beginner and I have a question :
    Can the TCA9548A multiplexer work with The MCP23017 GPIO Expander?
    Thank you in advance for your precious support 😄
    Cordially.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  Год назад +1

      Yes you may
      But I2C is serial, adding more expanders will make it slow
      Thanks for your support

    • @kevinhoublon8630
      @kevinhoublon8630 Год назад +1

      @@CrazyCoupleDIY Hello, thank you very much for your feedback 😁.
      Have a nice weekend 😄

  • @marvinsernande9790
    @marvinsernande9790 4 года назад +1

    This is awesome! May I ask if I2C communication and TCA9548A is okay with long wires? Thank you

  • @SilverArse
    @SilverArse 5 лет назад +1

    Segment at 4:32 Is interesting. I am bookmarking this with this comment.

  • @joaovitortoledo7736
    @joaovitortoledo7736 5 лет назад +1

    Muito bom! Adorei a forma como você fez o vídeo! Me inscrevi!

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 лет назад

      Thanks a lot :)

    • @velociraptorbaja
      @velociraptorbaja 5 лет назад +1

      Boa tarde. Por acaso você conseguiu comprar esse CI aqui no Brasil? Não acho em lugar nenhum.

    • @joaovitortoledo7736
      @joaovitortoledo7736 5 лет назад +1

      Na verdade nem tenho ainda. Coloquei no carrinho de compras no Aliexpress! Infelizmente as pessoas q revendem no Brasil, em 99% dos casos cobram cerca de 300% do valor do produto, então nem saio procurando esses tipos de componentes por aqui.

  • @ennaiarindhal3141
    @ennaiarindhal3141 3 года назад

    Bro can connect two flow sensor on nodemcuesp8266??? If possible tell how to make it

  • @trishyajameen336
    @trishyajameen336 3 года назад

    amazing tutorial

  • @KanchanDas
    @KanchanDas 5 лет назад +1

    very good work....

  • @tengchang8083
    @tengchang8083 5 лет назад +1

    Good tutorial!

  • @sai30492
    @sai30492 5 лет назад

    Amazing. I am working with multiple LRA drivers (DRV2605L) and ESP32. How can i control all the LRAs independently?

  • @ToTheMac711
    @ToTheMac711 5 лет назад

    Hey fam. Im using the TCA9548A as the master and multiple MPU-9250 (gyroscope/accelerometer) as slaves (connected to SD0,SC0 and SD1,SC1). After tcaselect(0); (which mean i choose my first MPU-9250). I have to access the register 6B and set the value to 0 on that register of the MPU. How do I do that?
    The original code for each MPU if I dont use the multiplexer is
    Wire.beginTransmission(0b1101000); //This is the I2C address of the MPU
    Wire.write(0x6B); //Accessing the register 6B
    Wire.write(0b00000000); //Setting SLEEP register to 0.
    Wire.endTransmission();
    So how can I access the register 6B then write to it after i write tcaselect(); ? or is there another way.

  • @donnysdp
    @donnysdp 3 года назад +1

    Nice explanatation sir! Truely understandable! But i have 1 question.
    Does the I2C Multiplexer Module has a library to install? or i doesn't require to install any library?

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  3 года назад

      Yes it does
      Please check it out here: www.arduino.cc/reference/en/libraries/ti-tca9548a/

  • @shyamsundarsekar8696
    @shyamsundarsekar8696 4 года назад

    Is it possible to log data to cloud and SD card through Nodemcu using this TCA9548A multiplexer

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  4 года назад

      It hardly matters if u have or dont have the MUX in your circuit.
      To log data you only need to concentrate on your NodeMCU bit.

  • @satishm4635
    @satishm4635 5 лет назад

    Very nice video explanation. But I got confused in the last section. @ 01:30 you said you will be explaining advantages and disadvantages of TCA9548A but @ 08:35 you actually explained advantages and disadvantages of I2C communication. Please correct me if I am wrong

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 лет назад

      Thanks for the appreciation
      I just had another look at the video and realised that you are absolutely right.

  • @pawankumarsingh3996
    @pawankumarsingh3996 4 года назад +1

    Awesome, can we receive multiple sensor data & check that data on blynk or MIT. I m working on a project, we would be helpful to me.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  4 года назад

      Yes u May
      But you can only get it one after another not paralleled as Arduino can’t do multi threading

  • @PavanMuppala
    @PavanMuppala 4 года назад +1

    very nice explanation bro, can I use this module to measure my battery pack connected in series where each cell ranges (1.6v - 3.3v) because I can not use audrino directly cus it is having a single ground pin.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  4 года назад

      First of all thanks for the appreciation. New, I have never done that so don’t have a concrete answer for you.

  • @ManuelCastillo-kq3xy
    @ManuelCastillo-kq3xy 5 лет назад +1

    Hi, you use a mini screen oled 0,96 i2c? You have a tutorial?

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 лет назад +2

      Please check this out: ruclips.net/video/_e_0HJY0uIo/видео.html

  • @TheRainHarvester
    @TheRainHarvester 5 лет назад +1

    Great topic! Does it cost less than another nano? I find myself just adding another nano or Stm32f103c8t6 sometimes for more gpio. I wish they had a cheaper solution.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 лет назад

      STM32 is definitely a good option and I personally recommend that aswell, however sometimes you do need the power of just one NANO and yet you need multiple I2C devices to be hooked up to your project.
      I had a project where I had to attach 16 OLEDs and using the same clock
      So, adding another NANO was not an option for me

    • @TheRainHarvester
      @TheRainHarvester 5 лет назад

      Crazy Couple , yes you are right. If you need 3 devices that are hardwired to the same address, then you'd need 3 Arduino, or, instead, need only 1 tca9548s. Plus you could even add more i2c devices with the tca9548a.

    • @TheRainHarvester
      @TheRainHarvester 5 лет назад

      16 oleds? Ok...where's that video...searching. :-)

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 лет назад

      I don’t have a video for that as it was part of my semester project. My next tutorial is on IO expanders. So please stay tuned.

  • @hamadrd4573
    @hamadrd4573 5 лет назад +1

    Very good Tutorial, I Love it, your English is GREAT and You made it easy for us to understand
    However, total I/Os current is 200ma for arduino, So do you know how much current drawn out of arduino pin to this I2C chip? And do the expanded pins current in total affect the Arduino pin if it is more than 40ma?

  • @SilverArse
    @SilverArse 5 лет назад

    I take it the 2 10k pull-up resistors are between the microcontroller and the chip. Thus I would benefit from a suite of pull-up resistors between the slave and the chip lines even if they are all the same type of device eg screens?

    • @SilverArse
      @SilverArse 5 лет назад

      Also as of 24/01/19 there is a couple of bugs in the example code on instructibles. The loops in setup and loop functions say

  • @SaumavaDas
    @SaumavaDas 4 года назад

    Hi. Can i operate 16 relayes with that mux?

  • @SEOGOLDENWin
    @SEOGOLDENWin 5 лет назад +1

    Good bos👍

  • @karthikeyans7468
    @karthikeyans7468 4 года назад

    I am doing a project using nodeMCU AND MAX30100 heart rate sensor and Mlx90614 it temperature sensor and oled displaya

  • @tamgaming9861
    @tamgaming9861 5 лет назад

    do you have a tutorial for the RBG 1,5" Oleds? I bought 2 of them and now i try to connect them to my Arduino 2560^^

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 лет назад

      Unfortunately I don’t have one on my channel but you should be able to find heaps on RUclips

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 лет назад

      Tutorial on I2C OLED Display with Arduino/NodeMCU ruclips.net/video/_e_0HJY0uIo/видео.html
      This is the only one I have on my channel related to any OLED displays

    • @tamgaming9861
      @tamgaming9861 5 лет назад

      @@CrazyCoupleDIY thanks buddy, yes i found some :-)

  • @ShailSonsTech
    @ShailSonsTech 5 лет назад +1

    Coolest solution for the most uncool problem

  • @karthikeyans7468
    @karthikeyans7468 4 года назад

    Please help to come out of this

  • @karthikeyans7468
    @karthikeyans7468 4 года назад

    I need a help

  • @prajuthagowda4178
    @prajuthagowda4178 5 лет назад

    hello there...nice video it was very informative ....can u please share the link to download utility/twi.h library ...im not able to download that ...thank you for sharing ur knowledge..

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 лет назад

      Please find all the links here: diyfactory007.blogspot.com/2018/11/tca9548a-i2c-multiplexer-module-with.html

  • @sksuman4400
    @sksuman4400 5 лет назад

    sir if you upload another video on the basis of it then it will be more clear to me especially software part.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 лет назад

      Do u want to know more about the integration with arduino or just in general how it works

    • @sksuman4400
      @sksuman4400 5 лет назад

      Actually, sir, I was trying to connect bme280 and rtc module together using tca9548a but nothing was happening. If you explain the software part then it will be very clear to me

  • @karthikeyans7468
    @karthikeyans7468 4 года назад

    Can you help me

  • @makerspec9566
    @makerspec9566 5 лет назад +2

    You should try and slow down a bit to eliminate the obvious errors like "one two eight" instead of I²C(I squared C), SLC instead of SCL, etc.

  • @emonahmed7258
    @emonahmed7258 4 года назад +1

    it help me to complete ....fiverr order

  • @MountainRidgeMalamutes
    @MountainRidgeMalamutes 5 лет назад +2

    Awesome Tutorial!!!