How would I wire an LED in line with a pushbutton in my arcade stick so I can test the lag of my set-up with a high speed camera?

How would I wire an LED in line with a pushbutton in my arcade stick so I can test the lag of my set-up with a high speed camera? I would like to ensure the PCB of my controller is not damaged by the power going to the LED.

Schizophrenic Conspiracy Theorist Shirt $21.68

Homeless People Are Sexy Shirt $21.68

Schizophrenic Conspiracy Theorist Shirt $21.68

  1. 1 year ago
    Anonymous

    >TACKA TACKA TACKA TIK TIK TACKA TACKA
    >chimp noises
    Can you austists just use controllers? That arcade stick shit is so god damn noisy and obnoxious.

    • 1 year ago
      Anonymous

      They make "silent" levers and buttons now that are much quieter.

    • 1 year ago
      Anonymous

      psychotic nerd rage: the post

      games are toys, it's fine for them to feel as such in your hands

  2. 1 year ago
    Anonymous

    Some zoomer jannie is probably going to lock your thread - you might be better off asking here http://forum.arcadecontrols.com

    • 1 year ago
      Anonymous

      Why? It's directly related to video games.

      • 1 year ago
        Anonymous

        Because it's not braindead console wars, porn, or /misc/ bait and you started with something other than a reddit screencap.

        It can't be this easy can it?
        But this will feed 1.2v back into the PCB.
        Could be bad... ?

        Find out the voltage of the line through the button and get an LED that will light up off that, that way you don't need the battery and there's no risk of frying your PCB. Don't put an additional power source in there unless you're an engineer or you spend a gorillion hours learning how it works.

    • 1 year ago
      Anonymous

      Why? It's directly related to video games.

      Because it's not braindead console wars, porn, or /misc/ bait and you started with something other than a reddit screencap.
      [...]
      Find out the voltage of the line through the button and get an LED that will light up off that, that way you don't need the battery and there's no risk of frying your PCB. Don't put an additional power source in there unless you're an engineer or you spend a gorillion hours learning how it works.

      If the jannies shoah the thread, he cold maybe ask on Ganker or Ganker

  3. 1 year ago
    Anonymous

    It can't be this easy can it?
    But this will feed 1.2v back into the PCB.
    Could be bad... ?

    • 1 year ago
      Anonymous

      bro its one double AA bat, just try it

      • 1 year ago
        Anonymous

        It's $100 joystick PCB tho

        • 1 year ago
          Anonymous

          make the circuit in pspice

        • 1 year ago
          Anonymous

          If you own a soldering iron, you can just put things back to the way they are if you don't like it. Why is this an issue?

    • 1 year ago
      Anonymous

      skip the battery, use a volt meter to see what the mcirocontroller uses and a properly sized resistor

    • 1 year ago
      Anonymous

      Needs a resistor and a capacitor.

      https://i.imgur.com/mVKY6OV.jpg

      How would I wire an LED in line with a pushbutton in my arcade stick so I can test the lag of my set-up with a high speed camera? I would like to ensure the PCB of my controller is not damaged by the power going to the LED.

      Better use the universal contactless multitmeter device.
      To not frick up something.

    • 1 year ago
      Anonymous

      Electical engineer here that seems fine just add a resistor.

      • 1 year ago
        Anonymous

        Just one?
        I don't need one on both wires going back to the PCB?

        • 1 year ago
          Anonymous

          You just need one so you aren't shorting the circuit

          • 1 year ago
            Anonymous

            So this will work?

            • 1 year ago
              Anonymous

              you don't need the battery and you need the resistor between the LED and wire to PCB

              • 1 year ago
                Anonymous

                So it's just this simple?
                The LED power draw won't interfere with the PCB detecting the button press?

              • 1 year ago
                Anonymous

                depends on how the microcontroller operates but probably not

              • 1 year ago
                Anonymous

                post results

              • 1 year ago
                Anonymous

                I will once I get it going.

                I wonder if a program could somehow make the LEDs already built into most controllers be used for this kind of test.

                I have done a crude version of this using the turbo-fire LED of a controller. However, I have no way of knowing the lag between pressing a button and that turbo-fire LED lighting up.

  4. 1 year ago
    Anonymous

    Ganker might be able to help more, hooking up LEDs is a simple enough task for the hobbyists there to help you out

  5. 1 year ago
    Anonymous

    You'd need to calculate how long it takes to light up too, wouldn't work

    • 1 year ago
      Anonymous

      That time is typically measured in single digit nanoseconds, I don't think it will be a problem even for fightan autists

  6. 1 year ago
    Anonymous

    Instead of wiring it directly just put a piece of wire/metal/foil on the button hanging off it in a way that when you press down it connects wires from your battery/LED together and lights it up.

    • 1 year ago
      Anonymous

      I considered wiring one button completely separated off and only connected to the LED, and then trying to press two buttons on the controller (the LED button+a punch button) at the same time as closely as possible, but that wouldn't be nanosecond accurate like wiring the LED in series with the button would be.

      For practical purposes it would probably work tho and maybe be off by like 1-2ms.

  7. 1 year ago
    Anonymous

    I think I need to use resistors or diodes for this.
    I would need to measure the voltage coming from the wires to the buttons, then pick a resistor that can lower the voltage back down to this level when the button is pressed and the 1.2v from the battery is fed through the lines. That should protect the PCB.
    I think.

  8. 1 year ago
    Anonymous

    Is there no website that tests these sorts of things already?

    • 1 year ago
      Anonymous

      Surprisingly no. Not many tests have been done in this manner. Many years ago it was done on shoryuken.com to test the lag in the Dreamcast version of several fighting games, but that is the only time I specifically recall seeing it before.

  9. 1 year ago
    Anonymous

    go to Ganker. youll have better luck there. everyone on Ganker is moronic. most of us dont even play vidya, we just talk about it.

  10. 1 year ago
    Anonymous

    I wonder if a program could somehow make the LEDs already built into most controllers be used for this kind of test.

  11. 1 year ago
    Anonymous

    Why do you need to hook it up to the PCB at all? Just have the LED light up from the battery when you press the button, and look at the Delta time between LED and input on the screen

    • 1 year ago
      Anonymous

      soooo how do you connect it so that the LED lights up in sync with the button being pressed?

      • 1 year ago
        Anonymous

        the buttons are connected with wires you morons.

        • 1 year ago
          Anonymous

          Why do you need to hook it up to the PCB at all? Just have the LED light up from the battery when you press the button, and look at the Delta time between LED and input on the screen

          We're testing the whole system here.
          Not just the screen lag.
          So you have to run it through the PCB, which goes to the computer/console, which is running the game/emulator, which then finally runs to the monitor. This is end to end testing.

          Most monitors you can look up the kind of test you're talking about which measures only the display lag.

          • 1 year ago
            Anonymous

            wow, how specific... the world and op will forever be changed when they find out that their very specific setup has no delay perceivable by them... but just them, because nobody else has op's exact set up.
            how life changing. worth the effort. carry on.

        • 1 year ago
          Anonymous

          You still have to have the LED and button connected to something which will display a change on screen of the monitor. And all that does is measure the display lag.

  12. 1 year ago
    Anonymous

    >adding an extra resistor to your input buttons
    fricking gormless. if you have a high speed camera your homosexual ass can buy the proper tools for measuring that...
    spoiler, its fricking irrelevant, you just fricking suck.

    • 1 year ago
      Anonymous

      I think it should not matter as long as the input signal is read. And I don't think this tiny change in voltage should able to damage anything on the PCB but it would be reassuring if an EE anon said the chance was minimal.

      Of course, I will remove the LED and resistor after testing.

      • 1 year ago
        Anonymous

        you're missing the point. you're no longer measuring the delay of when you pressed the button, you're now measuring the delay of the button press and the led, along with not testing any delay after the led. you're fricking autistic. and your test is flawed while also being so beyond pointless to nanoseconds.

        • 1 year ago
          Anonymous

          I'm not sure you understand the test here.
          The LED is there to show exactly when the button is pressed while a high speed camera records both the screen and the LED at the same time.
          When the LED illuminates in the video (which will be shot at 240 frames per second) then the number of frames will be counted until action is shown on the screen (which will be compared against a known number of lag frames native to the game in question) to get the total system lag amount.

          wow, how specific... the world and op will forever be changed when they find out that their very specific setup has no delay perceivable by them... but just them, because nobody else has op's exact set up.
          how life changing. worth the effort. carry on.

          It's of use to the OP, and of interest to other people who may be using similar set-ups or would like to do their own testing.

  13. 1 year ago
    Anonymous

    Probably easier to just use a light up pushbutton.

    Also
    https://circuitdigest.com/electronic-circuits/push-button-led-circuit

  14. 1 year ago
    Anonymous

    Do not hook up an external battery to the PCB. You'll likely short to a power rail on the PCB or overdrive a GPIO pin

    • 1 year ago
      Anonymous

      Do you think there is enough voltage on the wires going to the buttons to power an LED?

      • 1 year ago
        Anonymous

        It's impossible to tell without looking at a schematic. Need to how the arcade stick is hooked up in the circuit and what the total power consumption is

  15. 1 year ago
    Anonymous

    How many anons does it take to connect a light bulb?

Leave a Reply to Anonymous Cancel reply

Your email address will not be published. Required fields are marked *