Main > Main Forum

I Created a pretty realistic 720 Controller

<< < (6/7) > >>

CKebz:
Thank you so much for the very detailed information. I'm starting to get it.
Yes, I do have a multi-meter and it's showing the voltage you said it should.

As far as the sensor goes, based on what you wrote, I think I'll keep these ones and just deal with the smaller gap size.

The last thing I need to figure out is how to wire the sensor into the X-arcade board. I read over the FAQ and the diagrams you provided. I just dont get how the optic sensor can be swapped in to a button. Can you help me understand how I might use the wires from a button I dont use on the X-arcade, that are already mapped to a button function, for the optic sensor?

My thought is since its already wired into the x-arcade board and mapped as a button. Could I just replace the actual button with the optic sensor. Can I splice into it? Would the GND wire from the sensor splice into the ground daisy chain of the button I dont use? Would the VCC wire from the sensor splice into the active wire in the button I dont use? Or I do I need to do something totally different?

I read somewhere that I can splice into a button only if it has three prongs. All my buttons have 2 prongs. Would a possible solution be to get a three prong button, swap that into where my current centering button is, and splice the optical sensor into it?

And really, thanks for your help. If you have a Venmo or CashApp Id be happy to send you a few bucks for helping me out.



PL1:

--- Quote from: CKebz on March 18, 2025, 11:39:56 am ---As far as the sensor goes, based on what you wrote, I think I'll keep these ones and just deal with the smaller gap size.

--- End quote ---
I hope you can pull it off.


--- Quote from: CKebz on March 18, 2025, 11:39:56 am ---The last thing I need to figure out is how to wire the sensor into the X-arcade board. I read over the FAQ and the diagrams you provided. I just dont get how the optic sensor can be swapped in to a button. Can you help me understand how I might use the wires from a button I dont use on the X-arcade, that are already mapped to a button function, for the optic sensor?

--- End quote ---
The sensor works like a microswitch -- it applies ground to an input port to trigger the desired output.
- Ground is the same.
- Encoder input wire is the same.
- The two differences are 5v to power the sensor LED/transistor and a different type of connector (Dupont vs. QD) on some connections.




--- Quote from: CKebz on March 18, 2025, 11:39:56 am ---My thought is since its already wired into the x-arcade board and mapped as a button. Could I just replace the actual button with the optic sensor. Can I splice into it? Would the GND wire from the sensor splice into the ground daisy chain of the button I dont use? Would the VCC wire from the sensor splice into the active wire in the button I dont use? Or I do I need to do something totally different?

--- End quote ---
For this application, you can wire the sensor in parallel with the button so you can either press the button or block the sensor to trigger the encoder output.  You might want to use a button like P2B8 that is almost never used to keep it from accidently messing with gameplay during other games.

Get ground from the daisy chain.
- Use an extender or Y-splitter if needed.

Get 5v from the spinner opto 5v wire.  It should have no problem providing the needed current.
- It should be the red wire, but it never hurts to confirm before proceeding.
- If possible, pull the opto 5v wire from the encoder connector and insert a Y-splitter.
- If not, cut the middle of the wire, strip/tin the cut ends, and use a single euro-style terminal to splice in a female Dupont jumper to that 5v line like the third terminal below splices a current limiting resistor into a 5v line.




--- Quote from: CKebz on March 18, 2025, 11:39:56 am ---I read somewhere that I can splice into a button only if it has three prongs. All my buttons have 2 prongs. Would a possible solution be to get a three prong button, swap that into where my current centering button is, and splice the optical sensor into it?

--- End quote ---
You can use a Y-splitter to wire two inputs together.
- Substitute whatever connector(s) you need.  i.e. Male QD, Female Dupont, etc.
- This trick will not work with an optical (mouse) encoder input that decodes quadrature waveforms (i.e. a spinner/trackball axis), but it will work for microswitch style button presses.




Scott

CKebz:
Ok, I think I'm ready to start wiring this. Looks like I'll splice into 3 wires? Can you take a look at the diagram and let me know if it looks correct. I would want to splice into the button in the pic.

In the picture, the blue looks to be the ground and the white is the input.

In the diagram the black is the ground and the blue is the input. 

PL1:

--- Quote from: CKebz on March 19, 2025, 12:16:57 pm ---let me know if it looks correct.

--- End quote ---
It does.   :cheers:


Scott

CKebz:
I wired everything in and it works like a charm, bro you are the man!
Now I just need to print the disc, attach it to the spinner shaft, and mount the sensor. Feel like I'm very close to the finish line. Couldnt have done this without your knowledge.

Completed wiring:
https://youtube.com/shorts/DUW_Wee-5Cs

Button test in 720 (centering skater):
https://youtube.com/shorts/d3SrySGOwzE

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version