#148 TCA9548A I2C MULTIPLEXER (& Voltage Shifter)
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
Shop: https://lcsc.com/?href=arduinoelectronics&source=referral
So you have multiple devices with the same I2C hex address but want to use them on the same bus?
All this information plus MORE at my GitHub:
https://github.com/RalphBacon/TCA9548A-I2C_MULTIPLEXER
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
------------------------------------------------------------------
Видео #148 TCA9548A I2C MULTIPLEXER (& Voltage Shifter) канала Ralph S Bacon
LCSC China's Leading Electronic Components Distributor
More Asian Brands, Lower Prices
4 Hours Ready for Shipping
Shop: https://lcsc.com/?href=arduinoelectronics&source=referral
So you have multiple devices with the same I2C hex address but want to use them on the same bus?
All this information plus MORE at my GitHub:
https://github.com/RalphBacon/TCA9548A-I2C_MULTIPLEXER
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
------------------------------------------------------------------
Видео #148 TCA9548A I2C MULTIPLEXER (& Voltage Shifter) канала Ralph S Bacon
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
#48 Wireless 433Mhz Rain Receiver with MP3 player and LCD#51 Easy Xmas Project Idea (& Product Updates)#58 Strange Third Hand - and other tools for Arduino projects#67 Vibration and other switches for your Arduino#17 Ultrasonic HC-SR04 for your Arduino (Easy!)#77 Forget buttons - use Infra Red! VS1838B first look#7 USB Powerbank special - DIY kit with 18650 Li-ion batteries Part 2#57 Xmas Tree Project - Completed#54 Wireless 433Mhz Rain Receiver (Completed)#264 ESP32 World🕑Clock and Reminder🎗️Project (Assembly Stage)#8 Simple Demo of Binary Coded Decimal (BCD) for Real Time Clocks (such as the DS3231 and DS1307)#47 Arduino related components - Part 2#165 From Schematic to PCB - Part 2: Designing and Ordering the PCB ✅#250 Intel Core-i5 12600K PC Upgrade, 32Gb, 3Tb SSDs 🎉🥳What did I buy?#90 When GOOD 😇 components go BAD 👿#249 🎈7-Segment LED Digit Multiplexing with fewer GPIO pins#214 Battery-powered 🔋 Arduino-controlled nRF24L01+ transceiver project (part 1)#117 Bare Bones 💀 Arduino (make your own)#217 Auto Transformer ⚡ Variac for motor control - silent control 👍#122 Raspberry Pi 3B+ Auto Restart (using an Arduino)#177 ATTiny13 Fridge Door Alarm Challenge? Pass or Fail?