Go Down

Topic: Logitech G27 Pedals Conversion (Read 62 times) previous topic - next topic


Feb 17, 2018, 11:02 pm Last Edit: Feb 18, 2018, 05:11 am by TinTops22
I'm trying to setup an Arduino Leonardo to use as a 10bit A/D USB input (Joystick) 3 axis gaming pedal input.

Where all I want is:

A0 = Throttle (Potentiometer Input) 0-5VDC = 0-1023
A1 = Brake (Loadcell Input) 0-5VDC = 0-1023
A2 = Clutch (Potentiometer Input) 0-5VDC = 0-1023

As I will use the Logitech G27 switches and steering as they are now, what I'm trying to achieve is better resolution of the actual pedal inputs - Currently 8Bit (0-256 steps)

Now I've used the https://github.com/MHeironimus/ArduinoJoystickLibrary which uses a "Joystick.h" file with 32 buttons etc...but I simply cant get the 3 pedals to work (A0 kind of works...once)  :o .

It would be nice if DXTweak recognised the Arduino "Game Controller" found in Devices and Printers so I can adjust the axis spans too?

Can someone out there please tell me what I'm doing wrong, or perhaps guide me to a more suitable example file I could use to achieve this please?

Thanks in advance for reading this :-)

Go Up