embeded/esp322023. 11. 30. 14:19

조이스틱 한번 만들어 보고 싶어서

기존의 gear VR with controller 의 컨트롤러 처럼 무선으로 해보고 싶다 생각에

조이스틱이랑 조합을 해보려고 하니

아뿔싸 -_-!! 블루투스가 문제네? 싶어서 고민해보니

esp32에 ble / wifi가 있으니 이걸 쓰면 되겠다 싶다.

라즈베리 파이 피코 W 도 나쁜 생각은 아니지만 지금 가지고 있진 않으니..

(어짜피 esp32-cam이라서 카메라 안쓸꺼면 사야하는건 똑같네 -_-)

 

esp32 ble hid 키보드

[링크 : https://m.blog.naver.com/mapes_khkim/221878225568]

 

esp32 hid joystick. (블루투스 페어링이 되어야 한다)

[링크 : https://github.com/wolfeidau/esp32-hid-joystick]

 

 Button press (128 buttons)
 Button release (128 buttons)
 Axes movement (6 axes (configurable resolution up to 16 bit) (x, y, z, rZ, rX, rY) --> (Left Thumb X, Left Thumb Y, Right Thumb X, Right Thumb Y, Left Trigger, Right Trigger))
 2 Sliders (configurable resolution up to 16 bit) (Slider 1 and Slider 2)
 4 point of view hats (ie. d-pad plus 3 other hat switches)
 Simulation controls (rudder, throttle, accelerator, brake, steering)
 Special buttons (start, select, menu, home, back, volume up, volume down, volume mute) all disabled by default
 Configurable HID descriptor
 Configurable VID and PID values
 Configurable BLE characteristics (name, manufacturer, model number, software revision, serial number, firmware revision, hardware revision)
 Report optional battery level to host
 Uses efficient NimBLE bluetooth library
 Compatible with Windows
 Compatible with Android (Android OS maps default buttons / axes / hats slightly differently than Windows)
 Compatible with Linux (limited testing)
 Compatible with MacOS X (limited testing)
 Compatible with iOS (No - not even for accessibility switch - This is not a “Made for iPhone” (MFI) compatible device)

[링크 : https://github.com/lemmingDev/ESP32-BLE-Gamepad]

[링크 :  https://www.instructables.com/ESP32-BLE-GamePad/]

'embeded > esp32' 카테고리의 다른 글

esp32-cam lcd 달기 2  (0) 2023.11.30
esp32cam / esp wroom 32 - pinout  (0) 2023.11.30
esp32-cam에 lcd 달기  (0) 2023.11.18
xtensa lx6 instruction set  (0) 2023.03.13
esp32cam ptz 카메라 완료  (0) 2021.12.30
Posted by 구차니