產品說明21
CJMCU- 9548 TCA9548A 1-to-8 I2C 8路I2C 多路擴展板模塊開發板
描述
你只是找到了完美的I2C傳感器,並且希望當你意識到“嗯哦,這個芯片有一個固定的I2C地址,從我了解的I2C要連接兩個或三個或更多的人到你的Arduino,你不能有兩個設備與同一SDA / SCL引腳相同的地址“!你的運氣?你會,如果你沒有這個超爽CJMCU- 9548 1至8 I2C多路復用器!
最後一種方式來獲得最高迷上了一個微控制器8相同地址的I2C器件 - 該多充當看門人,穿梭的命令在命令中選擇一組I2C引腳。
使用它是相當直接的:多路復用器本身是I2C地址0x70(但可以從0x70到0x77進行調整),您只需編寫與所需的多路輸出號到該端口,然後咣單字節 - 任何未來的I2C數據包將被發送到該端口。在理論上,可以有在每個0x70-0x77地址這些多路復用器8中,以控制同一-I2C尋址部分64。
像所有Adafruit的突破,我們把突破這個漂亮的芯片你,讓你可以使用它與電容和上拉和下拉實驗電路板,使使用一個單元。一些頭是必需的,一旦焊接你可以將它插入一個無焊,麵包板。芯片本身是3V和5V兼容,所以你可以用任何邏輯電平使用它。
DESCRIPTION
You just found the perfect I2C sensor, and you want to wire up two or three or more of them to your Arduino 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 CJMCU-9548 1-to-8 I2C multiplexer!
Finally, a way to get up to 8 same-address I2C devices hooked up to one microcontroller - this multiplexer acts as a gatekeeper, shuttling the commands to the selected set of I2C pins with your command.
Using it is fairly straight-forward: the multiplexer itself is on I2C address 0x70 (but can be adjusted from 0x70 to 0x77) 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 64 of the same-I2C-addressed-part.
Like all Adafruit breakouts, we put this nice chip on a breakout for you so you can use it on a breadboard with capacitors, and pullups and pulldowns to make usage a snap. Some header is required and once soldered in you can plug it into a solderless-breadboard. The chip itself is 3V and 5V compliant so you can use it with any logic level.