No video

TCA9548A I2C Multiplexer: Use Multiple Devices with the Same Address on Arduino

  Рет қаралды 15,992

Gadget Reboot

Gadget Reboot

Күн бұрын

Пікірлер: 31
@BrianThomas
@BrianThomas 2 ай бұрын
4 year old video and it's still giving some great and relevent content. Thank you for a very straightforward explanation. I can't thank you enough.
@stevesfascinations1516
@stevesfascinations1516 4 жыл бұрын
Nice job! I had not thought about needing this, so far all my i2c are configurable or on unique addresses. Very well explained. Off to ali I go...
@GadgetReboot
@GadgetReboot 4 жыл бұрын
I had this module sitting around who knows how long, then I hard wired the address pins to a chip on a PCB and realized I should have put jumpers so I caused my own limitation when I wanted to use 2 boards together... Always good to buy random modules for those unexpected times.
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist 4 жыл бұрын
It's a nice chip, but you have to try and keep as much on the same bus as you can to keep the bus switching overhead to a minimum If you require full speed. Still it's a nice way of getting out of an conflicting address hole.
@GadgetReboot
@GadgetReboot 4 жыл бұрын
Yeah I can't imagine trying to do fast ADC or DAC things this way.
@ArjanvanVught
@ArjanvanVught 4 жыл бұрын
@@GadgetReboot For fast ADC or DAC, a high-speed DMA SPI would be the preferred protocol.
@AnotherMaker
@AnotherMaker 4 жыл бұрын
Fantastic video. I learned a ton.
@onecircuit-as
@onecircuit-as 4 жыл бұрын
Great product and nice clear explanation! 👍
@electronic7979
@electronic7979 4 жыл бұрын
Helpful video 👍
@jyvben1520
@jyvben1520 4 жыл бұрын
yeah, small oled screens are cheap enough to make e.g. a clock (1 oled = 1 char) , but some can not change i2c address, perfect. black on white = daytime high visibility probably, white on black = nighttime
@DrexProjects
@DrexProjects 4 жыл бұрын
Great video! Thanks.
@paulwoodroffe6377
@paulwoodroffe6377 2 жыл бұрын
Is there a tutorial as good as this, but deals with switches? I'm looking to have 'several' switches on a PCF8574, but connected via a TCA9548A.
@manasbuzruk7472
@manasbuzruk7472 4 жыл бұрын
The best!! Just one doubt. What is the control register address for channel selection.
@burhanuddinbhiwaniwala618
@burhanuddinbhiwaniwala618 3 жыл бұрын
Hello mam.... Begin just a beginner and have started learning very basic of arduino... I came across how we can expand are I/O pin in arduino... But i was wondering can we store the status of those pins in the eeprom of arduino... So even if power cuts the expander regain its previous state before the power cut
@GadgetReboot
@GadgetReboot 3 жыл бұрын
I've never used the EEProm but apparently there's examples here for reading and writing to it www.arduino.cc/en/Reference/EEPROM So yeah, if pin states are known like an 8 bit byte of GPIO states, that byte should easily be able to write to EEPROM using the examples and later can be read back from that location.
@burhanuddinbhiwaniwala618
@burhanuddinbhiwaniwala618 3 жыл бұрын
@@GadgetReboot oh...!!! thanku mam for your reply... Although i did not dive deep in the EEPROM functionality but i have learnt how to read and write to EEPROM.... And here with expander Ic's i thought that there would be a different way of implementing them.... As ARDUINO and ESP8266 have different ways to perform the Eeprom.... But know my concept of using Eeprom with expander Ic's is clear
@kamalhussain2977
@kamalhussain2977 4 жыл бұрын
Luv the work u r doing. I want monitor the capacity of my 14.6v valence batteries shud I use amp connector to rs485 to logic level converter to 4 module relay to arduino. And please how to connect?
@ErdosainNueve
@ErdosainNueve 3 жыл бұрын
Hi. Sorry i ask (i think you explain this but i dont understand well english, and i do not know much about electronic). Im using a tca9548a i2c with a raspberry pi zero w. I connect the tca9548a to 3.3v. and have 4 mcp23017 connected to that tca, also that mcp23017 with the same 3.3v. from the rpizero. But, i also want to connect a ht16k33 to the sda sdc of the tca9548a but, i want to connect the ht16k33 to a 5v (power from a cellphone). When i do this my program fail to execute... but if i put the ht16k33 to 3.3v works fine... so the problem here is that the tca9548a is not playing well with the different values. How i can get to work this? i mean some modules with 3.3.v and other with 5v? Thanks!!!!!
@kevinhoublon8630
@kevinhoublon8630 Жыл бұрын
Hello, I'm a beginner and I would like to know : Can I control relays with this address? Thank you in advance 😊. Cordially.
@GadgetReboot
@GadgetReboot Жыл бұрын
These are logic level control signals so some sort of relay driver would still be needed and that would be hooked up to these logic outputs. So either some sort of transistor driver or a more simple way is a driver chip like ULN2003 or ULN2803 microcontrollerslab.com/introduction-uln2803-features/
@kevinhoublon8630
@kevinhoublon8630 Жыл бұрын
@@GadgetReboot Hello, thank you very much for your feedback 😁. I'll check the link :). Have a nice weekend 😄 Kind regards 😊
@kevinhoublon8630
@kevinhoublon8630 Жыл бұрын
@@GadgetReboot Hello, I have another question : Can you use the MCP23017 (a GPIO expander : m.kzfaq.info/get/bejne/Zt95i7Fj08zccXU.html ) with the TCA9548A multiplexer? Thank you in advance for your precious support 😁. Cordially.
@rawlc.5086
@rawlc.5086 3 жыл бұрын
Hi friend, interesting device. So, could you (or some one else) please tellme if i'm getting this right? I'm trying to work with 5 GLCD SSD1306 with a pic18f4550. But this exceeds the ram's space. With this device, can i just have one single oled graphic display ssd1306 on my pic's program, and just declare 5 different variables that will define the 5 different adress to each glcd? (While connecting them to this device...) Or, i'm still having to declare the 5 GLCDs on program to recognize them? (Which is sadly not gonna help me saving ram) Thanks and Have a nice day.
@ujwaladhaimbekar5874
@ujwaladhaimbekar5874 3 жыл бұрын
Hello when I am configure TCA9548A with node mcu with temp sensor and Oximeter it's not working together but it's working on the Arduino what is problem with the node muc because same Programing is Done on the Both Board Please tell me???? it's Imp For my project
@GadgetReboot
@GadgetReboot 3 жыл бұрын
For NodeMcu, is the TCA9548 module connected to: VIN to 3.3V GND to ground SDA to D2 and SCL to D1 And is it just using the normal Wire library and not a special I2C library? Was the TCA9548 with the 2 sensors working on a different Arduino and just not NodeMcu? Are there I2C pull up resistors on both of the sensors connected to TCA9548? Each I2C bus is treated as a separate one and they all need resistors if not already on a sensor or module.
@ujwaladhaimbekar5874
@ujwaladhaimbekar5874 3 жыл бұрын
@@GadgetReboot for the Arduino mega it's working and same Programing and connection is not working on node mcu FOR NODE MCU connection is Done and I am using only wire library not using special Library for that and node muc and TCA9548A Is connected to the 3.3v vin and also using 4.7k pull up resister for the SDA And SCL pin Please give me the solution it's help me too out form this problem
@GadgetReboot
@GadgetReboot 3 жыл бұрын
@@ujwaladhaimbekar5874 The way I would try to figure it out is first eliminate anything extra to see if it's even related to TCA9548, so does it work if just one I2C sensor is directly connected to Node MCU? Also, if the sensors are powered from 5v on mega, are they also powered from 5v for Node MCU or are those on 3.3V? The TCA9548 should be powered from 3.3v but if the sensors can't run on 3.3v they can be hooked to 5v and the TCA9548 can work with 5V sensors. Maybe the sensors need 5V and you may have used 3.3v and it won't work?
@ujwaladhaimbekar5874
@ujwaladhaimbekar5874 3 жыл бұрын
@@GadgetReboot for the Arduino mega both the sensor Are operate on 3.3v and in mega also I am connected to 3.3 v only When I am interface them in Separate then it's work But when I am connected them together then only oximeter work and temp sensor not shown any reading.
@GadgetReboot
@GadgetReboot 3 жыл бұрын
@@ujwaladhaimbekar5874 It would probably be easier if there were wiring diagrams for both setups and the sketch somewhere for people to see and then maybe someone can identify something easily. Another thing that has happened to me that made no sense with Node MCU is using a different board file for it in the Arduino IDE where suddenly some things stopped working until I changed it to other versions. Right now I am using esp8266 version 2.4.2 in the Boards manager. I remember when I used newer ones, some things didn't work.
@amelliamendel131
@amelliamendel131 3 жыл бұрын
going from video to video wanting see something other than the blink sketch. My teacher gave me a big with a bunch of stuff I have 3 of these
Solving I2C Address Conflicts - TCA9548A I2C Multiplexer
24:29
DroneBot Workshop
Рет қаралды 102 М.
#148 TCA9548A I2C MULTIPLEXER (& Voltage Shifter)
38:00
Ralph S Bacon
Рет қаралды 26 М.
Little brothers couldn't stay calm when they noticed a bin lorry #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 21 МЛН
Underwater Challenge 😱
00:37
Topper Guild
Рет қаралды 41 МЛН
Matching Picture Challenge with Alfredo Larin's family! 👍
00:37
BigSchool
Рет қаралды 48 МЛН
PCF8574 I2C GPIO Expander Tutorial
19:22
Gadget Reboot
Рет қаралды 36 М.
TCA9548A i2C multiplexer
12:55
Curious Scientist
Рет қаралды 8 М.
Multiplexing Arduino Inputs: 16 Analogue Sensors on 2 Analogue Pins!
14:49
Charis Cat // Child of an Android
Рет қаралды 13 М.
TCA9548A I2C Multiplexer Module - With Arduino and NodeMCU
9:39
Crazy Couple DIY
Рет қаралды 48 М.
#20 Tutorial: Multiple Devices on One Arduino I2C Bus
7:42
Andreas Spiess
Рет қаралды 207 М.
74HC595 & 74HC165 Shift Registers with Arduino
40:38
DroneBot Workshop
Рет қаралды 397 М.
How to use millis() function to multitask in arduino code.
10:34
Mario's Ideas
Рет қаралды 60 М.
Arduino Sketch with millis() instead of delay()
14:27
Programming Electronics Academy
Рет қаралды 227 М.
Connecting Arduino with multiple I2C devices
6:22
BlueDot
Рет қаралды 191 М.