To confirm that this part fits your vehicle, please enter your vehicle's details below.
- Clear All
Show all compatible vehicles
PaHUB, is a expander for I2C GROVE PORTA(red port on M5Core). 1-to-6. If you want connect mutiple I2C slave devices and some of them may sharing the same address, this unit can resolve I2C address conflicts.
At the Unit PaHUB's heart is an TCA9548A produced by TI. The TCA9548A device has eight bidirectional translating switches that can be controlled through the I2C bus. The SCL/SDA upstream pair fans out to downstream pairs, or channels. Any individual SCn/SDn channel or combination of channels can beselected, determined by the contents of the programmable control register.
Technically this Unit allows mutiple levels of nesting, for example you can wire PaHUBs to the root PaHUB to get more seats for your I2C slave devices, if you have 7 of them you can have up to 36 I2C GROVE ports, which makes it easier to get your project more organized.
The I2C address of this unit is 0x70 (changable by resistors).
Notice: Please pay attention to the channel order while programing
- I2C GROVE PORTA Expander
- Two Le go-compatible holes
- Nested allowed
- Product Size: 48.2mm x 24.2mm x 11mm
- Product weight: 6.7g
The connections of the I2C data path are controlled by the same I2C master device that is switched tocommunicate with multiple I2C slaves. After the successful acknowledgment of the slave address (hardwareselectable by A0, A1, and A2 pins), a single 8-bit control register is written to or read from to determine the selected channels.
Functional Block Diagram
- 1x PaHUB Unit
- 1x Grove Cable
- Datasheet – TCA9548A
- protovol type – I2C
- address – 0x70
<blockquote style="box-sizing: border-box; font-size: 16px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none; margin: 2em 0px; overflow: visible; padding: 1.5em; border-width: var(–blockquote-border-width, 0); border-style: var(–blockquote-border-style); border-color: var(–blockquote-border-color); border-radius: var(–blockquote-border-radius); background: var(–blockquote-background); color: rgb(33, 37, 41); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; quotes: "
1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed.
2.After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click "Burn" to start burning. (For M5StickC burning, please Set the baud rate to 750000 or 115200)
3. Currently EasyLoader is only suitable for Windows operating system, compatible with M5 system adopts ESP32 as the control core host. Before installing for M5Core, you need to install CP210X driver (you do not need to install with M5StickC as controller)Click here to view the driver installation tutorial
The code below is incomplete. To get complete code, please click here.