Announcement

Collapse
No announcement yet.

carpcjoycon - Custom Buttons

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • carpcjoycon - Custom Buttons

    Hi all

    Im looking to make some custom buttons to go with my carpc joycon (As my steering wheel control control the obc)

    Im just double checking, but I think I need to make a resistor ladder like so:


    ---------------------------------- > to car pc joycon
    | | | |
    r1 r2 r3 r4
    sw sw sw sw
    | | | |
    ----------------------------------> to other wire of carpcjoycon


    Can anybody confirm that this is the right way to wire things, google is being mysterious on the subject

    Many thanks in advance.

    ---------- Post added at 12:11 AM ---------- Previous post was at 12:08 AM ----------

    Its meant to look like

    Code:
    ---------------------------------- > to car pc joycon
    |         |      |      |
    r1       r2      r3    r4
    sw       sw     sw     sw
    |        |       |       |
    ----------------------------------> to other wire of carpcjoycon

  • #2
    Pretty much, but I'd add another resistor perminently across the two rails. It should have a higher restistance than all the switched restistors obviously.

    That way you can tell the difference between no buttons pressed and open circuit (i.e. a break in your wires or the unit not being connected).

    Comment


    • #3
      I just ordered one EXR model it comes with a 6 button test board. How do you plan on producing one? I need a 20 button board but have no clue how to make one. I understand the basic concept, button and a resistor. But where do you purchase the PCB and resistor and how do you go about creating a trace? or is there an easier method?
      2008 350z GT Installed since April 22nd 2011 - Worklog
      2000 Protege Installed Since April 2, 2005 - Intel D201GLY|Fusion Brain|ODBPros ODBII|Engenius|GPS Rikaline|Powermate|Motorized Lilli
      Sound Stage
      Eclipse|MTX|Infinity

      Comment


      • #4
        I'm looking at doing the same. I have a bunch of physical buttons I'm looking to map to keystrokes.

        mundungus. When you suggest another resistor do you mean like so? Also can you recommend a resistor size range?

        Code:
        |
        r1
        sw
        r2
        |

        Comment


        • #5
          Sorry, I'm just gonna backtrack a little and ask a bit more about what you (all) are trying to do.

          I thought you meant you were making a steering wheel stalk, as that's what you'd drawn.

          Usually a stalk will have up to about 6 buttons. It works as a basic potential divider and is read by an A to D converter. You arrange the resistor values such that the voltage you put on the A to D converter pin is spaced out (in terms of voltage between your supply and ground) equally for each button pressed, no buttons pressed and open circuit.

          For 20 buttons, although you could go down the route of a few resistive ladders and a few A to D ports, typically for this number of buttons you’d use a row and column switch matrix, and have your micro put a pulse down each row, and read each column per pulse, and from that determine which buttons are pressed.

          So just to get a bit more info on your idea(s), how many buttons are we talking about? And how do you plan to interface your buttons to your system?

          Comment


          • #6
            I went out today and bought the bits and made the switches.

            Basically I have a carpc joycon interface I used on my last car to interface with the steering wheel controls, as my new car needs these controls to interface withe obc, I decided to make a seperate set of switches to control track fwd/back etc.

            I wired all the switches up with a different resistance and all works well. I will get some pics up shortly to show how it came out.

            Comment


            • #7
              Oh cool, I'd not seen that joycon thing before, in that case stick to your original schematic and forget the additional resistor I mentioned. I'd guess the joycon thing has it built in.

              Comment


              • #8
                Originally posted by alexanderfoti View Post
                I went out today and bought the bits and made the switches.

                Basically I have a carpc joycon interface I used on my last car to interface with the steering wheel controls, as my new car needs these controls to interface withe obc, I decided to make a seperate set of switches to control track fwd/back etc.

                I wired all the switches up with a different resistance and all works well. I will get some pics up shortly to show how it came out.
                Any update mate. Curious how you have it setup.

                Comment


                • #9
                  Dont worry, havent forgotten, just a bit engrossed in my new bike project!

                  Will get some pics up asap!

                  Comment

                  Working...
                  X