logo elektroda
logo elektroda
X
logo elektroda

USB PC gearbox (Simracing H-Shifter)

Bobo[PL] 33177 29
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • USB PC gearbox (Simracing H-Shifter)

    The project was created at the request of my 8-year-old son - a fan of car driving simulators. Due to other responsibilities, it took me about 14 months.
    For construction, I used mainly what I had in the garage - eyelet plates for connecting wooden constructions are the foundation for mechanisms. The fi8mm roller comes from an old printer. Springs mainly found at the junkyard. I had to buy bearings and joints at the auction site. The top plate is 3mm aluminum. I cut the pattern using a drill, jigsaw and files. The print is a colorless varnished thermal transfer. I mounted the plate with switches and divider resistors on the springs (flexible suspension). I put the details of the construction in the pictures and on the attached film.
    Electronics are Arduino Pro Micro (Atmega32u4). I downloaded the software from:
    https://steamcommunity.com/sharedfiles/filedetails/?id=661687410 by Hosenfuhrer, but I had to add button support (engine start, lights, wipers and others) and I did it using one Arduino analog input. The software enables connection of a proportional (analog) hand brake and clutch pedal. The device when connected to the computer is seen as a joystick and does not require installing the driver.
    Switching on the gear causes the microswitch to be short-circuited, and switching off opens it and forces the simulator to neutral.
    Structurally, my shifter resembles the one produced by FREX, but I did not model on it (only after completing the construction I realized that such a product exists).
    I made a piece of plywood to fix it to a "coffee" table so that the whole was rigidly fastened.
    The arduino code is attached.

    USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter) USB PC gearbox (Simracing H-Shifter)

    shifte..rar Download (1.5 kB)




    Cool? Ranking DIY
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
    About Author
    Bobo[PL]
    Level 14  
    Offline 
    Bobo[PL] wrote 150 posts with rating 348, helped 2 times. Live in city Zabrze. Been with us since 2006 year.
  • ADVERTISEMENT
  • #2 18602779
    krisRaba
    Level 31  
    Wow, my backhoe fell when I saw it :-D You constructed it interestingly, e.g. a roller that jumps over bolts to give you the feeling of throwing in and dropping down. Just a revelation :-D
    From what I see, each gear has its own microswitch, so the controller knows which gear is thrown, not just that there is ;-)
    Works without drivers, so the program on Arduino reports as a USB HID controller?
  • #3 18602805
    ArturAVS
    Moderator
    Too hard running does not fall? Damn, I would do something like that, but I can't drive with one hand.
  • ADVERTISEMENT
  • #4 18602981
    Bobo[PL]
    Level 14  
    ArturAVS wrote:
    Too hard running does not fall? Damn, I would do something like that, but I can't drive with one hand.


    You can adjust the lever spring tension by tightening or unscrewing the M4 eye bolt.
    Personally, I preferred a pull that matched the strength of a real car, but my child wanted to change gears easier, so it's lighter :)

    Added after 1 [minutes]:

    Thanks for the words of appreciation ;)
    krisRaba wrote:
    the program on Arduino reports as a USB HID controller?

    So it is!
  • #5 18604802
    madman
    Level 16  
    Well done. I would love to test in practice ;) With what kit (steering wheel, pedals) does it work? Is there a chance for some photos? ;)
  • #6 18604927
    error105
    Level 14  
    For me, the best project for a long time! In such moments I regret not playing on the PC :D And I don't have that kind of skills.
    The only irritating fact is that it doesn't look very stable (shakes) but it probably only looks :)
  • #7 18604972
    wniedzie
    Level 14  
    I have only two small comments about the "front plate". Diagonal cutouts probably can cause difficulties with quick gear changes not in turn, e.g. from four to one. It seems to me that even this can be seen in the attached video. The second thing - for safety reasons, under the front panel I would give a second panel that would slide under it together with the stick and cover the holes.
  • #8 18604978
    Bobo[PL]
    Level 14  
    madman wrote:
    With what kit (steering wheel, pedals) does it work? Is there a chance for some photos?

    LOGITECH DRIVING FORCE GT. I will provide pictures and maybe a video to join.

    error105 wrote:
    The only thing that irritates me is the fact that it doesn't look very stable (shakes) but it probably only looks like this

    The whole is not very stable, but a fairly heavy metal table gives advice. I will also take pictures of mounting details ;)

    Added after 3 [minutes]:

    wniedzie wrote:
    Diagonal cutouts probably can cause difficulties with fast gear shifting

    These cutouts make it easy to quickly change gears up in turn. Originally the angle was smaller, but there were difficulties to quickly shift into a higher gear. Now you can do it very quickly.
  • #9 18606189
    Barczq
    Level 1  
    Hello
    I have a question, could you give me exactly how connected the board is and what is because I would like to do something like that And I don't know how.
  • #10 18606583
    Bobo[PL]
    Level 14  
    Barczq wrote:
    Hello
    I have a question, could you give me exactly how connected the board is and what is because I would like to do something like that And I don't know how.


    Connection diagram for buttons and resistors connected to Arduino.

    GND connected to GND Arduino, + 5V to Vcc Arduino. I drew 3 buttons quickly, but in my assumption there are 12 of them. Each of them is connected to GND on one side and to the resistor ladder on the other. I used the same 1kR resistors (their value is not critical), but the same values are not the best solution, but you can ignore this fact. The buttons responsible for switching on individual gears are connected on one side to GND, and on the other to the appropriate Arduino input, as it is written in the code:

    Code: C / C++
    Log in, to see the code



    Mounting details:
    Gear shift simulator with steering wheel, pedals, and button panel Mounting board with holes on a wooden assembly with wires and a mechanism. Close-up of the mounting mechanism of a wooden structure underside. Mounting of gear shifter to a wooden board. Wooden mounting strip attached to a metal frame using screws.


    I will add one more thing: the rod below the knob has two polyamide sleeves that can rotate freely. This is to minimize friction on the aluminum "front" plate when changing gears.
  • ADVERTISEMENT
  • #11 18606969
    indianka
    Level 16  
    A beautiful combination of mechanics and electronics. Congratulations on the project, my son is certainly delighted. I am impressed with the effects of file processing. This aluminum plate looks like after cnc machining.
  • #12 18611930
    MarekS6
    Level 16  
    I'm impressed :-) I like this solution :-) However, one thing puzzles me.

    I haven't played any PC races for a long time, but as I was playing (the last game was NFS Most Wanted), I had a set of steering wheel + pedals + gearbox and manual from Manta. There, gears were thrown on the principle as we now have in Tiptronic machines - up / down gear. In the game itself, you only had to select the manual gearbox in the settings and assign the keys corresponding to the up and down gear.

    I understand that current racing games allow you to assign individual keys to a specific race?
  • #13 18612215
    Bobo[PL]
    Level 14  
    MarekS6 wrote:
    I understand that current racing games allow you to assign individual keys to a specific race?


    That's right In a specific game, enter the controller settings and assign the appropriate stick setting to subsequent gears in the game. The same should be done with the assignment of panel buttons functions.
  • #14 18613905
    romulus73
    Level 28  
    The coolest project I've seen lately, treats for the idea.
  • #15 18614005
    ZaQ_1
    Level 9  
    One of the most interesting projects recently.
    An unusual mechanical solution, significantly different from popular diy designs.
    Have you thought about building pedals with extensometers or are you satisfied with the usual potentiometric pedals from the factory kit?
  • ADVERTISEMENT
  • #16 18614578
    Bobo[PL]
    Level 14  
    @ ZaQ_1
    I stopped playing computer games many years ago. Now my child is doing it, if science allows him. He doesn't even have the armchair players enjoy so often, so this shifter is the fulfillment of his big dream :) It was a big undertaking for me because of my professional duties, my son's after-school activities (also on weekends). By trial and error I tested various solutions, the preparation of which was time-consuming and which later lost due to, for example, insufficient strength and you had to think about something else - more durable. So the pedals from the set with the steering wheel must be enough for him and even quarantine time will not change that :)
    Greetings to readers and thank you all for the words of appreciation.
  • #17 18617133
    madman
    Level 16  
    MarekS6 wrote:
    I understand that current racing games allow you to assign individual keys to a specific gear?

    Yes, but only those that support steering wheels, i.e. those focused on simulation, unfortunately NFS did not support it, even the gas and brake were operated on one axis and not on separate ones ;) The clutch in the pedals is currently not very useful in simracing games, even when changing gears it is not used, but at the start, the steering angle of rotation is more useful ;) It's nice that your son hasn't lost his enthusiasm for driving because usually when someone buys someone else's steering wheel for a computer it ends quickly ... at the bottom of the wardrobe ;) The biggest fun is racing online ;)
  • #18 18618631
    ZaQ_1
    Level 9  
    madman wrote:
    unfortunately NFS did not support this

    Already the age of carbon allowed you to assign gears to separate buttons and use the clutch. Same pro street. In newer ones I don't know, but I doubt they will withdraw from it.
  • #19 18620986
    damdam

    Level 34  
    The clutch, as described above, in most competitive cars is only for moving off, dog-box or sequential boxes, they do not require the use of a clutch when changing gear, only a reliable hand ;)
  • #20 18635784
    madman
    Level 16  
    ZaQ_1 wrote:
    madman wrote:
    unfortunately NFS did not support this

    Already the age of carbon allowed you to assign gears to separate buttons and use the clutch. Same pro street. In newer ones I don't know, but I doubt they will withdraw from it.

    Well, you are probably right, I ended my adventure with NFS on NFS Shift 1 and 2, but earlier it was still NFS Porsche Unleashed ;) In Shift there was no problem with operating the steering wheel ;)
  • #21 18767779
    artin.bruyen
    Level 17  
    Cool.
    I have one question.
    How did you transfer graphics to alu by thermal transfer?
    I want to apply inscriptions to the polished parts of the cyclist, but each attempt has no effect.
    I would have to heat a lot? Do you have any other technique?
  • #22 18768244
    CMS
    Administrator of HydePark
    Mix with acetone instead of heating.
  • #23 18768697
    artin.bruyen
    Level 17  
    Could you bring the subject a little closer? I have never heard of it and I read a lot about thermal transfer.
  • #24 18769610
    CMS
    Administrator of HydePark
    Soak the printout with acetone, the proportions must be chosen experimentally (it all depends on the printer and the toner used). Then you do the same as with the thermal transfer. But in the "cold". After a few times you get to practice. After thorough drying, apply several layers of transparent varnish, dedicated to the material used for the primer.
  • #25 18769709
    Bobo[PL]
    Level 14  
    artin.bruyen wrote:
    Cool.
    I have one question.
    How did you transfer graphics to alu by thermal transfer?
    I want to apply inscriptions to the polished parts of the cyclist, but each attempt has no effect.
    I would have to heat a lot? Do you have any other technique?


    The iron method. Max heating and ironing. On average, it comes out because the surface is quite small. Well, but it looks much better than a bare disc without printing.
  • #26 18770588
    CMS
    Administrator of HydePark
    Bobo[PL] wrote:
    On average, it comes out, because the surface is quite small.


    Therefore, in such cases the "cold" method works better, eg with acetone.
  • #27 18783281
    artin.bruyen
    Level 17  
    Thank you very much. I will try. Sorry to thank you for your reply after a few days but no time. Once again, thank you very much ;)
  • #28 18895165
    CooperativeArtist
    Level 2  
    Hello, I am very impressed with your project and I would like to build a similar one, but I have a question about the SKRS gear switch, which imitates the gears in heavy goods vehicles. Is it possible to change the knob to one with the SKRS software, so that there are half-gears, or only full gears are possible, as for you?
  • #29 18897833
    Bobo[PL]
    Level 14  
    The current software does not provide SKRS functionality, but nothing is impossible ;) - the matter of modifying the arduino software and adding switches.
  • #30 18898579
    CooperativeArtist
    Level 2  
    Thank you for your answer, if I manage to do similar to you, I will combine with the SKRS switch.
    best regards

Topic summary

The discussion revolves around a DIY USB H-shifter project for sim racing, created by a user for their son. The construction primarily utilized materials from the garage, including eyelet plates, a roller from an old printer, and springs sourced from a junkyard. The project took approximately 14 months to complete, with an Arduino Pro Micro (Atmega32u4) serving as the controller. The shifter features individual microswitches for each gear, allowing the controller to detect gear changes accurately. Users expressed admiration for the project, discussing its mechanical and electronic integration, and inquired about compatibility with various steering wheel and pedal setups, specifically mentioning the Logitech Driving Force GT. The conversation also touched on the thermal transfer method used for graphics on the aluminum plate and the potential for modifying the software to support additional functionalities like SKRS gear switching.
Summary generated by the language model.
ADVERTISEMENT