Clubsport and CSR Elite Pedals Handbrake DIY Info

Discussion in 'Sim Racing Hardware' started by mrbasher, Apr 12, 2013.

  1. mrbasher

    mrbasher Premium

    Messages:
    1,358
    Location:
    United States
    Please don't quote this entire block on this topic, it will just make a big mess of things. ;)

    I am providing this information to help prevent you from releasing the magic smoke from your expensive equipment. However, what you do with the info that follows is done at your own risk. I take no responsibility for your actions, that is your job.

    I have been asked on occasion to provide a cable with which someone can connect a SFA1 or FL2 adapter to the handbrake port on a set of Clubsport or CSR Pedals. I have done this several times now. On one occasion I provided a few cables that would allow a person to use their Fanatec sequential shifter as the handbrake. (digital on/off) As well, I have seen many people ask just what the connector is, etc. There seems to be some mystery surrounding just what the handbrake port on the PCB can do... As well, not every CSP PCB has this port... So before you get your hopes up, you should check.

    Well, the connector that fits is called a JST ZH style. These can be purchased very cheaply, along with the crimp terminals that go in the plug. The problem lies in the necessity for a tool to crimp the terminals onto the wires. This tool is at minimum, $54 US. That makes for a pretty expensive cable for a DIY project.

    I am going to put more details in here as I go along, but for now I will go over some of the basics.

    What does the port do?

    I have seen some misinformation about this board that needs clearing up...

    The handbrake port is recognized as ANALOG in the Forza series of games. So if you connect a pot to the handbrake port and turn it, the handbrake is variable from 0 to 100 percent.

    The handbrake port is recognized by Windows. However, it does not show up on the Fanatec properties page. This does not matter... If you go into a game, you can map it to something.

    Connector - (plugs into board):

    Rather than bothering with giving you the model number of the connector, etc. Pre-made cable assemblies with connectors attached are available via Ebay, just search for JST ZH 4 and you will find some. You need 4 pin connectors! I will search for some others places.

    [​IMG]

    Connector on the CSP Board:
    (not my photo, just grabbed from google and added the pin numbers for reference)
    [​IMG]

    The pin connections are as such:
    1 - Positive 3.3v
    2 - Signal into the board
    3 - Ground
    Leave the 4th pin disconnected...

    The handbrake port reads an increase in voltage on pin 3 as an increase in handbrake level. This is different from the other ports on the board. For example, if you connected pin 1 directly to pin 2, that would give 100% handbrake.

    Examples:
    (using quotes on these just for the sake of separation)


    More info to follow, I just wanted to get this up here as a start... I will edit to add more later. The format of the above is probably subject to change as I add info as well. I may end up moving this to my website later.
     
    Last edited: Apr 14, 2013
  2. Publicsafety

    Publicsafety

    Messages:
    136
    Location:
    Canada
    Good job mrbasher. And from everyone... Thank you.
     
  3. ibuycheap

    ibuycheap

    Messages:
    354
    Very nice. I never knew the handbrake connector was detected by windows I thought a driver update was required so that always stopped me from bothering to finish my handbrake.

    Now the next step is figuring out a good way to connect the potentiometer to my s2000 handbrake.
     
  4. mrbasher

    mrbasher Premium

    Messages:
    1,358
    Location:
    United States
    Yep :) If you use a program like Logitech's diview, you will see the axis listed there and can watch it move around.
     
  5. ibuycheap

    ibuycheap

    Messages:
    354
  6. mrbasher

    mrbasher Premium

    Messages:
    1,358
    Location:
    United States
    Don't order from that site. I removed it from the OP. I didn't realize it was Singapore only or something.

    The ebay listing you linked is exactly what you want. :D Wow, 10 sets! Pass them out as stocking stuffers lol
     
  7. ibuycheap

    ibuycheap

    Messages:
    354
    Awesome, now I can make 10 handbrakes lol.

    Do you have recommendation on what potentiometer range to use? What do the pedals use?
     
  8. mrbasher

    mrbasher Premium

    Messages:
    1,358
    Location:
    United States
    Likely 10K ohm, linear taper.
     
  9. mrbasher

    mrbasher Premium

    Messages:
    1,358
    Location:
    United States
    OP updated with hydraulic handbrake example.
     
  10. LogiForce

    LogiForce Premium

    Messages:
    4,076
    Location:
    Netherlands
    Also any hydraulic brake light switch would do, which just means connecting leads 1 and 2. At least in theory from what you're saying, Basher. ;)

    Demon-Tweeks: http://www.demon-tweeks.co.uk/motor...ies/demon-tweeks-hydraulic-brake-light-switch



    Also for anyone who starts on hydraulic gear. There are a LOT of different types of screw thread for these systems, with either a convex or concave end on them. So be sure to match your piping and our steelbraided hose fittings to match. ;)
    Also for piping you will need a flaring tool like a "Midlock 7203 (imperial)" or "Midlock 7204 (metric)". Mine was around 70 euros I think, bought in a local car parts shop.
     
  11. mrbasher

    mrbasher Premium

    Messages:
    1,358
    Location:
    United States
    The switch should work but I think that would only be ON/OFF... Though I'm not sure. Since the input on the CSP will accept the full range analog signal, it would seem a better idea to use it. :)

    I will be adding an on/off switch example as well. It's not as simple as connecting pin 1 to pin 2 (on the CSP)
     
  12. LogiForce

    LogiForce Premium

    Messages:
    4,076
    Location:
    Netherlands
    Hrm... here I thought it would be. Or at least pin 1 and 3.
    Cause what happens instead of having (basically) a potmeter in between that goes from 0 to 5V, this switch would either just let the 5V through or not (hence its named a switch).

    I have one of these kind of switches here, which I wanted to eventually make switchable (with an ON/OFF/ON toggle switch) between an analog pressure transducer and that switch. This so I can use it however I wanted to on a per game basis.
     
  13. Encity5

    Encity5

    Messages:
    16
  14. mrbasher

    mrbasher Premium

    Messages:
    1,358
    Location:
    United States
    You are correct and it would technically work, but there is a catch which I had planned on outlining in the OP example when it's posted:

    You need to place a pull-down resistor (10K should work fine) between pin 2 (signal) and pin 3 (ground) when using a switch type circuit. The reason for this is that if left "floating", pin 2 is subject to all manner of noise, etc. It's floating until the switch is closed and not guaranteed to be at 0 at rest. Placing a pull-down resistor between it and ground ensures this. :)

    I did this for someone hear that asked me to make them a cable to make their Fanatec sequential shifter act as the handbrake. There's slightly more to that one as well and I will explain it when the time comes.

    So in your circuit with the on/off/on switch, you will want to cut the pull-down stuff out completely when it's switched off. Otherwise it will cause issues with your pot measurements.
     
  15. LeMansAid

    LeMansAid

    Messages:
    2,797
    This is great stuff, and I will be implementing on some level for sure. Thanks for sharing.
     
  16. RacerXX

    RacerXX

    Messages:
    577
    Location:
    United States
    I made my Fana-Sequential shifter an on/off handbrake long ago by wiring to the B button. It's nice for rally where a quick/brief yank is all you do at times. This was back before I had the Elite wheel and CSV2 pedals. I have to find the time (hard) but I plan to use an affordable drift hydro e-brake, hall sensor (~2 dollars) and wire into the CSV2 pedals to have a continuously adjustable e-brake. You can mount those like on a normal sports car, or vertically near the steering wheel as some of the local drifters do by me. At times I will just on/off yank it anyway though.
     
  17. LogiForce

    LogiForce Premium

    Messages:
    4,076
    Location:
    Netherlands
    So something like this I guess?
    I guess it would be the same if I did this on my Arduino Uno board.

    [​IMG]
     
  18. mrbasher

    mrbasher Premium

    Messages:
    1,358
    Location:
    United States
    Logi,

    That won't work. Ideally you would use a 2P2T switch (dual pole, dual throw) and completely separate the two sensors depending on the state of the switch.. BUT... This would probably work if you had to use it (it meaning, the switch you pictured):

    [​IMG]
     
    Last edited: Apr 15, 2013
  19. LogiForce

    LogiForce Premium

    Messages:
    4,076
    Location:
    Netherlands
    How's that one different from what I drew?

    Oh and I just remembered it's better to just pick a 1P2T (On/On toggle switch).

    The reason I don't use a 2P2T is because I don't want any conflicting inputs into the logic of the circuit board. Using 2P2T would mean that both the pressure switch and the pressure transducer would send a signal into the board, meaning it would always send 5V and thus cancelling out the transducer's work.

    Anyways, I am taking over your thread with this stuff. Sorry :scared:
     
  20. mrbasher

    mrbasher Premium

    Messages:
    1,358
    Location:
    United States
    Logi, it's not problem. That's what the thread is for :)

    There are a few differences in the circuit I posted and yours. Take a look again, here is your drawing modified to match the circuit I posted. Remember the pin order: 1 3.3v, 2 Singal, 3 Ground

    [​IMG]

    As for the 2P2T switch. What you'd do there is switch ground and signal... If you'd like I can draw that for you.
     
  21. mrbasher

    mrbasher Premium

    Messages:
    1,358
    Location:
    United States
  22. LogiForce

    LogiForce Premium

    Messages:
    4,076
    Location:
    Netherlands
    Ah, I totally missed that. Well, it must be bed time at 5am for a reason. lol

    Ground and signal? I can see how it needs to wire up. Though I think I would love to hear (as an electrics newbie) the reason for doing this, feel free to draw it up to explain it clearly for the rest too though.
     
  23. mrbasher

    mrbasher Premium

    Messages:
    1,358
    Location:
    United States
    Here is it switching the ground and signal:
    [​IMG]

    The reason for this is that is removes the pull-down resistor from the circuit when it's not being used. While it only has a slight impact on how the circuit works, it's best to just remove it from the circuit. You'd think it's already removed without doing this, but it's not. The reason is that if both the transducer and switch are connected to the brake line, at a certain point, the pressure switch will activate, connecting the + half of the pressure transducer to the pull-down. This increases the resistance of that half of the transducer. (think of the transducer like a pot)

    All that said... It's really not worth the effort in this case to use a 2P2T switch. They cost quite a bit more anyhow and it increases the complexity. Just use the circuit I redid (on your drawing). The worst that would happen is you may have slightly non-linear output from the handbrake.
     
    Last edited: Apr 15, 2013
  24. ibuycheap

    ibuycheap

    Messages:
    354
    Now that there is a cheap source of load cells how do you wire those for handbrake usage?
     
  25. Mars Attacks

    Mars Attacks

    Messages:
    338
    Location:
    Greece
    I'm interested too!:idea:
     
  26. mrbasher

    mrbasher Premium

    Messages:
    1,358
    Location:
    United States
    I have a better idea for you, if you want to make a handbrake using a load cell... :)

    First off, using a real load cell is ideal due to linearity. This little guy seems like it would do the trick nicely: http://www.robotshop.com/productinfo.aspx?pc=RB-Phi-120&lang=en-US

    Then you need a load cell amp. You can get one from Derek Speare or Leo Bodnar. I don't think Leo has them in stock right now... So DSD ;)

    You need the connectors I listed previously of course, they can be found on ebay.

    There is one catch to this... I believe the handbrake input on the board is "inverted" Though I have a fix for that as well. (no, it's not simply reversing the wires)

    I will double check that this weekend and post up the info on how to do this using either a stain gauge from a scale (like those on the clubsports) or the linked load cell. :)
     
  27. ibuycheap

    ibuycheap

    Messages:
    354
    I already built the handbrake setup with the half bridge at the end so I look forward to your guide for wiring that.

    I looked at DSD's page and $27 plus a 3 week wait doesn't excite me. I think I will try using the ad620 as amp.
     
  28. mrbasher

    mrbasher Premium

    Messages:
    1,358
    Location:
    United States
    I see. Well if you have the facilities to get set up using that instrumentation amp, there's no reason to buy one premade :)

    Here's all you need to do:

    [​IMG]

    In the above:
    R1 and R2 should be 1K resistors
    The strain gauge replaces R3 and R4

    In order to determine how to wire the strain gauge, do the following with a multi-meter:

    Measure the resistance between two of the wires on the strain gauge.
    - If the resistance is 2k, you have found the "outer" two wires. The wire you are not touching is the "center wire." This corresponds to the point where R3 and R4 above meet. This wire will connect to the + (input) on your ad620.

    - If the resistance is 1K, try another combination of leads to wires until you get a reading of 2K, then see above ^^^.

    Vex in the drawing above is just the incoming voltage to the strain gauge. Vo is the voltage going out to the ad620.

    When I have a moment I will draw the wiring diagram, that will be much simpler to follow. You should be able to put all of this on a breadboard without too much trouble.
     
  29. eKretz

    eKretz

    Messages:
    1,598
    Location:
    United States
    Heh, I got 4 of those load cells from a Wii balance board I scrapped. Nice!
     
  30. HoiHman

    HoiHman

    Messages:
    1,166
    Location:
    Netherlands
    I bought a couple (8 actually :)) of loadcells on ebay, they should be the same ones that go into the Fanatec clubsport pedals.

    http://www.ebay.com/itm/Weighing-Se...H_DefaultDomain_0&hash=item27d1be06e5&afsrc=1
    There is a topic about this on this forum

    I'm really looking forward to a detailed guide how to use one of them and connect it to my HB and wire it to the board of my CSPv2.

    That would make me a happy man MrBasher :)