mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
Merge pull request #68 from Gitshaoxiang/master
add Pa/b HUB screw GoPlus CN
This commit is contained in:
@@ -143,6 +143,7 @@
|
||||
## PLUS
|
||||
## USB
|
||||
## BUS
|
||||
## GoPlus
|
||||
|
||||
**拓展模块**
|
||||
|
||||
@@ -181,6 +182,14 @@
|
||||
<p class="item-title" style="font-style:italic;">BUS</p>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<a href="/#/zh_CN/module/goplus">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/module_goplus_p1.png">
|
||||
</a>
|
||||
<p class="item-title" style="font-style:italic;">GoPlus</p>
|
||||
</div>
|
||||
|
||||
|
||||
## STEPMOTOR
|
||||
## SERVO
|
||||
## LEGO+
|
||||
@@ -495,6 +504,8 @@
|
||||
## RGB
|
||||
## RELAY
|
||||
## HUB
|
||||
## PaHUB
|
||||
## PbHUB
|
||||
## 3.96Port
|
||||
## PROTO
|
||||
|
||||
@@ -526,6 +537,20 @@
|
||||
<p class="item-title" style="font-style:italic;">HUB</p>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<a href="/#/zh_CN/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="/#/zh_CN/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="/#/zh_CN/unit/396port">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_396port_01.png">
|
||||
@@ -687,6 +712,7 @@
|
||||
|
||||
## Grove-T
|
||||
## Grove Cable
|
||||
## SCREW
|
||||
## USB Downloader
|
||||
|
||||
<div class="item">
|
||||
@@ -703,6 +729,13 @@
|
||||
<p class="item-title" style="font-style:italic;">Grove Cable</p>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<a href="/#/zh_CN/accessory/screw">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/accessory/screw_p1.png">
|
||||
</a>
|
||||
<p class="item-title" style="font-style:italic;">SCREW</p>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<a href="/#/zh_CN/tool/usb_downloader">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/tool/usb_downloader_01.png">
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
# Accessory SCREW {docsify-ignore-all}
|
||||
|
||||
<img src="assets/img/product_pics/accessory/screw/screw_p1.png" width="30%" height="30%">
|
||||
|
||||
<img src="assets/img/product_pics/accessory/screw/screw_p2.png" width="30%" height="30%">
|
||||
|
||||
***
|
||||
|
||||
:memo:**[Description](#Description)** 🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-Official-New-8-PCS-M3-12-18-25-32-Screw-With-Allen-Key-For-Arduino/3226069_33006277625.html?spm=2114.12010615.8148356.2.aba627e0xBFVVt)**
|
||||
|
||||
## 描述
|
||||
|
||||
**SCREW** 是一款M5Stack螺丝工具套件.在实际使用M5Core等硬件的时候,可能会遇到需要拆解、堆叠、拓展等需求.时常还会面临着螺丝丢失、长度不合适、没有合适的拆解工具等尴尬处境.使用SCREW工具套件则能够帮你解决这些问题.套件内配备4种不同长度的M3螺丝,和一个相匹配的内六角扳手,能够应对一般的拆解安装操作.
|
||||
|
||||
<img src="assets/img/product_pics/accessory/screw/screw_p3.png" width="30%" height="30%">
|
||||
|
||||
### 产品特性
|
||||
|
||||
- 规格:
|
||||
- 2x M3-12
|
||||
- 2x M3-18
|
||||
- 2x M3-25
|
||||
- 2x M3-32
|
||||
- 1x 内六角扳手
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
# Module GoPlus {docsify-ignore-all}
|
||||
|
||||
<img src="assets/img/product_pics/module/goplus/goplus_p1.jpg" width="30%" height="30%"> <img src="assets/img/product_pics/module/goplus/goplus_p2.jpg" width="30%" height="30%">
|
||||
|
||||
***
|
||||
|
||||
:memo:**[Description](#Description)** :electric_plug:**[Schematic](#Schematic)** 🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-New-Arrival-GOPLUS-Module-with-MEGA328P-IR-Transmitter-and-Receiver-suit-for-ESP32-Kit/3226069_33010785963.html?spm=2114.12010615.8148356.1.a8747842tJJMRu)** :octocat:**[Code](#Code)**
|
||||
|
||||
<!-- :memo:**[Description](#Description)** :octocat:**[Example](#Example)** :electric_plug:**[Schematic](#Schematic)** 🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-New-Arrival-PLUS-Module-Encoder-Module-with-MEGA328P-500mAh-Battery-ISP-IR-Transmitter-UART-GPIO/3226069_32949278724.html?spm=a2g1x.12024536.productList_5885013.pic_1)**-->
|
||||
|
||||
## 描述
|
||||
|
||||
**GoPlus** 是M5Stack堆叠模块系列中的一款,功能增强型模块.集成**MEGA328P**与**LV8548MC**电机驱动芯片.整合Module、Units功能(SERVO,PbHUB,IR).
|
||||
|
||||
配备2通道直流电机驱动、4通道舵机驱动接口、红外收发器、3个扩展端口B(GPIO端口).具备多种功能特性,能够帮助你快速搭建功能强大的电机应用.
|
||||
|
||||
<img src="assets/img/product_pics/module/goplus/goplus_p3.jpg" width="30%" height="30%"><img src="assets/img/product_pics/module/goplus/goplus_p4.jpg" width="30%" height="30%">
|
||||
|
||||
|
||||
通信协议:IIC(0x61).
|
||||
|
||||
### 产品特性
|
||||
|
||||
- 2x 直流电机驱动通道
|
||||
- 4x 舵机驱动通道
|
||||
- IR 发射 & 接收
|
||||
- 3x 拓展 PORT B
|
||||
- MEGA328P
|
||||
- LV8548MC
|
||||
|
||||
### 套件清单
|
||||
|
||||
- 1x M5Stack GoPlus Module
|
||||
|
||||
## 原理图
|
||||
|
||||
<img src="assets/img/product_pics/module/goplus/goplus_sch.jpg">
|
||||
|
||||
## 参考文档
|
||||
|
||||
**- 数据手册 - **[LV8548MC](https://www.onsemi.cn/PowerSolutions/document/ANDLV8548MC-D.PDF)**
|
||||
|
||||
|
||||
### 驱动协议
|
||||
|
||||
- 驱动固件 - **[GoPlus](https://github.com/m5stack/GoPlus/tree/master/src)**
|
||||
- 测试程序 - **[GoPlus](https://github.com/m5stack/GoPlus/tree/master/test)**
|
||||
@@ -0,0 +1,52 @@
|
||||
# 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)** :electric_plug:**[Schematic](#Schematic)** 🛒**[Purchase](https://www.aliexpress.com/store/product/New-Arrival-M5Stack-Official-I2C-Hub-1-to-6-Expansion-Grove-I2C-Interface-for-Arduino-Blockly/3226069_32998974179.html?spm=2114.12010615.8148356.1.2bf2a1134Jsams)** :octocat:**[Code](#Code)**
|
||||
|
||||
|
||||
## 描述
|
||||
|
||||
**PaHUB**, 是一款 I2C GROVE PORTA 扩展器.能够将单路 I2C GROBE 接口拓展至六路,并且允许挂载相同I2C地址的从设备.
|
||||
|
||||
内部集成**TCA9548A**-I2C多路复用器,配有8个可通过I2C总线控制的双向转换开关.串行时钟/串行数据(SCL /SDA)上行对可扩展为8个下行对或通道.根据可编程控制寄存器的内容,可选择任一单独SCn /SDn通道或者通道组合.
|
||||
|
||||
支持多层 Unit 嵌套,这意味着你可以将PaHUB连接到PaHUB上以获得更多的I2C从设备接口.(例:将7个Unit进行连接,将获得36个**I2C**接口,且在主控仅仅占用了一个GROVE端口)当你的项目需要挂载多个I2C设备或存在I2C地址冲突时,PaHUB Unit 是完美解决方案.
|
||||
|
||||
该 Unit 的 I2C 地址为0x77(可通过调整电阻进行更改).
|
||||
|
||||
*注意:编程时请注意通道顺序*
|
||||
|
||||
<img src="assets/img/product_pics/unit/pahub/pahub_p2.jpg" width="30%" height="30%">
|
||||
|
||||
|
||||
|
||||
### 产品特性
|
||||
|
||||
- I2C GROVE PORTA 拓展
|
||||
- 2x LEGO 兼容孔
|
||||
- 允许多个嵌套
|
||||
- 1-6 拓展
|
||||
|
||||
## 原理图
|
||||
|
||||
<img src="assets/img/product_pics/unit/pahub/pahub_sch.png">
|
||||
|
||||
### 套件清单
|
||||
|
||||
- 1x PaHUB Unit
|
||||
- 1x Grove 线
|
||||
|
||||
|
||||
## 参考文档
|
||||
|
||||
- 数据手册 - **[TCA9548A](http://www.ti.com/lit/ds/symlink/tca9548a.pdf)**
|
||||
|
||||
|
||||
## Code
|
||||
|
||||
- 通讯类型 - I2C
|
||||
- 地址 - 0x77
|
||||
@@ -0,0 +1,80 @@
|
||||
# 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)** :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.12010615.8148356.5.2bf2a113olu0DY)** :octocat:**[Code](#Code)**
|
||||
|
||||
## 描述
|
||||
|
||||
**PbHUB**, 是一款 GPIO GROVE PORTB 扩展器,能够将单路 GPIO GROBE 接口拓展至六路.内部集成MEGA328,且搭载驱动程序.不支持多 Unit 嵌套,这意味着无法像**PaHUB[link]**一样挂载多个相同协议、地址的设备.
|
||||
|
||||
Port B 中的两条数据总线与ESP32的**GPIO36**和**GPIO26**连接,可根据需求编程配置多个端口的输入(支持模拟输入)、输出.
|
||||
|
||||
对于使用电平控制或是模拟值输入的项目,PbHUB 是一个不错的多设备控制的解决方案.
|
||||
|
||||
该 Unit 的 I2C 地址为0x40(可通过调整电阻进行更改).
|
||||
|
||||
*注意:编程时请注意通道顺序*
|
||||
|
||||
|
||||
<img src="assets/img/product_pics/unit/pbhub/pbhub_p3.jpg" width="30%" height="30%">
|
||||
|
||||
## 产品特性
|
||||
|
||||
- GPIO GROVE PORTB 拓展
|
||||
- 2x LEGO 兼容孔
|
||||
- 1-6 拓展
|
||||
|
||||
|
||||
### 套件清单
|
||||
|
||||
- 1x PbHUB Unit
|
||||
- 1x Grove 线
|
||||
|
||||
|
||||
|
||||
## 原理图
|
||||
|
||||
<img src="assets/img/product_pics/unit/pbhub/pbhub_sch.jpg">
|
||||
|
||||
### 驱动协议
|
||||
|
||||
- 驱动固件 - **[PbHUB](https://github.com/m5stack/PbHUB/tree/master/PortB_HUB/Firmware)**
|
||||
- 测试程序 - **[PbHUB](https://github.com/m5stack/PbHUB/tree/master/PortB_HUB)**
|
||||
- 通讯协议 - I2C
|
||||
- I2C地址 - 0x61
|
||||
- Set oneLED Color* : LED 地址(2bytes) + RGB 值(3bytes)
|
||||
- Set moreLED Color* : LED 起始地址(2bytes) + LED 结束地址(2bytes) + RGB 值(3bytes)
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>state</td><td>IO0 Digital Write</td><td>IO1 Digital Write</td><td>IO0 Analog Write</td><td>IO1 Analog Write</td><td>IO0 Digital Read</td><td>IO1 Digital Read</td><td>IO0 Analog Read</td><td>reserve</td><td>Set Neopixle Num</td><td>Set oneLED Color*</td><td>Set moreLED Color*</td><td>Set Brightness</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>r/w</td></td></td><td>w</td><td>w</td><td>w</td><td>w</td><td>r</td><td>r</td><td>r</td><td>r</td><td>w</td><td>w</td><td>w</td><td>w</td></tr>
|
||||
<tr>
|
||||
<td>data length (Byte)</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>2</td><td>/</td><td>2</td><td>5</td><td>7</td><td>1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ch0 cmd</td></td><td>40</td><td>41</td><td>42</td><td>43</td><td>44</td><td>45</td><td>46</td><td>47</td><td>48</td><td>49</td><td>4A</td><td>4B</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ch1 cmd</td></td><td>50</td><td>51</td><td>52</td><td>53</td><td>54</td><td>55</td><td>56</td><td>57</td><td>58</td><td>59</td><td>5A</td><td>5B</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ch2 cmd</td></td><td>60</td><td>61</td><td>62</td><td>63</td><td>64</td><td>65</td><td>46</td><td>67</td><td>68</td><td>69</td><td>6A</td><td>6B</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ch3 cmd</td></td><td>70</td><td>71</td><td>72</td><td>73</td><td>74</td><td>75</td><td>76</td><td>77</td><td>78</td><td>79</td><td>7A</td><td>7B</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ch4 cmd</td></td><td>80</td><td>81</td><td>82</td><td>83</td><td>84</td><td>85</td><td>86</td><td>87</td><td>88</td><td>89</td><td>8A</td><td>8B</td>
|
||||
</tr>
|
||||
<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>
|
||||
Reference in New Issue
Block a user