Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: tony.silveira on October 17, 2013, 12:33:52 am

Title: u-hid and pedals, having issues
Post by: tony.silveira on October 17, 2013, 12:33:52 am
hey guys,

loving my u-hid, i did a complete rewiring of my panel and think this board is brilliant.  i am having some issues with some pedals i'm trying to add and i am 100% confident that i'm not smart enough to figure this out.  i have two sets of identical pedals, for P1 and P2.  i have them wired up as such:

P1 gas (red, black, white)
P1 brake (red, black, green)
P1 pedals share the red and black which i have wired to the u-hid on a 5v and ground pin respectively.  white and green are each wired to two different pins on the u-hid, set up as axis 5 (slider) and axis 7 (slider).  when i check the game device properties to test, gas is the Y rotation and brake is the slider.  P1 pedals behaving perfectly, great!

P2 gas (red, black, white)
P2 brake (red, black, green)
P1 pedals share the red and black which i have wired to the u-hid on the same 5v and ground pin that P1 pedals are wired to.  white and green are each wired to two different pins on the u-hid, set up as axis 4 (slider) and axis 6 (slider).  now here is the issue, when i check the game control properties. the brake pedal is fine, controlling only the X rotation.  but the gas pedal is affecting the X and Y rotations, the slider and also the Z rotation slightly.

i'm thinking it's because i am sharing the 5v/ground between both pedal sets but am not sure why that would cause this issue.

pedals make my head hurt
Title: Re: u-hid and pedals, having issues
Post by: PL1 on October 17, 2013, 02:51:38 am
Pretty much certain that sharing the 5v/ground isn't the problem.

Just to verify, you do have the 5v + ground on tabs 1 + 3 (or 3 + 1 to move the opposite direction) and the wiper (green or white) on tab 2, right?

If you hook the multimeter to pins 1 and 3, you should see 5v at all times, even while pressing and releasing the pedal(s).

Connect an analog multimeter* between pin 2 and ground to see if you have a smooth change in voltage as you press the pedal.

 * Due to the lag in sampling and displaying readings, digital multimeters will miss spikes and dropouts that an analog meter will catch.


Scott
Title: Re: u-hid and pedals, having issues
Post by: AndyWarne on October 19, 2013, 04:12:47 am
Something which might cause this behaviour is having pins defined as analog axes which are not connected to anything. Can you check for this.

Andy
Title: Re: u-hid and pedals, having issues
Post by: tony.silveira on October 28, 2013, 11:28:25 pm
Something which might cause this behaviour is having pins defined as analog axes which are not connected to anything. Can you check for this.

Andy

thanks for the insight guys.  i had a wire which was sorted and causing weird behavior, all good now!