DIY Logitech Pedals USB Adapter (No Soldering!)
HTML-код
- Опубликовано: 25 июл 2024
- I'm going to show you how to build a simple USB adapter for the Logitech Driving Force pedals. These pedals come with most Logitech wheels including the G923, G29, G920, G27, and G25. This adapter only takes about 15 minutes to put together, and requires absolutely no soldering.
🔧 Parts:
* DB9 Female to Screw Terminal Adapter: amzn.to/3as4wFu
* Solid-Core Wire (22 AWG): amzn.to/3z4cGy2
* Arduino Leonardo: amzn.to/3LQSEde or amzn.to/3za8BIu
* Needle-Nose Pliers: amzn.to/3LUokOT
The above are Amazon Affiliate links. As an Amazon Affiliate I earn from qualifying purchases.
💾 Downloads:
* Sim Racing Library: github.com/dmadison/Sim-Racin...
* Joystick Library: github.com/MHeironimus/Arduin...
* Arduino IDE: www.arduino.cc/en/software
📝 Article: www.partsnotincluded.com/how-...
If you want something more permanent, I've designed some open source circuit board "shields" that attach to an Arduino Pro Micro. These come with a 3D-printable case and custom boards files so that the adapter shows up as "Sim Racing Pedals" over USB. For more info, watch the overview video: • Sim Racing Shields for...
Chapters:
0:00 Intro
0:13 Supplies
0:27 Connector Wiring
2:03 Arduino Wiring
2:33 Download Software
2:55 Install Libraries
3:12 Upload Firmware
3:57 Testing
4:53 Outro
"Industrious Ferret" by Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
creativecommons.org/licenses/b... Наука
Brilliant Thanks, Upgraded to a T300 but wanted to keep my modified G27 pedals as a standalone set, I used a Pro Micro clone and the script uploaded flawlessly, pins were labelled the same except I used VCC instead of 5v it was giving out 4.5v (Raw was giving out 4.7v), Also I cut the pedal wires and soldered direct to the board as I didn't want the DB9 connector, for anyone interested in the pedals internal wire colours, Red:5v, Black:Ground, Green:Clutch:A0, White:Brake:A1, Orange:Throttle:A2.
Wanted to say thanks, I was able to run a Fanatec V1.5 Handbrake through USB without having to buy Fanatec's adapter. Thanks to your easy to follow video.
Thank you so much for this. You saved me at least $70 pedals + shifter as I look to move away from the Logitech wheel.
Thanks mate, now I can use my g29 pedals with my moza r12 without the need to have the whole g29 connected.
I've had a G27 shifter and pedal that was given to me because the owner's wheel stopped working. I just assumed the stick/pedals were useless without the wheel and stored it away for the past 8 years or so. Later on I got into microcontrollers, then a couple days ago I wondered if anyone got the stick/pedals to work with an Arduino and here I am. I couldn't believe it! Thanks so much
That's amazing! I'm glad I was able to help.
Wow so easy! I loved the video, the way you explain, amazing video. Also nice socks I have those too.
Man, this video is 10/10. Thank you so much!
Made this two days ago and it works AMAZING!!! You deserve way more subs n views
Do you know if this mod works for the G27 pedals? Not sure if the G27 pedals are considered Driving Force pedals.
@@GodzUnit01 I can confirm, it does
Thanks a lot for share it! Works great! Could be possible to make a general solution for pedals and shifter using just one Leonardo board?
I wonder if I could use a similar adapter to wire up my HORI pedals. I was thinking I could use it as a mute/unmute button for zoom. The HORI connector looks like a RJ11 connector. Thanks for posting this, it inspired me to look into this.
Thanks for this tutorial. I did it with a Pro micro atmega32u4 and it works perfectly. Thanks again.
Hey men! Did you know another cheapest option thanks!
Did you have to modify the code to get it to work? What pins did you use?
Hello Dave Madison! Thank you for sharing this excellent experience, but I would like to know if it is possible to add the steering wheel in addition to the pedals, even without the feedback motors? I have a Logitech G920 with a defective board, and I would like to take advantage of it, is it possible?
just did this and works like a charm with some small caveats.
i will only point out that, it is better to follow the squematic of the db9 serial port because most ports have ground on pin 5, not pin 1 (as is the standard with the db9 port).
also, following this guide, there is a chance that you will end up with reversed clutch and acceleration pedals, just swap places of the a0 and a2 cables on the arduino and you should be fine.
IN THEORY it should be possible to have both the shifter and the pedals in a single arduino leonardo depending on the amount of data connections the shifter needs (IIRC is 3) BUT it would require a complete rewrite of the code and to solder 4 cables into 2. without both of those things is not possible.
Hi! I'm glad this worked for you and I appreciate the feedback.
As far as I know connecting ground to pin 5 will not work with these pedals, as it's not connected internally. You can find my pinout notes from disassembling my own pedals in the library documentation here: dmadison.github.io/Sim-Racing-Arduino/docs/logitech_pedals.html
If using pin 5 as ground does work for you then your pedal unit may be wired differently. Pin 6 will work as ground but has the potential to create a dead short if a 2-pedal unit is connected instead.
Hello Dave, thank you for this project. I have a problem, the calibration does not work while the pedalprint works correctly. Have you already found this problem?
Thanks in advance
Nicolas
Perfect, can this configuration be used to change the G27 gearbox too?
hello, thanks a lot for the tutorial, is the pinout for the pro micro the same
Is there any way I can use this code with an uno or nano, as they are all I have around the house at the moment till next month>
Hi! Is it possible to make a 2-1 adapter (for logitech pedals and shifter)?
why did arduino ide says the "zip file does not contain a valid library" when i tried to add the zip files?
Wow, fantastic tutorial, fantastic design and you got a subscriber and a like before I even got to the end of the video! Honestly, this was so well done in all aspects....I can not come up words that can articulate just how impressive it was. Even in it's simplicity!
One question: Will this work with the load cell kit installed on my G923 pedals? My g923 needs a to be replaced by Logitech so I am w/o that for ~2-4 weeks. I have my old GT Driving Force wheel which will be fine....I guess as a stand in until I get the replacement but I can not go back to the GTDF pedals.......no way no how. If I can get the G923 pedals connected as stand alones I could make it work in the short term.
Glad you liked it!
As far as I know the G923 pedals are functionally identical to the G920 pedals, so if the load cell kit works on your G923 I'd imagine it would work with this. Let me know if you give it a try!
ever got it to work? my g29 brakes are modded with axcsim truebrake and it works just fine :)
Hi, after doing that, my pedals start spiking... any tip to solve it?
Can you do this with a Arduino Pro Mini ?
hello my throttle isnt working. My z and y axis are working but not the x one. Can you help me pls ?
Bonjour a vous,est t'il possible de mettre un pédalier d'autre marque sur G29 PS4 console ? merci,😮
Hi! I do everything but I can't calibrate the pedals, can you help me please?
The clutch pedal does not work. What could be the problem?
I have tried this with a wingman formula RJ11 connector but the analogRead range for each pedal is just 1020-1023 too small to be useful. Any idea?
Im having one problem, Once i go to game controller and select properties, nothing happens. It does not open up the calibration tool. Any ideas what is causing my issues with my board not wanting to open properties?
How much does the parts do make all this cost? I have no idea about electronics
Hello Dave, thank you for this video, very easy to follow even for novice.
I have a question, I’ve noticed in another similar video they also use an extra wire to connect another 5v (pin 6 & 9)? Can you explain to me what the difference is?
Pins 6 and 9 are connected internally on the 3-pedal unit. It isn't necessary to connect them on the adapter, it will function the same way.
youre my hero
HOLA BUENAS ALGUIEN ME PUEDE AYUDAR CON ESTE MOD ES QUE NO ME DEJA SUBIRLO AL ARDUINO POR EL ERROR EXIT STATUS 1 SE AGRADECERIA, UN SALUDO Y GRACIAS DE ANTE MANO
What are the consequences? Questions are felt because I have some products, I bought an adapter and when I press the pedals, I see that the reaction is delayed.
After programming would this work on Xbox?
If I want connect directly on dfgt wheel for play on ps3 there is something for adapt it?
Remove the cable from DFGT pedal and use it to replace the wire on the G2x pedal. There are instruction out there. No need to make any adapter. Cost is 0. No clutch of course. Remove G2x wire always from the bottom use a cardboard box as support.
Hi, is it possible to solder the connectors straight to the board
Not to the Leonardo, or at least not well. If you want to solder the connections I would suggest buying a Pro Micro board instead.
i was wondering can i use 1 arduino leonardo for this and the shifter?
Me too..
Hi do I have to buy the db9 connector can I just cut the plug of the pedal and connect it straight to the arduino in stead of buying the db9 connector.
you can cut it and do it that way, just need to make sure to correctly identify each cable
10bits?? Or more?
Hi, thanks for this video, i'm looking to do this for nephew, is it possible to combine pedal and shifter into one board ? I know the code will need some adjustement but did you tried it ? Thanks
Hello! It is absolutely possible to combine both into one board. The example codes need to be combined (mostly copy + paste) and the analog shifter pins need to be moved to A4 / A5. But it should be very straightforward.
@@dave.madison Good ! Thank you for the answer
now we just need something that conects both pedals and shifter in the same arduino
The library can already do that, you just need to combine the shifter and pedal examples.
@dave.madison nicee thank you however I consider that a tutorial is necessary for totally new people, you know how to connect the cables and all that in the same arduino for both shifter and pedals, Your videos are awesome!!!
@@dave.madison nicee thank you however I consider that a tutorial is necessary for totally new people, you know how to connect the cables and all that in the same arduino for both shifter and pedals, Your videos are awesome!!!
I was wondering what was the purpose of the adaptor? (No offense, great job!)
It converts the raw signals from the pedals into a USB joystick that can be used with games or racing sims. Typically you would connect the pedals to a Logitech wheel that would do this for you, but this lets you use the pedals on their own without a matching wheel.
@@dave.madison Genius! We will need the logitech pedals though, right?
@@NotItzIshanyes you will need logitech pedals to use logitech pedals 🤔😅
Does this mod work for G27 pedals?
Yes! The G29 and G27 pedals are identical.
It works on Xbox one?
No
Just buy the adapter bro lol By the time you buy everything needed in the video you could have just bought the adaptor lol
At the time I made this video the official Logitech adapter didn't exist.
The DB9 connector and the microcontroller are the only essentials. Most people have a pair of pliers and can scrounge up some wire. With the current prices linked in the description, this method costs roughly half the price of the adapter. Something to consider :)
True, not only its half the costs, but there's also the matter of paying import taxes for some, such as me. Whereas DIY products can easily be found for very low cost where I live in comparison to bringing the adapter overseas.
@@jojodosjogos Good point!
The calibration looks bad...
G'day Dave, can this be used to connect the 3 pedals plus a 2nd brake pedal? i would like 2 brake pedals. could u briefly explain please? cheers
@dave.madison
English:
"Hello, thank you for your project, it is exactly what I needed. However, I have an issue with the stability of the value of my brake pedal when using it with a Micro Pro card or an official Leonardo. My input is constantly changing, making it impossible to bind in a game. Have you ever encountered this problem and if so, do you have any solutions to propose to solve this problem? Thank you in advance for your help."
Français :
"Bonjour, je vous remercie pour votre projet, il correspond exactement à ce dont j'avais besoin. Cependant, j'ai un problème avec la stabilité de la valeur de ma pédale de frein lorsque je l'utilise avec une carte Micro Pro ou un Leonardo officiel. Mon input varie constamment, ce qui rend impossible de faire un bind dans un jeu. Avez-vous déjà rencontré ce problème et si oui, auriez-vous des solutions à me proposer pour résoudre ce souci? Merci d'avance pour votre aide."
Hi Dorian. I have indeed encountered that problem, but thankfully there's an easy solution.
When calibrating the pedal in Windows, don't move it all the way back to the start for the 'minimum' reading. That will give you a bit of a buffer so it doesn't always send data at rest.
There is also a built-in calibration function in the library that can be accessed using the PedalsPrint example. You can use that to calibrate the code to your specific pedals, which should also solve the problem. I hope that helps.