Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation updates #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ 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.
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.

See the [documentation](documentation) for wiring diagram and examples.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions documentation/AS5600_adapter_board/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
AS5600
------
This implementation uses an [AS5600](https://ams.com/en/AS5600) adaptor [board](https://ams.com/as5600adapterboard) to replace the Hall Effect sensor on the Fanatec CSPV1.

The AS5600 chip has analog, PWM and I2C outputs. ArduinoTec-Pedals supports the analog interface.

The AS5600 provides 12bit resolution over the entirety of its 360 degree range. Alternately, it can be programmed to provide the full resolution over a smaller angle of rotation. See the [datasheet](https://ams.com/documents/20143/36005/AS5600_DS000365_5-00.pdf) for programming and other details.

Bracket
-------
A 3D printed bracket is used to mount the adaptor board to the ClubSport V1 pedal:

- [pdf file](he_bracket.pdf)
- [FreeCad file](he_bracket.FCStd)
- [STL file](he_bracket.stl)

Here is a [picture](AS5600_mounted.jpg) of the board and adapter mounted

Notes
-----
- The screws to attach the adapter to the pedal make contact with the adapter board. A dremel or file can be used to remove some of the PCB material at those two points.
- The adapter board comes with straight headers. These may need to be replaced with right angle headers to fit in available space between the throttle pedal and the frame.
- The picture shows the I2C interface being used. The analog interface had too much noise for me. Using the I2C interface required modifications to ArduinoTec-Pedals.
Binary file not shown.
Binary file added documentation/AS5600_adapter_board/he_bracket.pdf
Binary file not shown.
Binary file not shown.
File renamed without changes
File renamed without changes
3 changes: 3 additions & 0 deletions documentation/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

- [Circuit diagram](Circuit%20Diagram.PNG) indicating how to wire Arduino, sensors and vibration motor. Here is a [picture](IMG_20191006_190339238.jpg) of the implementation.
- Another example implementation using [AS5600 adapter board](AS5600_adapter_board).