Main > Main Forum
Help with 360 wheel encoder to UHID
MartinJames:
4 hours later I am still no closer. I have a nice Ivan Iron man 4x4 which I want to convert to MAME, but cant get these darn 360's working. The uhid works fine and striking the Quad Mouse with a ground works fine. However it would seem that the encoder on the Ivan pulses 5v and the UHID just doesn't see it. Anyone have any ideas?
Thanks
BadMouth:
Need a lot more detail.
Are the pins you are using on the UHID configured for a quadrature mouse in the UHID software?
Is the UHID showing up as a mouse? (optical inputs show up as a mouse, not as a gamepad)
Where are you looking for movement? If in MAME, make sure mice are enabled, multimouse is enabled and each player is mapped to the proper mouse.
Make sure all the the wheels move the system cursor in windows before attempting to use it in MAME.
Do you have 2 or 3 wheels? If 3, you have to use a custom MAME build to get the Z axis to behave like the other two.
MartinJames:
Hey BM - thanks for the reply. Here goes.
1. Configured as Quads on X axis. Touching the configures pin with a ground repeatedly, moves the mouse cursor left in windows so I assumed its working.
2. Shows up as a game device, and 2 X HID Complaint Mice in Device manager
3. I havn't gotten passed just testing it in Windows yet. Is it usual for an encoder to pulse the 5v and not the ground?
4. its a 3 wheel cabinet, but I have enough inputs on the uhid to cover all 3 so dont need z axis.
Thanks
BadMouth:
--- Quote from: vtivti on April 24, 2013, 01:07:33 pm --- Is it usual for an encoder to pulse the 5v and not the ground?
--- End quote ---
Not unusual. The optical sensors allow the voltage to pass when light hits them.
You should have two wires pulsing 5v for each axis.
It needs both to tell which direction the wheel is turning.
EDIT: You should have four wires going to each encoder 5v, GND, Signal A & Signal B
MartinJames:
OK now im a bit more confused.
The Ivan encoders have 4 pins, according to the diagram - +5v, ground and 2 others which I assumed are left and right so to speak. - Page 13 here - http://ia600403.us.archive.org/1/items/ArcadeGameManualSuperoffroad/superoffroad.pdf
However when I connect it all together it just does nothing. Using the cabs power (it all still works) also does nothing and the 5v from the uHID is clean.
Could you explain a bit more about having to have both connected to 5v?
Thanks
Navigation
[0] Message Index
[#] Next page
Go to full version