Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions docs/zh-cn/ph2.0_sensors/actuators/md40/md40.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ MD40模块适用于需要高精度运动控制和多电机协同运动的应用

- 外接电源电压:6-16V

- 接 口:I2C接口和PH2.0间距接口,2pin (VIN G)的是外接电源接口,其余2pin的是直流电机接口(M0-M3),6pin (- V B A G +)的是编码电机接口(E0-E3)
- 接 口:
- 通信接口:4pin I2C
- 外接电源接口:2pin(VIN G)
- 直流电机接口:2pin(M0-M3),用于直流电机
- 编码电机接口:6pin(- V B A G +)(E0-E3),用于 AB 相霍尔式编码电机

- 连接方式:PH2.0 防反接杜邦线

Expand Down Expand Up @@ -199,12 +203,18 @@ Mind+ MD40用户库链接:<https://gitee.com/emakefun_midplus_lib/md40motor>

### ESP32 MicroPython示例程序

<a href="https://gh-proxy.com/https://github.com/emakefun-micropython-lib/em_mpy_md40/archive/refs/tags/v1.0.2.zip" download>点击下载ESP32 MicroPython示例程序</a>
<a href="https://github.com/emakefun-micropython-lib/em_mpy_md40/archive/refs/tags/v1.0.3.zip" download>点击下载ESP32 MicroPython示例程序</a>

### micro:bit MicroPython示例程序

待补充
<a href="https://github.com/emakefun-micropython-lib/em_microbit_md40/archive/refs/tags/v1.0.2.zip" download>点击下载micro:bit MicroPython示例程序</a>

## micro:bit MakeCode示例程序

**Microbit MakeCode扩展链接为**: [emakefun-makecode-extensions/emakefun_md40motor](https://github.com/emakefun-makecode-extensions/emakefun_md40motor)

[点击跳转 MD40编码电机-电机转动](https://makecode.microbit.org/_KmwTMhgF7hWz)

[点击跳转 MD40编码电机-控制转动角度](https://makecode.microbit.org/_FUxYvM8V7Kgs)

[点击跳转 MD40直流电机](https://makecode.microbit.org/_9hiUjCVXqaL2)