Archived

This topic is now archived and is closed to further replies.

DIY G25 shifter interface with H-pattern, sequential and handbrake modes

211 posts in this topic

16 hours ago, Stealthblackbird said:

So has anyone gotten this to work with an Arduino Uno? I was looking at the program UnoJoy for it as it seems it will communicate and show up on Windows as a Joystick but I don't know how to configure it with the sketches.

It can be done but it is a pain ...

Get a teensy ;)

Share this post


Link to post
Share on other sites
On 6/17/2016 at 10:53 AM, pascalh said:

It can be done but it is a pain ...

Get a teensy ;)

Have you done it before? Or do you know anybody who has? Is there a tutorial? Anyways, I'm looking to get a Teensy in a week, (Gotta love birthdays), but if I don't get one, it'd be nice to have something to fall back to.

Share this post


Link to post
Share on other sites
On 19/06/2016 at 11:35 PM, Stealthblackbird said:

Have you done it before? Or do you know anybody who has? Is there a tutorial? Anyways, I'm looking to get a Teensy in a week, (Gotta love birthdays), but if I don't get one, it'd be nice to have something to fall back to.

I've done it with UnoJoy. But as soon as you flash UnoJoy you can't debug nor upload a sketch anymore: you have to go through the whole sequence for the slightest change: flash the normal firmware, upload your sketch, flash UnoJoy, check if it works without being able to debug, start over again ... It is a real pain: I switched to Teensy after few hours.

Share this post


Link to post
Share on other sites
Just now, pascalh said:

I've done it with UnoJoy. But as soon as you flash UnoJoy you can't debug nor upload a sketch anymore: you have to go through the whole sequence for the shlightest change: flash the normal firmware, upload your sketch, flash UnoJoy, check if it works without being able to debug, start over again ... It is a real pain: I switched to Teensy after few hours.

That sounds tedious, did you actually get a finished sketch?

Share this post


Link to post
Share on other sites
36 minutes ago, Stealthblackbird said:

That sounds tedious, did you actually get a finished sketch?

No, analog input only. I gave up not being able to find what was wrong in my shift register code :blink:

Share this post


Link to post
Share on other sites
2 minutes ago, pascalh said:

No, analog input only. I gave up not being able to find what was wrong in my shift register code :blink:

Haha, this is why the Teensy is on my shopping list. On a side note, have you ever modded a MOMO wheel so that it could go 900 degrees? It doesn't have to be a MOMO, I just want to know how to make stops for it. I'm thinking some sort of screw hooked up to a gear or something.

Share this post


Link to post
Share on other sites
8 minutes ago, Stealthblackbird said:

Haha, this is why the Teensy is on my shopping list. On a side note, have you ever modded a MOMO wheel so that it could go 900 degrees? It doesn't have to be a MOMO, I just want to know how to make stops for it. I'm thinking some sort of screw hooked up to a gear or something.

No

Share this post


Link to post
Share on other sites
On 21/06/2016 at 8:09 PM, Stealthblackbird said:

Can anyone find the pinout for the Logitech G Driving Force Shifter?

If the pinout is not published yet, the only way is to reverse engineer it:

  • Disassemble the shifter
  • Find to which IC pin each connector pin is connected using an ohmmeter
  • Download the IC datasheet (most likely a shift register) and determine which connector pin is connected to data, clock and analog inputs
  • Find GND and +5V pins
  • Change or write the code accordingly

This is how I did for the G25 shifter 

Share this post


Link to post
Share on other sites
5 hours ago, pascalh said:

If the pinout is not published yet, the only way is to reverse engineer it:

  • Disassemble the shifter
  • Find to which IC pin each connector pin is connected using an ohmmeter
  • Find GND and +5V pins
  • Download the IC datasheet (most likely a shift register) and determine which connector pin is connected to data, clock and analog inputs
  • Change or write the code accordingly

This is how I did for the G25 shifter 

