Skip to content

Arduino Leonardo project to mod Fanatec CSP V1 Pedals to replace the fanatec controller board

License

Notifications You must be signed in to change notification settings

john-/ArduinoTec-Pedals

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArduinoTec-Pedals

This project uses a Arduino Leonardo, Pro Micro or Teensy to replace the controller board of the Fanatec CSPV1. This is based on the https://github.com/MHeironimus/ArduinoJoystickLibrary library created by Matthew Heironimus See the Circuit diagram for the wiring layout.

In addition to this you would need:

  1. Arduino Leonardo (https://store.arduino.cc/usa/leonardo) or Pro Micro 5v 16mhz (https://www.sparkfun.com/products/12640)
  2. a small breadboard or Arduino Shield (available on ebay and similar to the one shown at https://www.adafruit.com/product/51)to place it on if you don't want to solder the cables onto the board directly
  3. Connectors if you want to be able to connect the load cells and HE sensors via a connector block
  4. 1 load cell amp( existing fanatec one can be reused). I'used the Leo Bodnar LC Amplifier (http://www.leobodnar.com/shop/index.php?main_page=product_info&cPath=73&products_id=199). You can also re-use the existing one from the Fanatec Pedals(recommended), or use a hx711. The original LC amp is already correctly set, but the Leobodnar and HX711 will need to be configured in a half bridge mode, I added a 1k Ohm resistor across the input and GND(not 5V).
  5. For the Vibration Motor I used a 2N3638 PNP Transistor rated to 25v to assist in driving the motor from the power source, controlled via the pwm on the Ardiuno. .
  6. I re-used the Fanatec Hall Effect sensors as mine were still in good working order. If you do want to use another sensor, ensure it is a linear sensor with Analog output that can sense the distance of the magnet/and field variation. Do not use arduino ones as they one sense on/off and not field variation. Connect the items as per the diagram, write the code to the Arduino, plug into the USB, calibrate via driver calibration screen, and you are ready to race.

Tuning notes:

  1. The fixed position of the stock magnet may make it difficult to determine where to place the replacement Hall Effect sensor. Another magnet will confirm the HE sensor is working as expected. Depending on the sensor used it may help to rotate it 90 degrees.
  2. When determining the location of the HE sensor it helps to use reusable adhesive (e.g. Blu-Tack:registered:) to temporarily affix it. Depending on sensor packaging it should be electrically isolated to avoid contact with the metal pedal. This could be done with cardboard or some other material.
  3. Alternate magnet and HE sensor locations can be considered. For example: a magnet moved to the bottom of the pedal and HE sensor affixed to the frame. This would be similar to how the Thrustmaster T-LCM pedals work. Another approach would be to place magnet and HE sensor so they are inline at either end of the compression spring.

About

Arduino Leonardo project to mod Fanatec CSP V1 Pedals to replace the fanatec controller board

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.0%
  • C 3.0%