Skip to content

Need more I2C busses because you have fixed hex addresses for your device? You need this!

License

Notifications You must be signed in to change notification settings

ccryan/TCA9548A-I2C_MULTIPLEXER

 
 

Repository files navigation

TCA9548A I2C MULTIPLEXER

You want to use multiple fixed I2C hex addresses on your device? You need this!

LCSC China's Leading Electronic Components Distributor

More Asian Brands, Lower Prices

4 Hours Ready for Shipping

Direct link to video: https://youtu.be/LowMKYcBxNg

So you have multiple devices with the same I2C hex address but want to use them on the same bus?

Impossible! Or is it? Using this TCA9548A I2C multiplexer you can do it with no problem and minimal coding. Just one extra line of code in your Arduino sketch and you'll be able to use up to 8 devices with the same hex address.

And there's more! The devices you hang off this multiplexer can be at a different voltage to the µController voltage (which is the same voltage you will be supplying to this device). In fact, each device can be a different voltage. How's that for flexibility?

I show you exactly how to scan for your I2C devices (in case you don't know the hex address of the devices) and then show how I can update two LCD units with the same 0x3F address.

LINKS!

Some links may be affiliate links from which I earn commission or which help my channel in other ways.

TCA9548A device from Adatafruit:
UK: http://bit.ly/2WkTWYP
USA: http://bit.ly/2EQPZAn
Amazon UK: https://amzn.to/2WbCMYL
Amazon USA: https://amzn.to/2KmSr5j

TCA9548A Clone Boards (not Adafruit) at around $1 each (have a look around, many sellers, most with free shipping):
http://s.click.aliexpress.com/e/boKyTZvm
UK: https://amzn.to/2QIo6PE
USA: https://amzn.to/2JTK5m6

The bare chip for integration into your own PCB:
http://bit.ly/LCSC_TI_CHIP

Adafruit's Trinket M0 (as shown at the end of the video) for microPython:
https://www.adafruit.com/product/3500
https://amzn.to/2EOzxka

Looking for a cheap source of transistors?
200Pcs Transistor Assortment Kit BC337 BC327 2N2222 2N2907 2N3904 2N3906 and more!
http://bit.ly/Banggood_Transistor_Pack

Amazon Prime 30-day Free Trial:

What is Amazon Prime?

For an annual fee of £79, Amazon Prime members can:

  • Get unlimited, FREE One-Day Delivery on millions of items
  • Watch over 15,000 movies and TV episodes with unlimited instant streaming
  • Borrow from thousands of titles from the Kindle Owners' Lending Library
  • Secure, unlimited photo storage with anywhere access
  • Listen to over 2 million songs on Prime Music

http://bit.ly/PrimeTrial30Days

If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite journey

My channel and blog are here:
------------------------------------------------------------------
https://www.youtube.com/RalphBacon
https://ralphbacon.blog
------------------------------------------------------------------

About

Need more I2C busses because you have fixed hex addresses for your device? You need this!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%