DIY Steering Wheel for a robot: Difference between revisions
From wikiluntti
Line 3: | Line 3: | ||
=== Game Controller === | === Game Controller === | ||
<code>#include <Keyboard.h></code> | |||
Press buttons? | Press buttons? | ||
* Left | * Brake: the code presses 'down arrow' | ||
* Right | * Left arrow | ||
* Right arrow | |||
* etc | |||
=== Components === | === Components === |
Revision as of 21:45, 27 April 2025
Introduction
Game Controller
#include <Keyboard.h>
Press buttons?
- Brake: the code presses 'down arrow'
- Left arrow
- Right arrow
- etc
Components
Rotary encoder
Steering ratio
The inner & outer wheel to turn 35 and 30 degrees respectively
Steering ratio
- motorcycles and bicycles 1:1
- most passenger cars between 12 and 20:1
- F1 between 180deg to 270deg to a turn??
Angle
- Drift cars are 900 and 1080 I believe. (Reddit)
- 900 is pretty much around what on a real car.