Elektroda.com
Elektroda.com
X
Elektroda.com

USB PC gearbox (Simracing H-Shifter)

Bobo[PL] 11400 29
This content has been translated » The original version can be found here
  • 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)


    Link

    Cool! Ranking DIY
    Can you write similar article? Send message to me and you will get SD card 64GB.
    About Author
    Bobo[PL]
    Level 13  
    Offline 
    Bobo[PL] wrote 133 posts with rating 252, helped 2 times. Live in city Zabrze. Been with us since 2006 year.
  • #2
    krisRaba
    Level 30  
    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
    ArturAVS
    Moderator of HydePark/Cars
    Too hard running does not fall? Damn, I would do something like that, but I can't drive with one hand.
  • #4
    Bobo[PL]
    Level 13  
    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
    madman
    Level 14  
    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
    error105
    Level 13  
    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
    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
    Bobo[PL]
    Level 13  
    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
    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
    Bobo[PL]
    Level 13  
    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.


    USB PC gearbox (Simracing H-Shifter)

    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
    Log in, to see the code



    Mounting details:
    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)


    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.
  • #11
    indianka
    Level 14  
    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
    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
    Bobo[PL]
    Level 13  
    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
    romulus73
    Level 22  
    The coolest project I've seen lately, treats for the idea.
  • #15
    ZaQ_1
    Level 6  
    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?
  • #16
    Bobo[PL]
    Level 13  
    @ 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
    madman
    Level 14  
    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
    ZaQ_1
    Level 6  
    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
    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
    madman
    Level 14  
    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
    artin.bruyen
    Level 16  
    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
    CMS
    Administrator of HydePark
    Mix with acetone instead of heating.
  • #23
    artin.bruyen
    Level 16  
    Could you bring the subject a little closer? I have never heard of it and I read a lot about thermal transfer.
  • #24
    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
    Bobo[PL]
    Level 13  
    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
    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
    artin.bruyen
    Level 16  
    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
    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
    Bobo[PL]
    Level 13  
    The current software does not provide SKRS functionality, but nothing is impossible ;) - the matter of modifying the arduino software and adding switches.
  • #30
    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