@uci/mux
v0.1.0
Published
Class with helper and methods for using the TCA Mux chip on I2C Bus
Downloads
12
Readme
uCOMmandIt mux - An I2C TCA Multiplexer Class Extending the Bus Class
What is it
This module contains Javascript ES6 Class for the TCA Multiplexer chip.
What's it good for
Together with the UCI Bus class and UCI device class this module will allow you to connect a TCA9546A Chip/Board to you I2C bus to enable up to 4 swtichabled channels. This would in effect quadruple the number of I2C addresses There are several manufactureres who have made a simple mux board from this chip including Control Everything
Prerequisites
You'll need an I2C bus setup as described here
Getting Started
Prepare an SBC (e.g. Raspberry Pi) with an appropriate OS (e.g. Raspbian).
Connect your mux based I2C device and check that the SBC can talk to it using
i2cdetect
which is part of thei2ctools
linux package. Assuming your I2c linux device is number 1 that would besudo i2cdetect -y 1