# ext-yfrobot-ps2uart **Repository Path**: yfrobot/ext-yfrobot-ps2uart ## Basic Information - **Project Name**: ext-yfrobot-ps2uart - **Description**: Library for YFROBOT PS2UART Module, interfacing with PS2 controllers via UART. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-10 - **Last Updated**: 2026-02-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # YFROBOT PS2UART遥控手柄 ![](./arduinoC/_images/featured.png) --------------------------------------------------------- ## 简介 Introduction 本扩展库为Mind+软件设计。 支持YFROBOT PS2UART遥控手柄,用于通过 UART 串行通信连接 PS2 手柄。该库支持多种 Arduino 兼容板,包括 Arduino UNO 和 ESP32 系列,提供丰富的 API 用于读取按钮状态、摇杆值、发送震动命令等功能。 ## 相关链接 Links * 本项目加载链接: https://gitee.com/yfrobot/ext-yfrobot-ps2uart * 产品购买链接: [YFROBOT商城](https://www.yfrobot.com/)、[YFROBOT淘宝商城](https://item.taobao.com/item.htm?id=45752634610). ## 积木列表 Blocks ![](./arduinoC/_images/blocks.png) ## 示例程序 Examples ![](./arduinoC/_images/example.png) UNO 硬件串口 ![](./arduinoC/example/PS2UART_UNO_硬串口.png) ESP32系列 串口 ![](./arduinoC/example/PS2UART_ESP32_硬串口.png) MEGA2560 串口 ![](./arduinoC/example/PS2UART_mega2560_软串口.png) ![](./arduinoC/example/PS2UART_mega2560_硬串口.png) ## 许可证 License MIT ## 硬件支持列表 Hardware Support 主板型号 | 实时模式 | ArduinoC | MicroPython | 备注 ------------------ | :----------: | :----------: | :---------: | ----- Arduino UNO | | 测试OK | | 掌控板 | | 未测试 | | ESP32 | | 未测试 | | MicroBit | | 未测试 | | ## 更新日志 Release Note * V0.0.5 新增硬件串口支持,UNO软串口情况下与Servo库冲突;20260207。 * V0.0.4 修复左右摇杆反向错误;20260129。 * V0.0.3 更新图标,颜色;20251127。 * V0.0.2 修复数据不稳定BUG,锁定波特率至9600,稳定;20251122。 * V0.0.1 手柄串口模块初版,基本功能,测试通过,20251110。 ## 联系我们 Contact Us * https://pjfcckenlt.feishu.cn/wiki/Eee1wg38piFqHIk9scNc2P1fnMx ## 其他扩展库 Other extension libraries * https://pjfcckenlt.feishu.cn/wiki/X8dVwXvtkiwwrLko9Bkc2JEAnxc ## 参考 Reference Resources