juanmcasillas / Fanashifter

How to connect shifters (sequential or H-shaped) on Fanatec Wheel bases. Tested with a sequential shifter on CSL elite 1.1. Also the 3D models for the Levers and electronics are provided.
GNU General Public License v3.0
20 stars 2 forks source link

Adapter for pedals #1

Open HighPriest opened 1 year ago

HighPriest commented 1 year ago

I want to work on an adapter to connect custom pedals. According to online sources, it should be straight forward voltage divider circuit with each pedal on it's own RJ12 Pin. I have tried such a connection, but with negative results.

Maybe reverse engineering the original CSL Adapter would help. The one I have seems unnecessarily complex for what it does. I assume the MCU from Microchip was placed there to handle USB.

Here are some pictures for future reference IMG_20230119_162243__01 IMG_20230119_162319__01 IMG_20230119_162326 IMG_20230119_162248

juanmcasillas commented 1 year ago

Hello,

Thanks for the photos. Pedals (axis) doesn't work in the same way as buttons referenced here: https://github.com/juanmcasillas/Fanashifter in this case, I use the shifter_2 port, that maps the shifter, that is build as as switch box if you use the sequential mode. In case you use the H shaped, the system works as a resistor ladder.

In the case of custom pedals ... I guess each axis is mapped as a pot value. I tested the VCC value (for the shifter) and gives 3.3V.

In the case of handbrake:

(extracted from here: https://www.racedepartment.com/threads/fanatec-handbrake-pinout.183920/)

Signal | 3.5MM Jack = Sleeve | RJ12 = Pin 2 +5V | 3.5MM Jack = Ring | RJ12 = Pin 1 Ground | 3.5MM Jack = Tip | RJ12 = Pin 5 + 6

[image: image.png]

In this post, you have a wiring to connect the older pedals to a CSL, and you get what lines you need:

https://forum.fanatec.com/discussion/25870/old-clubsport-v1-pedals-csl-elite-wheelbase-ps2-rj12-adapter-cable

[image: image.png]

Here you have an arduino mapping to the pedals. https://forum.arduino.cc/t/arduino-xinput/675842/3

In my humble opinion, it's best to connect the pedals as a different USB device. Yes, you have one more usb ... but it's easy and works with all the wheels :-)

Hope I help you. If you need more help, I'll glad to help you

Cheers,

Juan M. Casillas

On Thu, Jan 19, 2023 at 4:32 PM Marek Towarek @.***> wrote:

I want to work on an adapter to connect custom pedals. According to online sources, it should be straight forward voltage divider circuit with each pedal on it's own RJ12 Pin. I have tried such a connection, but with negative results.

Maybe reverse engineering the original CSL Adapter would help, but it seems unnecessarily complex for what it does. I assume the MCU from Microchip was placed there to handle USB.

Here are some pictures for future reference [image: IMG_20230119_16224301] https://user-images.githubusercontent.com/58490197/213483631-0a33b123-a7d9-4fd8-9504-70ba3e5efaf1.jpg [image: IMG_20230119_16231901] https://user-images.githubusercontent.com/58490197/213483697-db4e1093-b64d-4cd4-8d14-dbb465f93d0a.jpg [image: IMG_20230119_162326] https://user-images.githubusercontent.com/58490197/213483823-746f05cc-8107-47e4-8607-f39f4b6bac16.jpg [image: IMG_20230119_162248] https://user-images.githubusercontent.com/58490197/213484043-5a014aab-b3cb-497b-8f80-b4b06026fd04.jpg

— Reply to this email directly, view it on GitHub https://github.com/juanmcasillas/Fanashifter/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5G4WVJHJI46QBBP5WYAWLWTFNCJANCNFSM6AAAAAAUAPIHN4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

HighPriest commented 1 year ago

I have tried it once again. Turns out that what gentlemen in the thread on Fanatec are doing, are just swapping the connector on Fanatec Clubsport v1 pedals. These v1 pedals also have a Microcontroller which functions as an intermediate between the pedals and the wheelbase. There has to be some more elaborate communication than potential difference happening between the pedals and the wheelbase.

Although, I have tried shorting one signal pin to 5V and a 100% input showed up on the calibration screen. I would need a whole electro lab to figure this stuff out. At least an oscilloscope, to see what the fanatec pedals microcontroller outputs.

Someone has tried this with Logitech and the answer is "Does not work"