https://github.com/zegervdv/ps2-controller
Use PS2 controller for drones
https://github.com/zegervdv/ps2-controller
Last synced: about 1 year ago
JSON representation
Use PS2 controller for drones
- Host: GitHub
- URL: https://github.com/zegervdv/ps2-controller
- Owner: zegervdv
- Created: 2014-09-17T17:09:41.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-07-11T09:49:21.000Z (almost 11 years ago)
- Last Synced: 2025-03-26T20:09:58.404Z (about 1 year ago)
- Language: C
- Homepage:
- Size: 8.48 MB
- Stars: 1
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PS2 Controller
Sample joystick positions with STM32F072B and send over serial to
[STM-Quadcopter](http://github.com/zegervdv/STM-Quadcopter)
## Wiring
| PS2 colour | Button | Pin | HID byte |
| ---------- | ------ | --- | -------- |
| Yellow | RX | PA1 | 1 |
| Blue | RY | PA0 | 0 |
| Brown | RZ | PC5 | 4 [0] |
| Green | LX | PA5 | 3 |
| Purple | LY | PA4 | 2 |
| Orange | LZ | PC4 | 4 [1] |