Krassi 692 Report post Posted July 16, 2016 6 minutes ago, Stealthblackbird said: 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. If I'm thinking right, if I put +5V into this thing, it will fry it. What do I do? Don`t worry! Share this post Link to post Share on other sites
Stealthblackbird 1 Report post Posted July 16, 2016 (edited) Kinda off topic, but what is "throw" and "MAXIMUM throw"? Also, do you know how to find pinouts using a multimeter in Voltmeter mode? I'm tempted to use it in continuity mode, but pascalh says not to do that because it may fry it. P.S.: You are my savior for finding the one other guy who wanted to know if the Driving Force Shifter worked with the G27. Edited July 16, 2016 by Stealthblackbird A Thank You! Share this post Link to post Share on other sites
Krassi 692 Report post Posted July 16, 2016 8 minutes ago, Stealthblackbird said: Kinda off topic, but what is "throw" and "MAXIMUM throw"? Also, do you know how to find pinouts using a multimeter in Voltmeter mode? I'm tempted to use it in continuity mode, but pascalh says not to do that because it may fry it. P.S.: You are my savior for finding the one other guy who wanted to know if the Driving Force Shifter worked with the G27. The throw in that case means that 5th and 6th gear will work if press to full right and then to the gear gate. Its not a big deal, but you need to have it in mind every time you shift:) Just check with your shifter how it is, maybe in your case will be different, but as you see no risk for the shifter.:) Share this post Link to post Share on other sites
Krassi 692 Report post Posted July 16, 2016 Logitech is serious company and if there was a risk for the shifter - on the box will have sticker "do not connect to G27":) Share this post Link to post Share on other sites
Stealthblackbird 1 Report post Posted July 16, 2016 (edited) 20 minutes ago, Krassi said: Logitech is serious company and if there was a risk for the shifter - on the box will have sticker "do not connect to G27":) Funnily enough it does say, "WORKS ONLY WITH LOGITECH G29 AND G920 DRIVING FORCE RACING WHEELS FOR CONSOLE AND PC". Edit: Dang, I have bad handwriting... Edited July 16, 2016 by Stealthblackbird Share this post Link to post Share on other sites
Stealthblackbird 1 Report post Posted July 16, 2016 I just realized, if that video you showed me is correct, then that means the pinout should be EXACTLY the same! Well, maybe not exactly, he didn't show 1st or 2nd gear. Also reverse, he didn't test that. Share this post Link to post Share on other sites
Krassi 692 Report post Posted July 16, 2016 28 minutes ago, Stealthblackbird said: Funnily enough it does say, "WORKS ONLY WITH LOGITECH G29 AND G920 DRIVING FORCE RACING WHEELS FOR CONSOLE AND PC". Edit: Dang, I have bad handwriting... It says - what is build for. It is normal to do not mention G27 , because with G27 on PS3 you will not have navigation keys. Share this post Link to post Share on other sites
Krassi 692 Report post Posted July 16, 2016 22 minutes ago, Stealthblackbird said: I just realized, if that video you showed me is correct, then that means the pinout should be EXACTLY the same! Well, maybe not exactly, he didn't show 1st or 2nd gear. Also reverse, he didn't test that. Why you just dont test it nad report and continue with imagination:)? Share this post Link to post Share on other sites
Stealthblackbird 1 Report post Posted July 16, 2016 4 minutes ago, Krassi said: Why you just dont test it nad report and continue with imagination:)? Mainly because I haven't soldered any connections at all to the teensy and I just can't figure out how to find +5V and GND in voltmeter mode because there is no power running through it for the voltmeter to measure and I don't want to fry it in continuity mode!!!!! I just want to confirm where +5V and GND are so I have zero risk of frying it. Please explain how to do this. Thank you. Share this post Link to post Share on other sites
pascalh 34 Report post Posted July 17, 2016 (edited) 12 hours ago, Stealthblackbird said: 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? I think I misunderstood your question: if you're trying to reverse engineer the shifter pinout you can't simply measure voltages because it is not powered. If you power it and your pinout guess is wrong you will fry it. The only real answer is the one I posted above: Edited July 17, 2016 by pascalh Share this post Link to post Share on other sites
Stealthblackbird 1 Report post Posted July 18, 2016 It works!!! I finally sucked up enough courage to trust the video Krassi sent me and soldered every thing together and tested it (I also continued with my imagination :D). Everything works completely fine and doesn't have the problems the person in the video had. This means the pinout of the Logitech G Driving Force Shifter is the same as the G27 shifter. I originally tried soldering the wires to the db9 connector but I ended up melting the plastic and dislocating all the pins. This made me take a db9 connector that already had the wires soldered on from one of his old projects he doesn't use any more (don't worry, got permission :D). However, I did notice that when I pushed down on the shifter, half of the inputs seem to light up but it wasn't an issue. All in all, great tutorial pascalh and thanks to everyone else for helping me along the way. Heres a video of it working, sorry don't have a YouTube link. Now, to make my MOMO Racing go 900 degrees! Already have the stuff for that! WP_20160717_003.mp4 Share this post Link to post Share on other sites
pascalh 34 Report post Posted July 18, 2016 (edited) 8 hours ago, Stealthblackbird said: It works!!! I finally sucked up enough courage to trust the video Krassi sent me and soldered every thing together and tested it (I also continued with my imagination :D). Everything works completely fine and doesn't have the problems the person in the video had. This means the pinout of the Logitech G Driving Force Shifter is the same as the G27 shifter. I originally tried soldering the wires to the db9 connector but I ended up melting the plastic and dislocating all the pins. This made me take a db9 connector that already had the wires soldered on from one of his old projects he doesn't use any more (don't worry, got permission :D). However, I did notice that when I pushed down on the shifter, half of the inputs seem to light up but it wasn't an issue. All in all, great tutorial pascalh and thanks to everyone else for helping me along the way. Heres a video of it working, sorry don't have a YouTube link. Now, to make my MOMO Racing go 900 degrees! Already have the stuff for that! WP_20160717_003.mp4 Glad to see you got it working I think the code has to be slightly adapted to avoid those simultaneous button presses. I can help you doing so if you tell me the values of the digital inputs for each gear including reverse. To get these values you have to open the console and uncomment the debug code as described in the Advanced Tests chapter. Edited July 18, 2016 by pascalh 1 Regis Souza reacted to this Share this post Link to post Share on other sites
Stealthblackbird 1 Report post Posted July 20, 2016 Just to clear up any confusion, when I push down, none of the gear inputs are selected (unless I go into reverse of course). So it's really not a big deal. But I did notice that the digital input value doesn't change when I change gears, only the gear parameter. However when I push down, it shows: 1011111111111111, and when I go into reverse it shows: 1111111111111111 Gear: 0. Hear are the Gear values just in case 1st Gear: 1 2nd Gear: 2 3rd Gear: 3 4th Gear: 4 5th Gear: 5 6th Gear: 6 Reverse Gear: 0 Neutral: 0 Share this post Link to post Share on other sites
pascalh 34 Report post Posted July 20, 2016 57 minutes ago, Stealthblackbird said: Just to clear up any confusion, when I push down, none of the gear inputs are selected (unless I go into reverse of course). So it's really not a big deal. But I did notice that the digital input value doesn't change when I change gears, only the gear parameter. However when I push down, it shows: 1011111111111111, and when I go into reverse it shows: 1111111111111111 Gear: 0. Hear are the Gear values just in case 1st Gear: 1 2nd Gear: 2 3rd Gear: 3 4th Gear: 4 5th Gear: 5 6th Gear: 6 Reverse Gear: 0 Neutral: 0 And when you don't push down or with a gear engaged what are the digital values? Share this post Link to post Share on other sites
Stealthblackbird 1 Report post Posted July 20, 2016 2 minutes ago, pascalh said: And when you don't push down or with a gear engaged what are the digital values? Not pushed down: 0000000000000000 Gear selected (Not pushed down of course): 0000000000000000 Share this post Link to post Share on other sites
RomanST77 0 Report post Posted August 8, 2016 Hi folks, I have a working code for STM32F103 to use G27 shifter and pedals as standalone device, if anyone interested github link will follow. I also designed a small (5x5 cm) board based on STM32F042 with two DB9 adapters to connect pedals and shifter, it's not tested yet but I will do the tests real soon. Actually the only problem is shifter calibration. My code has hardcoded values which fit my shifter nicely. I guess that for other shifter I will need either to pick other values or to find a way to calibrate shifter. I assume that shifter eeprom has all the nessesary values but I don't know how to interpret the data. My shifter eeprom contents: 0x46, 0xD2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB2, 0x01, 0x7B, 0x91, 0x7B, 0x53, 0x0F, 0x07, 0x1F, 0x3F, 0x5F, 0x7F, 0x9F, 0xBF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x07, 0x1F, 0x3F, 0x5F, 0x7F, 0x9F, 0xBF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x07, 0x1F, 0x3F, 0x5F, 0x7F, 0x9F, 0xBF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x0A, 0x0D, 0x0E, 0x10, 0x13, 0x15, 0x17, 0x19, 0x1B, 0x1D, 0x1F, 0x21, 0x23, 0x26, 0x28, 0x2A, 0x2C, 0x2E, 0x30, 0x32, 0x34, 0x37, 0x39, 0x3B, 0x3D, 0x3F, 0x41, 0x44, 0x45, 0x47, 0x56, 0x5E, 0x66, 0x6E, 0x76, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xAA, 0x55, 0xA6, 0x90, 0x90, 0x90, 0x57, 0x7B, 0xFF, 0xFF Hardcoded values are 25 (400 for 12-bit ADC), 175 (2800 for 12-bit ADC) for Y axis, 87 (1400 for 12-bit ADC), 162 (2600 for 12-bit ADC) for X axis. If you have no idea what I am talking about have a look at this video by Leo Bodnar: Leo stores calibration data inside his device. I hope to understand what's stored inside Logitech eeprom... Share this post Link to post Share on other sites
Regis Souza 1 Report post Posted August 9, 2016 Hey, I am very noob at this stuff, but I wanna know if its possible to use tennsy 2.0 to create an interface to the G27 pedals too? I am a DFGT owner and I have bought a G27 pedal, and will get a Logitech G Driving Force shifter to use with it. Can't buy leobodnar because it would became very expensive to me (buying two adapters + I live in Brazil where the taxes are very high for imported stuff). Just to be clear, I want to use one Tennsy 2.0 board to control both of the devices.Thx and sorry for the bad english. Share this post Link to post Share on other sites
RomanST77 0 Report post Posted August 10, 2016 17 hours ago, Regis Souza said: Hey, I am very noob at this stuff, but I wanna know if its possible to use tennsy 2.0 to create an interface to the G27 pedals too? I am a DFGT owner and I have bought a G27 pedal, and will get a Logitech G Driving Force shifter to use with it. Can't buy leobodnar because it would became very expensive to me (buying two adapters + I live in Brazil where the taxes are very high for imported stuff). Just to be clear, I want to use one Tennsy 2.0 board to control both of the devices.Thx and sorry for the bad english. I use stm32f103c8t6 (costs $2 on aliexpress + $1,5 for st-link v2) to connect both pedals and shifter as standalone device. However it's a bit harder to write a proper code for it. I also made a small board with electronics similar to G27 shifter to get more buttons on steering wheel. It's connected to G25 or G27 wheel base instead of shifter and gives you 12 additional buttons, very useful if you want to make formula rim for G25 or G27... Share this post Link to post Share on other sites
RomanST77 0 Report post Posted August 10, 2016 Custom formula rims for G27 with standard electronics (6 button) and with additional buttons (connected to DB9 shifter connector on G27 base). Work in progress... Share this post Link to post Share on other sites
RomanST77 0 Report post Posted August 10, 2016 I only design some electronics for this project, rims will be made by other person... Share this post Link to post Share on other sites
pascalh 34 Report post Posted August 10, 2016 On 09/08/2016 at 3:29 PM, Regis Souza said: Hey, I am very noob at this stuff, but I wanna know if its possible to use tennsy 2.0 to create an interface to the G27 pedals too? I am a DFGT owner and I have bought a G27 pedal, and will get a Logitech G Driving Force shifter to use with it. Can't buy leobodnar because it would became very expensive to me (buying two adapters + I live in Brazil where the taxes are very high for imported stuff). Just to be clear, I want to use one Tennsy 2.0 board to control both of the devices.Thx and sorry for the bad english. Yes it can be done. It has already been discussed in this thread 2 pages above: Share this post Link to post Share on other sites
pascalh 34 Report post Posted August 10, 2016 On 08/08/2016 at 3:46 PM, RomanST77 said: Hi folks, I have a working code for STM32F103 to use G27 shifter and pedals as standalone device, if anyone interested github link will follow. I also designed a small (5x5 cm) board based on STM32F042 with two DB9 adapters to connect pedals and shifter, it's not tested yet but I will do the tests real soon. Actually the only problem is shifter calibration. My code has hardcoded values which fit my shifter nicely. I guess that for other shifter I will need either to pick other values or to find a way to calibrate shifter. I assume that shifter eeprom has all the nessesary values but I don't know how to interpret the data. My shifter eeprom contents: 0x46, 0xD2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB2, 0x01, 0x7B, 0x91, 0x7B, 0x53, 0x0F, 0x07, 0x1F, 0x3F, 0x5F, 0x7F, 0x9F, 0xBF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x07, 0x1F, 0x3F, 0x5F, 0x7F, 0x9F, 0xBF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x07, 0x1F, 0x3F, 0x5F, 0x7F, 0x9F, 0xBF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x0A, 0x0D, 0x0E, 0x10, 0x13, 0x15, 0x17, 0x19, 0x1B, 0x1D, 0x1F, 0x21, 0x23, 0x26, 0x28, 0x2A, 0x2C, 0x2E, 0x30, 0x32, 0x34, 0x37, 0x39, 0x3B, 0x3D, 0x3F, 0x41, 0x44, 0x45, 0x47, 0x56, 0x5E, 0x66, 0x6E, 0x76, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xAA, 0x55, 0xA6, 0x90, 0x90, 0x90, 0x57, 0x7B, 0xFF, 0xFF Hardcoded values are 25 (400 for 12-bit ADC), 175 (2800 for 12-bit ADC) for Y axis, 87 (1400 for 12-bit ADC), 162 (2600 for 12-bit ADC) for X axis. If you have no idea what I am talking about have a look at this video by Leo Bodnar: Leo stores calibration data inside his device. I hope to understand what's stored inside Logitech eeprom... Could you please elaborate on how you did to read the EEPROM? Share this post Link to post Share on other sites
pascalh 34 Report post Posted August 10, 2016 On 21/07/2016 at 0:52 AM, Stealthblackbird said: Not pushed down: 0000000000000000 Gear selected (Not pushed down of course): 0000000000000000 Thanks Share this post Link to post Share on other sites
Regis Souza 1 Report post Posted August 11, 2016 (edited) On 10/08/2016 at 7:40 PM, pascalh said: Yes it can be done. It has already been discussed in this thread 2 pages above: Sorry Pascalh for missing that. Thx for the reply, I will try to replicate your project ASAP and will post the results! On 18/07/2016 at 0:22 AM, Stealthblackbird said: It works!!! I finally sucked up enough courage to trust the video Krassi sent me and soldered every thing together and tested it (I also continued with my imagination :D). Everything works completely fine and doesn't have the problems the person in the video had. This means the pinout of the Logitech G Driving Force Shifter is the same as the G27 shifter. I originally tried soldering the wires to the db9 connector but I ended up melting the plastic and dislocating all the pins. This made me take a db9 connector that already had the wires soldered on from one of his old projects he doesn't use any more (don't worry, got permission :D). However, I did notice that when I pushed down on the shifter, half of the inputs seem to light up but it wasn't an issue. All in all, great tutorial pascalh and thanks to everyone else for helping me along the way. Heres a video of it working, sorry don't have a YouTube link. Now, to make my MOMO Racing go 900 degrees! Already have the stuff for that! WP_20160717_003.mp4 Hey Stealthblackbird, please post your final code whenever it's ready for the driving force shifter's owners! It would help me a lot to have the code ready when I get mine shifter, and will certainly help people who already have one! Thx! Edited August 13, 2016 by Regis Souza Share this post Link to post Share on other sites
Stealthblackbird 1 Report post Posted August 11, 2016 2 hours ago, Regis Souza said: Sorry Pascalh for missing that. Thx for the reply, I will try to replicate your project ASAP and will post the results! Hey Stealthblackbird, please post your final code whenever it's read for the driving force shifter's owners! It would help me a lot to have the code ready when I get mine shifter, and will certainly help people who already have one! Thx! I'd be happy too, just let me find it! Share this post Link to post Share on other sites