{"product_id":"5664-adafruit-pca9546-4-channel-stemma-qt-qwiic-i2c-multiplexer","title":"Adafruit PCA9546 4-Channel STEMMA QT \/ Qwiic I2C Multiplexer TCA9546A Compatible","description":"\u003cp\u003e You just found the perfect I2C sensor, available in a handy chainable \u003ca href=\"https:\/\/learn.adafruit.com\/introducing-adafruit-stemma-qt\"\u003e\u003cstrong\u003eQwiic, or STEMMA QT\u003c\/strong\u003e\u003c\/a\u003e package, and you want to wire up two or three or four of them to your microcontroller when you realize \"Uh oh, this chip has a fixed I2C address , and from what I know about I2C, you cannot have two devices with the same address on the same SDA\/SCL pins!\" Are you out of luck? You would be, if you didn't have this ultra-cool \u003cstrong\u003eAdafruit PCA9546\u003c\/strong\u003e \u003cstrong\u003e4 Channel STEMMA QT \/ Qwiic I2C Multiplexer\u003c\/strong\u003e !\u003c\/p\u003e \u003cp\u003eFinally, a way to get up to 4 same-address I2C devices hooked up to one microcontroller - this multiplexer acts as a gatekeeper, shutting the commands to the selected I2C port with your command. \u003ca href=\"https:\/\/www.adafruit.com\/product\/5626\"\u003eIf you need to have up to 8 multiplexed devices, check out the 8-channel PCA9548 version of this board.\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e \u003cstrong\u003eIn case you're wondering why this uses the PCA9546 and not the \u003ca href=\"https:\/\/www.ti.com\/product\/TCA9546A\"\u003eTCA9546A\u003c\/a\u003e\u003c\/strong\u003e , the PCA9546 is the 'fraternal twin sister' of the TCA9546 but is easier to get during the great chip shortage of 2022. It works exactly the same, just can' t go down to 1.8V power which is OK because QT boards are 3V or 5V only anyways. \u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-tca9548a-1-to-8-i2c-multiplexer-breakout\/overview\"\u003eYou can still use any example code or library for the TCA9546 or TCA9548\u003c\/a\u003e\u003c\/p\u003e \u003cp\u003eUsing it is fairly straight-forward: the multiplexer itself is on I2C address 0x70 (but can be adjusted from 0x70 to 0x77 using jumpers on the back) and you simply write a single byte with the desired multiplexed output number to that port, and bam - any future I2C packets will get sent to that port. In theory, you could have 8 of these multiplexers on each of 0x70-0x77 addresses in order to control 4*8 = 32 of the same-I2C-addressed-part.\u003c\/p\u003e\n\u003cp\u003e The \u003cstrong\u003eAdafruit STEMMA QT \/ Qwiic PCA9546 Breakout - 4 Channel\u003c\/strong\u003e has five JST SH 1mm connectors: 1 input and 4 outputs. There's one port at the end that connects to your I2C controller (there are also breadboard breakout pins if you need them). Use this breakout to add as many I2C devices to the bus as you need. Complete with mounting holes so the board can be added to any system. A small power LED lets you know that the hub board has connectivity.\u003c\/p\u003e \u003cp\u003eThere's even an onboard 3.3V 500mA regulator, so if you're using this with a 5V microcontroller like an Arduino 328-compatible, you can level shift all the QT ports to have 3V power and logic level. Simply cut\/solder the jumper on the bottom of the PCB to change the power and logic level to be forced 3V.\u003c\/p\u003e\n\u003cp\u003e Of course, because \u003ca href=\"https:\/\/learn.adafruit.com\/introducing-adafruit-stemma-qt\"\u003eSTEMMA QT is Qwiic compatible\u003c\/a\u003e , it will \u003ca href=\"https:\/\/www.adafruit.com\/?q=stemma%20qt\"\u003ework with any and all STEMMA QT or Qwiic boards and parts we have in the Adafruit shop\u003c\/a\u003e .\u003c\/p\u003e\n\u003cp\u003e Comes with only the assembled PCB, no \u003ca href=\"http:\/\/learn.adafruit.com\/introducing-adafruit-stemma-qt\"\u003ecables or sensors included (we have tons available though!)\u003c\/a\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cimg class=\"video-insert\" alt=\"https:\/\/www.youtube.com\/embed\/o3P_cioxvnQ?start=241\" contenteditable=\"false\" allowfullscreen=\"true\" frameborder=\"0\" src=\"https:\/\/img.youtube.com\/vi\/o3P_cioxvnQ\/hqdefault.jpg\"\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cimg class=\"video-insert\" alt=\"https:\/\/www.youtube.com\/embed\/ywUm2EXn2Uc?start=358\" contenteditable=\"false\" allowfullscreen=\"true\" frameborder=\"0\" src=\"https:\/\/img.youtube.com\/vi\/ywUm2EXn2Uc\/hqdefault.jpg\"\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cimg class=\"video-insert\" alt=\"https:\/\/www.youtube.com\/embed\/6GXRRuFuFy0\" allowfullscreen=\"true\" frameborder=\"0\" tc-textcontent=\"true\" data-tc-id=\"w-0.11542141513540805\" contenteditable=\"false\" src=\"https:\/\/img.youtube.com\/vi\/6GXRRuFuFy0\/hqdefault.jpg\"\u003e\u003c\/p\u003e\n\u003cp\u003e\u003c\/p\u003e","brand":"Adafruit","offers":[{"title":"4-6 Days","offer_id":47700543013209,"sku":"ADA-5664\/B","price":5.78,"currency_code":"EUR","in_stock":true},{"title":"1 day","offer_id":47886604337497,"sku":"ADA-5664\/A","price":5.78,"currency_code":"EUR","in_stock":false},{"title":"2-4 Weeks","offer_id":47886778696025,"sku":"ADA-5664","price":5.78,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/5664-01.jpg?v=1705521923","url":"https:\/\/xernuqvalzi.pro\/en\/products\/5664-adafruit-pca9546-4-channel-stemma-qt-qwiic-i2c-multiplexer","provider":"Robot Italy","version":"1.0","type":"link"}