# BluetoothGamepad **Repository Path**: F1ang/bluetooth-gamepad ## Basic Information - **Project Name**: BluetoothGamepad - **Description**: 基于ESP32的小型酷炫蓝牙手柄 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2022-07-11 - **Last Updated**: 2022-07-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![](images/title.jpg) # 基于ESP32的蓝牙手柄 项目视频: [【开源】手柄不用摇杆也能控制小车吗?| 开源链接 | 教程网址](https://www.bilibili.com/video/BV1rU4y1g7mS?spm_id_from=333.851.dynamic.content.click) [【自制】如何制作控制 机 械 臂 的 蓝 牙 手 柄](https://www.bilibili.com/video/BV1w34y1m7bw) ## 关于硬件一些说明: ESP32芯片是双核的,所以完全可以使用freertos完成边充电显示边蓝牙遥控两个功能然后两个线程。 但是,这里有个坑,当esp32开启蓝牙功能时,ADC0就会失效了,所以若想在开启蓝牙的时候同时检测电压,需要用ADC1接口。 所以其实我的原理图是需要更改的 ## 关于各个功能对应的教程: ### 1. 手柄摇杆控制 * 参考网址: https://howtomechatronics.com/projects/diy-arduino-rc-transmitter/ * 摇杆淘宝店: 冠峰6 * 发光按键淘宝店: 熊大数码店88 ### 2. 蓝牙键盘控制 * 参考网址: https://mp.weixin.qq.com/s/W1uPAZIAVKVVjMSWPSEC4g ### 3. 陀螺仪 * 参考网址: https://howtomechatronics.com/tutorials/arduino/arduino-and-mpu6050-accelerometer-and-gyroscope-tutorial/ https://randomnerdtutorials.com/esp32-mpu-6050-accelerometer-gyroscope-arduino/#2 ### 4. ESP-NOW连接协议 * 参考网址: https://randomnerdtutorials.com/esp-now-esp32-arduino-ide/