mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
@@ -239,6 +239,8 @@ body[data-page="ja/README.md"] #faces-kit {
|
||||
#rgb,
|
||||
#relay,
|
||||
#hub,
|
||||
#pahub,
|
||||
#pbhub,
|
||||
#_396port,
|
||||
#proto-1,
|
||||
#extio,
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 115 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 121 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 72 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 208 KiB |
+26
-18
@@ -1,13 +1,16 @@
|
||||
# Unit PaHUB {docsify-ignore-all}
|
||||
|
||||
|
||||
<img src="assets/img/product_pics/unit/pahub/pahub_p1.jpg" width="30%" height="30%"><img src="assets/img/product_pics/unit/pahub/pahub_p3.jpg" width="30%" height="30%">
|
||||
|
||||
|
||||
|
||||
:memo:**[Description](#Description)** :octocat:**[Example](#Example)** 🛒**[Purchase](https://www.aliexpress.com/store/productM5Stack-Official-NeoPixel-RGB-LEDs-Cable-SK6812-with-GROVE-Port-2m-1m-50cm-20cm-10cm/3226069_32950831315.html?spm=a2g1x.12024536.productList_5885013.pic_0)** :clapper:**[Related Video](#Related-Video)**
|
||||
=======
|
||||
<img src="assets/img/product_pics/unit/pahub/pahub_p1.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/pahub/pahub_p3.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/pahub/pahub_grove_a.png" width="30%" height="30%">
|
||||
|
||||
***
|
||||
|
||||
:memo:**[Description](#Description)** :electric_plug:**[Schematic](#Schematic)** 🛒**[Purchase](https://www.aliexpress.com/item/New-Arrival-M5Stack-Official-I2C-Hub-1-to-6-Expansion-Grove-I2C-Interface-for-Arduino-Blockly/32998974179.html?gps-id=pcStoreJustForYou&scm=1007.23125.122752.0&scm_id=1007.23125.122752.0&scm-url=1007.23125.122752.0&pvid=0cd77ea5-52b2-4aa7-856b-0dd4e43ee0d1&spm=a2g1y.12024536.smartJustForYou_39076158.12)**
|
||||
|
||||
<!-- :memo:**[Description](#Description)** :octocat:**[Example](#Example)** :electric_plug:**[Schematic](#Schematic)** 🛒**[Purchase](https://www.aliexpress.com/item/New-Arrival-M5Stack-Official-I2C-Hub-1-to-6-Expansion-Grove-I2C-Interface-for-Arduino-Blockly/32998974179.html?gps-id=pcStoreJustForYou&scm=1007.23125.122752.0&scm_id=1007.23125.122752.0&scm-url=1007.23125.122752.0&pvid=0cd77ea5-52b2-4aa7-856b-0dd4e43ee0d1&spm=a2g1y.12024536.smartJustForYou_39076158.12)** -->
|
||||
|
||||
## Description
|
||||
|
||||
**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.
|
||||
@@ -21,7 +24,9 @@ The I2C address of this unit is 0x77 (changable by resistors).
|
||||
|
||||
*Notice: Please pay attention to the channel order while programing*
|
||||
|
||||
<img src="assets/img/product_pics/unit/pahub/pahub_p2.png">
|
||||
<img src="assets/img/product_pics/unit/pahub/pahub_p2.jpg" width="30%" height="30%">
|
||||
|
||||
|
||||
|
||||
## Product Features
|
||||
|
||||
@@ -30,11 +35,21 @@ The I2C address of this unit is 0x77 (changable by resistors).
|
||||
- Nested allowed
|
||||
- 1-To-6
|
||||
|
||||
## Include
|
||||
## Kit includes
|
||||
=======
|
||||
|
||||
- 1x PaHUB Unit
|
||||
- 1x Grove Cable
|
||||
|
||||
|
||||
|
||||
## DOCUMENTS
|
||||
|
||||
|
||||
- Datasheet - **[TCA9548A](http://www.ti.com/lit/ds/symlink/tca9548a.pdf)**
|
||||
|
||||
|
||||
=======
|
||||
<!-- ## Application
|
||||
|
||||
- Fruit piano
|
||||
@@ -85,22 +100,15 @@ while (Wire.available()) {
|
||||
|
||||
<img src="assets/img/product_pics/unit/M5GO_Unit_makey_04.png" width="30%" height="30%">
|
||||
|
||||
### 2. UIFlow
|
||||
|
||||
*To get complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/Makey_NewVersion/UIFlow).*
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_example/MAKEY/example_unit_makey_02.png"> -->
|
||||
|
||||
## Schematic
|
||||
|
||||
<img src="assets/img/product_pics/unit/pahub/sch_pahub.png">
|
||||
|
||||
### PinMap
|
||||
## Driver Protocol
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>PaHUB Unit</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
- Driver firmware -
|
||||
|
||||
<!--
|
||||
<img src="assets/img/product_pics/unit/M5GO_Unit_makey_03.png" width="30%" height="30%"> -->
|
||||
- Test code -
|
||||
- protovol type - I2C
|
||||
- address - 0x77
|
||||
|
||||
+36
-15
@@ -1,20 +1,37 @@
|
||||
# Unit PbHUB {docsify-ignore-all}
|
||||
|
||||
|
||||
<img src="assets/img/product_pics/unit/pbhub/pbhub_p1.jpg" width="30%" height="30%"><img src="assets/img/product_pics/unit/pbhub/pbhub_p2.png" width="30%" height="30%">
|
||||
|
||||
***
|
||||
|
||||
:memo:**[Description](#Description)** :bulb:**[Assembly](#Assembly)** 🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-Official-Rubber-Band-Powered-Butterfly-Launcher-with-SERVO-control-and-GROVE-Cable-Adapter-Children-s/3226069_32956965036.html?spm=2114.12010615.8148356.2.486b2682Z5xogF)** :clapper:**[Related Video](#Related-Video)**
|
||||
|
||||
## DESCRIPTION
|
||||
=======
|
||||
<img src="assets/img/product_pics/unit/pbhub/pbhub_p1.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/pbhub/pbhub_p2.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/pbhub/pbhub_grove_a.png" width="30%" height="30%">
|
||||
|
||||
***
|
||||
|
||||
:memo:**[Description](#Description)** :electric_plug:**[Schematic](#Schematic)** 🛒**[Purchase](https://www.aliexpress.com/store/product/New-Arrival-M5Stack-Official-I-O-Hub-1-to-6-Expansion-Grove-I-O-Interface-for/3226069_33006652505.html?spm=2114.12010612.8148356.36.1e112c5cR01Vkh)**
|
||||
|
||||
## Description
|
||||
|
||||
**PbHUB**, is a expander for singel-bus GROVE PORTB(Black port on M5GO Base). 1-to-6. PortB can be used as GPIO and analog in two data lines connected to GPIO36 and GPIO26 on ESP32. Same as PaHUB, it provides a solution for mutiple device control by PORTB. With PbHUB each of the IO can be configurated to input, output and analog in as you like. Unfortunatly this Unit is unnested.
|
||||
It is build with a MEGA328, with a simple driver firmware inside.
|
||||
|
||||
The I2C address of this unit is 0x40(Changable by resistors).
|
||||
|
||||
|
||||
|
||||
*Notice: Please pay attention to the channel order while programing*
|
||||
|
||||
|
||||
<img src="assets/img/product_pics/unit/pbhub/pbhub_p3.jpg" width="30%" height="30%">
|
||||
|
||||
### Product Features
|
||||
|
||||
- Single-Bus GROVE PORTB Expander
|
||||
- Two Lego-compatible holes
|
||||
- 1-To-6
|
||||
|
||||
### Kit includes
|
||||
=======
|
||||
<img src="assets/img/product_pics/unit/pbhub/pbhub_p3.png">
|
||||
|
||||
## Product Features
|
||||
@@ -24,17 +41,26 @@ The I2C address of this unit is 0x40(Changable by resistors).
|
||||
- Nested allowed
|
||||
- 1-To-6
|
||||
|
||||
## Include
|
||||
|
||||
- 1x PbHUB Unit
|
||||
- 1x Grove Cable
|
||||
|
||||
|
||||
|
||||
## Schematic
|
||||
|
||||
<img src="assets/img/product_pics/unit/pbhub/pbhub_sch.jpg">
|
||||
|
||||
## Driver Protocol
|
||||
|
||||
- protovol type - I2C
|
||||
- Driver firmware - **[PbHUB](https://github.com/m5stack/PbHUB/tree/master/PortB_HUB/Firmware)**
|
||||
|
||||
- Test code - **[PbHUB](https://github.com/m5stack/PbHUB/tree/master/PortB_HUB)**
|
||||
- protovol type - I2C
|
||||
- address - 0x61
|
||||
- Set oneLED Color* : LED address(2bytes) + RGB value(3bytes)
|
||||
- Set moreLED Color* : LED start address(2bytes) + LED end address(2bytes) + RGB value(3bytes)
|
||||
-
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
@@ -63,6 +89,9 @@ The I2C address of this unit is 0x40(Changable by resistors).
|
||||
<tr>
|
||||
<td>ch5 cmd</td></td><td>A0</td><td>A1</td><td>A2</td><td>A3</td><td>A4</td><td>A5</td><td>A6</td><td>A7</td><td>A8</td><td>A9</td><td>AA</td><td>AB</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
=======
|
||||
</table>
|
||||
|
||||
## Related Link
|
||||
@@ -113,12 +142,4 @@ while (Wire.available()) {
|
||||
|
||||
<img src="assets/img/product_pics/unit/pbhub/pbhub_sch.png">
|
||||
|
||||
### PinMap
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>PbHUB Unit</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
<!--
|
||||
<img src="assets/img/product_pics/unit/M5GO_Unit_makey_03.png" width="30%" height="30%"> -->
|
||||
@@ -503,6 +503,8 @@
|
||||
## RGB
|
||||
## RELAY
|
||||
## HUB
|
||||
## PaHUB
|
||||
## PbHUB
|
||||
## 3.96Port
|
||||
## PROTO
|
||||
|
||||
@@ -534,6 +536,20 @@
|
||||
<p class="item-title" style="font-style:italic;">HUB</p>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<a href="/#/en/unit/pahub">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_pahub_p1.png">
|
||||
</a>
|
||||
<p class="item-title" style="font-style:italic;">PaHUB</p>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<a href="/#/en/unit/pbhub">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_pbhub_p1.png">
|
||||
</a>
|
||||
<p class="item-title" style="font-style:italic;">PbHUB</p>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<a href="/#/en/unit/396port">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_396port_01.png">
|
||||
|
||||
Reference in New Issue
Block a user