What would be convenient is if someone knew if you could use the Logitech G Driving Force Shifter on the G27, because that would most likely mean that the Driving Force Shifter is the same pinout as the G27 Shifter. If somebody could test this, it would not only save some time, --it would save me from trying to figure out how to find the IC Datasheet for the Shifter :-D.-- (I realize now that IC means integrated circuit and it'd be easier to find the data sheet once I get the Driving Force Shifter and open it so I could find a model number or something *facepalm*)

Share this post


Link to post
Share on other sites
On 22/06/2016 at 11:49 PM, Stealthblackbird said:

What would be convenient is if someone knew if you could use the Logitech G Driving Force Shifter on the G27, because that would most likely mean that the Driving Force Shifter is the same pinout as the G27 Shifter. If somebody could test this, it would not only save some time, --it would save me from trying to figure out how to find the IC Datasheet for the Shifter :-D.-- (I realize now that IC means integrated circuit and it'd be easier to find the data sheet once I get the Driving Force Shifter and open it so I could find a model number or something *facepalm*)

Hmmm trying to connect the Logitech G Driving Force Shifter on the G27 could work ... or burn one/both devices :blink:depending on the pinout. For instance if +5V on one side is connected to an output on the other side, the output will most likely be burned.

Share this post


Link to post
Share on other sites
On 6/23/2016 at 4:02 PM, pascalh said:

Hmmm trying to connect the Logitech G Driving Force Shifter on the G27 could work ... or burn one/both devices :blink:depending on the pinout. For instance if +5V on one side is connected to an output on the other side, the output will most likely be burned.

Yeah...I can't test that though because I don't have a G27. They do say that the G27 shifter is compatible with the G920/G290 wheel so the Logitech G Driving Force shifter may possibly be the same pinout. I've realized that if I open up the Logitech G Driving Force Shifter it would void my warranty...and I want to replace it if it breaks under warranty so, I would really like it if somebody else could test this for me. My shifter has arrived and so has my teensy so I have all the stuff I need (don't you love birthdays?).

PS: sorry for the late reply, been busy with vacation and other things.

Share this post


Link to post
Share on other sites
7 hours ago, Stealthblackbird said:

Yeah...I can't test that though because I don't have a G27. They do say that the G27 shifter is compatible with the G920/G290 wheel so the Logitech G Driving Force shifter may possibly be the same pinout. I've realized that if I open up the Logitech G Driving Force Shifter it would void my warranty...and I want to replace it if it breaks under warranty so, I would really like it if somebody else could test this for me. My shifter has arrived and so has my teensy so I have all the stuff I need (don't you love birthdays?).

PS: sorry for the late reply, been busy with vacation and other things.

Leo Bodnar is advertising their interface to be compatible with G25, G27 and G29 shifters (http://www.leobodnar.com/shop/index.php?main_page=product_info&products_id=188)

So they could be pin to pin compatible. At least they can't be incompatible (inverted power lines etc...) ;)

Share this post


Link to post
Share on other sites
3 hours ago, Stealthblackbird said:

Yes I know that but I need to konw if the Logitech G Driving Force Shifter will work on the G27.

It will work, it is the same shifter. Just the signals from the G27 buttons are not accepted on G29.

Share this post


Link to post
Share on other sites
1 hour ago, Stealthblackbird said:

Woah I just had a great idea! To find +5V and ground I could just take my multimeter, switch it to the mode where it beeps when there is a closed circuit or there is a connection between two pins and voila! I would find the +5V and Ground.

Don't do this !!! :blink:

The mode where the multimeter beeps is ohmmeter mode: it injects current and measures voltage to determine resistance. If you do that on power lines you could burn something. Use voltmeter mode set on 5V DC. 

Share this post


Link to post
Share on other sites
15 minutes ago, pascalh said:

Don't do this !!! :blink:

The mode where the multimeter beeps is ohmmeter mode: it injects current and measures voltage to determine resistance. If you do that on power lines you could burn something. Use voltmeter mode set on 5V DC. 

Well that could've ended badly! You learn something new everyday don't you? On voltmeter mode would it just give me a "1" or a "0" or what? I'll check back tomorrow, well technically today because it's 2 AM.

Share this post


Link to post
Share on other sites
4 hours ago, Stealthblackbird said:

Have you personally confirmed this? I just really do not want to fry my brand new shifter.

I can confirm you that pluging the shifter will not fry it working or not.

Share this post


Link to post
Share on other sites
13 hours ago, pascalh said:

Don't do this !!! :blink:

The mode where the multimeter beeps is ohmmeter mode: it injects current and measures voltage to determine resistance. If you do that on power lines you could burn something. Use voltmeter mode set on 5V DC. 

Sorry but I don't understand how you would find +5V and GND using it this way. Perhaps you could explain further how to find them?

Share this post


Link to post
Share on other sites

I know this is the third post in a row by me but this is kind of important. I just noticed this label on my Shifter that states the rating is 3.3V. I've included a picture of it as an attachment.So I just noticed this.jpg

If I'm thinking right, if I put +5V into this thing, it will fry it. What do I do?

Share this post


Link to post
Share on other sites