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.
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.
>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.
They make "silent" levers and buttons now that are much quieter.
psychotic nerd rage: the post
games are toys, it's fine for them to feel as such in your hands
Some zoomer jannie is probably going to lock your thread - you might be better off asking here http://forum.arcadecontrols.com
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
It can't be this easy can it?
But this will feed 1.2v back into the PCB.
Could be bad... ?
bro its one double AA bat, just try it
It's $100 joystick PCB tho
make the circuit in pspice
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?
skip the battery, use a volt meter to see what the mcirocontroller uses and a properly sized resistor
Needs a resistor and a capacitor.
Better use the universal contactless multitmeter device.
To not frick up something.
Electical engineer here that seems fine just add a resistor.
Just one?
I don't need one on both wires going back to the PCB?
You just need one so you aren't shorting the circuit
So this will work?
you don't need the battery and you need the resistor between the LED and wire to PCB
So it's just this simple?
The LED power draw won't interfere with the PCB detecting the button press?
depends on how the microcontroller operates but probably not
post results
I will once I get it going.
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.
Ganker might be able to help more, hooking up LEDs is a simple enough task for the hobbyists there to help you out
You'd need to calculate how long it takes to light up too, wouldn't work
That time is typically measured in single digit nanoseconds, I don't think it will be a problem even for fightan autists
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.
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.
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.
Is there no website that tests these sorts of things already?
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.
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.
I wonder if a program could somehow make the LEDs already built into most controllers be used for this kind of test.
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
soooo how do you connect it so that the LED lights up in sync with the button being pressed?
the buttons are connected with wires you morons.
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.
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.
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.
>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.
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.
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.
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.
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.
Probably easier to just use a light up pushbutton.
Also
https://circuitdigest.com/electronic-circuits/push-button-led-circuit
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
Do you think there is enough voltage on the wires going to the buttons to power an LED?
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
How many anons does it take to connect a light bulb?