Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Solving I2C Address Conflicts - TCA9548A I2C Multiplexer

Автор: DroneBot Workshop

Загружено: 2020-02-04

Просмотров: 118606

Описание:

Today we will resolve a common problem - what to do when two of your sensors or displays have the same I2C address?

Article with code - https://dronebotworkshop.com/multiple...
More articles and projects - https://dronebotworkshop.com
Join everyone on the forum - https://forum.dronebotworkshop.com
get the newsletter - https://dronebotworkshop.com/subscribe/

I’ve covered the I2C bus in several previous videos, and today we’ll take another look at it. This time I’ll show you how to resolve a common problem - what to do if you need to use two identical sensors or displays that have the same, unalterable, I2C address?

The answer is pretty simple, you implement an additional I2C bus. And you can do this a couple of different ways.

The first way is through software. By using an alternative to the Arduino Wire Library you can implement more than one I2C bus on your Arduino, and you aren’t restricted to using pins A4 and A5.

But software solutions have their drawbacks, and my preferred way of doing this is using hardware.

The Adafruit TCA9548A MI2C Multiplexer Module is perfect for the job. You can use it to add up to 8 additional I2C buses to your Arduino, and you can use up to eight modules for a whopping 64 extra I2C buses!

I’ll restrict myself to one module today. And I’ll use it to drive two identical I2C OLED displays that have a fixed I2C address. I'll build a temperature and humidity meter and send temperature to one display, humidity to the other.

Here is what I have in store for you today:

I2C Address Conflicts - 1:32
Software Solutions - 3:37
TCA9548A I2C Multiplexer - 8:31
Two OLED Demo - 11:52
Bonus Feature - 20:43



So let’s become mediators and end I2C address conflicts once and for all!

Solving I2C Address Conflicts - TCA9548A I2C Multiplexer

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

#148 TCA9548A I2C MULTIPLEXER (& Voltage Shifter)

#148 TCA9548A I2C MULTIPLEXER (& Voltage Shifter)

Measuring Temperature with Arduino - 5 Sensors

Measuring Temperature with Arduino - 5 Sensors

Разработка простой аналоговой бас-бочки с нуля

Разработка простой аналоговой бас-бочки с нуля

I2C Part 1 - Using 2 Arduinos

I2C Part 1 - Using 2 Arduinos

Electronics Basics

Electronics Basics

I2C Part 2 - Build a I2C Sensor

I2C Part 2 - Build a I2C Sensor

TCA9548A i2C multiplexer

TCA9548A i2C multiplexer

LD2410C Human Presence Sensor

LD2410C Human Presence Sensor

Connecting Arduino with multiple I2C devices

Connecting Arduino with multiple I2C devices

Arduino Multiplexor - MUX INPUTS & OUTPUTS - ANALOG and PWM

Arduino Multiplexor - MUX INPUTS & OUTPUTS - ANALOG and PWM

Arduino IDE 2.0 - Testing Release Candidate 3

Arduino IDE 2.0 - Testing Release Candidate 3

Basics of I2C on Linux - Luca Ceresoli, Bootlin

Basics of I2C on Linux - Luca Ceresoli, Bootlin

WiFiManager с ESP32 — хватит жестко кодировать учетные данные WiFi!

WiFiManager с ESP32 — хватит жестко кодировать учетные данные WiFi!

Understanding Arduino Interrupts | Hardware, Pin Change & Timer Interrupts

Understanding Arduino Interrupts | Hardware, Pin Change & Timer Interrupts

The Windows 11 Disaster That's Killing Microsoft

The Windows 11 Disaster That's Killing Microsoft

060 - Введение в коммуникацию STM32F1 I2C и настройка периферийных устройств с нуля + Анализ сигн...

060 - Введение в коммуникацию STM32F1 I2C и настройка периферийных устройств с нуля + Анализ сигн...

Модуль мультиплексора I2C TCA9548A — с Arduino и NodeMCU

Модуль мультиплексора I2C TCA9548A — с Arduino и NodeMCU

Lesson 76: Using  one or more VL6180X 20cm Time-of-Flight proximity sensor with Arduino - RJT372

Lesson 76: Using one or more VL6180X 20cm Time-of-Flight proximity sensor with Arduino - RJT372

Getting Started with LIDAR

Getting Started with LIDAR

How to use two I2C modules that have the same address?

How to use two I2C modules that have the same address?

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com