DIY Steering Wheel for a robot: Difference between revisions
From wikiluntti
(Created page with "== Introduction == === 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??") |
|||
(27 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
=== Intro === | |||
Steering wheel; | |||
* Force feedback | |||
* Stall torque is important | |||
* vJoyIOFeederWithFFB https://github.com/njz3/vJoyIOFeederWithFFB | |||
[[Arduino Canbus Dashboard|Dashboard]] | |||
* Speed | |||
* RPM | |||
* Temp | |||
* Fuel | |||
Pedals (mimic the feeling/ feedback of a braking system; abs pumps, decreasing vibration/ movement etc.) | |||
* Gas | |||
* Brake | |||
* See Simucube Active Pedals https://simucube.com/activepedal-category/ | |||
Sequential shifter | |||
* Hall sensor | |||
Hand break | |||
* Hall sensor | |||
=== Game Controller === | |||
'''ESP32''' | |||
* https://github.com/lemmingDev/ESP32-BLE-Gamepad | |||
* https://www.instructables.com/ESP32-BLE-GamePad/ | |||
'''Arduino''' | |||
USB HID (human interface device class) | |||
* USB Host Library 2.0. | |||
** Compatible with Arduino Due only | |||
''' Some Libraries''' | |||
* Arduino Joystick Library 2.0 | |||
** Arduino Leonardo or Micro? Will not work with Uno. | |||
** X, Y, and/or Z Axis (up to 16-bit precision); X, Y, and/or Z Axis Rotation (up to 16-bit precision), etc | |||
* UnoJoy https://github.com/AlanChatham/UnoJoy https://www.youtube.com/watch?v=Rq2QivBzshs | |||
** DFU mode (Device Firmware Update). | |||
* Arduino XInput Libraries https://github.com/dmadison/ArduinoXInput_AVR | |||
** the functionality of an Xbox controller. | |||
* PS2 library, eg Arduino-PS2X (?) | |||
'''Simple keyboard method''' | |||
<code>#include <Keyboard.h></code> | |||
Press buttons? | |||
* Brake: the code presses 'down arrow' | |||
* Left arrow | |||
* Right arrow | |||
* etc | |||
=== Components === | |||
* Optical rotary pulse encoder; 600 ppr (pulse per revolution), 100 ppr. | |||
* Incremental encoder (TLE5010/AS5600) | |||
Force Feedback Motor | |||
* An old drill motor: powerful (but not for long use), planetary gearbox to increase torque. | |||
* a brushless motor or a stepper with direct drive (not a geared motor). Absolute encoder. | |||
* RFR Wheel Configuration | |||
* a DC motor | |||
* MY1016 motor (24V 300W) | |||
* Hoverboard motor | |||
=== Steering ratio === | === Steering ratio === | ||
Line 9: | Line 84: | ||
* most passenger cars between 12 and 20:1 | * most passenger cars between 12 and 20:1 | ||
* F1 between 180deg to 270deg to a turn?? | * 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. | |||
900 deg: https://www.youtube.com/watch?v=OD7MRSHHSPQ | |||
== Theory == | |||
== Building One == | |||
== References == | |||
AFFBWheel (Arduino Force Feedback Wheel) | |||
https://www.xsimulator.net/community/threads/designing-an-arduino-leonardo-force-feedback-wheel.14705/ | |||
* | |||
https://www.xsimulator.net/community/threads/cousin-of-osw-open-sim-wheel.10915/ | |||
https://x-sim.de/forum/viewtopic.php?f=40&t=2035 | |||
* | |||
FFBeast https://ffbeast.github.io/docs/en/wheel.html | |||
* Huge amount of information overload! |
Latest revision as of 21:55, 4 May 2025
Introduction
Intro
Steering wheel;
- Force feedback
- Stall torque is important
- vJoyIOFeederWithFFB https://github.com/njz3/vJoyIOFeederWithFFB
- Speed
- RPM
- Temp
- Fuel
Pedals (mimic the feeling/ feedback of a braking system; abs pumps, decreasing vibration/ movement etc.)
- Gas
- Brake
- See Simucube Active Pedals https://simucube.com/activepedal-category/
Sequential shifter
- Hall sensor
Hand break
- Hall sensor
Game Controller
ESP32
Arduino
USB HID (human interface device class)
- USB Host Library 2.0.
- Compatible with Arduino Due only
Some Libraries
- Arduino Joystick Library 2.0
- Arduino Leonardo or Micro? Will not work with Uno.
- X, Y, and/or Z Axis (up to 16-bit precision); X, Y, and/or Z Axis Rotation (up to 16-bit precision), etc
- UnoJoy https://github.com/AlanChatham/UnoJoy https://www.youtube.com/watch?v=Rq2QivBzshs
- DFU mode (Device Firmware Update).
- Arduino XInput Libraries https://github.com/dmadison/ArduinoXInput_AVR
- the functionality of an Xbox controller.
- PS2 library, eg Arduino-PS2X (?)
Simple keyboard method
#include <Keyboard.h>
Press buttons?
- Brake: the code presses 'down arrow'
- Left arrow
- Right arrow
- etc
Components
- Optical rotary pulse encoder; 600 ppr (pulse per revolution), 100 ppr.
- Incremental encoder (TLE5010/AS5600)
Force Feedback Motor
- An old drill motor: powerful (but not for long use), planetary gearbox to increase torque.
- a brushless motor or a stepper with direct drive (not a geared motor). Absolute encoder.
- RFR Wheel Configuration
- a DC motor
- MY1016 motor (24V 300W)
- Hoverboard motor
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.
900 deg: https://www.youtube.com/watch?v=OD7MRSHHSPQ
Theory
Building One
References
AFFBWheel (Arduino Force Feedback Wheel)
https://www.xsimulator.net/community/threads/cousin-of-osw-open-sim-wheel.10915/
https://x-sim.de/forum/viewtopic.php?f=40&t=2035
FFBeast https://ffbeast.github.io/docs/en/wheel.html
- Huge amount of information overload!