Force Feedback Steering using Cheap Arduino Encoder | DIY Sim Racing Wheel with Low Price Encoder

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • Hello guys,
    This video will clear your doubt on using cheap Encoder over expensive one used in our tutorial.
    -*-*-*-*-*-*-*-*-*-*-*-*
    Related FFB tutorials:
    Part-1(Analog Racing Pedals) : • DIY Sim Racing Pedals ...
    Part-2(Force Feedback Steering hardware) : • DIY Force Feedback Ste...
    Part-3(Software & Circuit Connections) : • DIY Force Feedback Ste...
    Part-4(Paddle Shifters) : • Paddle Shifters for DI...
    Part-5(Gaming Rig) : • DIY FFB Sim Racing Rig...
    Part-6(Hand Brake) : • DIY Analog Hand Brake ...
    Part-7(H-Shifter) : • DIY 6 speed H-Shifter ...
    Complete FFB Playlist: • FFB (Force Feedback Ga...
    Simple Non FFB wheel(UnoJoy): • Arduino UnoJoy Steerin...
    *-*-*-*-*-*-*-*-*-*-*-*-*
    Components I have used:
    Arduino Leonardo: www.flyrobo.in...
    BTS7960 motor driver: www.flyrobo.in...
    2-phase 600 PPR rotary encoder: robu.in/produc...
    24v, 250W Ebike motor: amzn.to/42QukBB
    B10K potentiometer: www.flyrobo.in...
    OR
    Arduino Leonardo: amzn.to/42Oh68e
    BTS7960 motor driver: amzn.to/3nGMeXJ
    *-*-*-*-*-*-*-*-*-*-*-*-*
    Follow us on Instagram :
    / tech_at_home
    Like us on Facebook :
    / tech-at-home. .
    #gamingrig #simracing #logitech #gamingsetup #emc #forcefeedback #arduinoprojects #unojoy #ets2gameplay #gamingwheel #directdrive #forzahorizon5 #beamngdrive #motionsimulator
    Thanks for watching!
    *Like Share and Subscribe

КОМЕНТАРІ • 99

  • @shibesaravanan8698
    @shibesaravanan8698 9 місяців тому +7

    Bro One small request can you make a small 2 to 5 Min video especially for detailed wiring connections for aurdino board to the rotary encoder.?? It's little bit tricky for me.!! i hope some viewers also have problem on it those also get help from it.!!

    • @techathome
      @techathome  9 місяців тому +2

      I have already made a video on detailed connections: ua-cam.com/video/crdDhvhBG0M/v-deo.html

    • @shibesaravanan8698
      @shibesaravanan8698 9 місяців тому

      @@techathome 🥰 Ok sure I'll check it out bro.!!

  • @romualdocaseroles9664
    @romualdocaseroles9664 8 місяців тому +2

    Old trackball Mouse encoders could be a cheap and very durable Alternative. I think The challege often comes from the associated electronics. And with Arduino its just another digital input to process. i guess

  • @jdk8787
    @jdk8787 9 місяців тому +4

    Interesting. It looks like it might work with different size gears for the belts, and update the programming to match.

    • @techathome
      @techathome  9 місяців тому

      May be it will work, but not as good as high PPR encoders.

  • @SianaGearz
    @SianaGearz Місяць тому

    There is version of the encoder component that doesn't have detents but rotates smoothly. Unfortunately, step count isn't high. You can also make it from the standard detented one i think by taking it apart and removing the click spring thing.
    Another item of use is a $4 optical encoder with 100 slots, lasered steel. As opposed to industrial type it is open, and you have to make your own enclosure to shield it from light, and also come up with shaft mounting and the like. Unfortunately i think you want about 400 steps per revolution or more. The 600 step encoder was a good choice.
    So whether you use the 20/24 step mechanical encoder or 100 step optical encoder, you will need to gear them down. The mechanical encoder needs to be geared down a lot. The cheap optical encoder will need a modest amount of gearing.

    • @techathome
      @techathome  Місяць тому

      According to gaming community blogs, recommended is 1000 PPR or more.
      Because of cost, I went with 600.

    • @SianaGearz
      @SianaGearz Місяць тому

      @@techathome Logitech DFGT has 768 ppr (geared 60-slot encoder). Logitech G-series wheels have 490 ppr (30-slot encoder). Furthermore the encoder on G-series is coupled directly to a motor as opposed to the steering wheel shaft, which gives the wheel a characteristic and somewhat undesirable backlash or deadzone near the steering centre. I think in a belt driven wheel with correct belt preload, you're not going to feel that backlash at all.

  • @ElectronDuino
    @ElectronDuino Місяць тому +1

    you could use a magnet with a hall sensors so it'd be more precise you you wouldn't feel the clicks of the encoder.

    • @techathome
      @techathome  5 днів тому

      In this Orange encoder I don't feel clicks but the cheap one has that.

  • @Upendra-dd9vi
    @Upendra-dd9vi 7 місяців тому

    Thank you much for this video.
    I am done with this setup but at last motor is not working.
    I did all basic testing for motor and driver as per your tutorial and tests are successful. Could you please suggest?

    • @techathome
      @techathome  7 місяців тому

      1. Check if feedback is working inside game.
      2. Also check, if digital pins used for motor control are working(First convert back to normal Arduino).
      - Check if LED blink works on pin8.
      - Check if LED fading works on pin9 and pin10.

    • @Upendra-dd9vi
      @Upendra-dd9vi 6 місяців тому

      Thank you bro.
      It started working now. Reinstalled emc and hex file.

  • @CheeseLocalll
    @CheeseLocalll Місяць тому

    would recommend if theres no lag and a (mine doesnt have) i would recommend using a small pulley and attaching that pulley into the 20 ppr encoder and attach another pulley for bigger like 5:1 or 3:1 making it 80 ppr or more

    • @SianaGearz
      @SianaGearz Місяць тому

      80 is still very little. You want 400 step or more. 5:1 is a good ratio for cheap optical slot encoder (open type, no shaft, no enclosure) with 100ppr that you can buy for around $4.

  • @alfu3576
    @alfu3576 5 місяців тому +2

    bro can i use this same hex file but instead use a magnetic rotary encoder i prepared myself? i wanna use something like as5600.

    • @techathome
      @techathome  4 місяці тому

      I don't have idea on sensor you have mentioned
      But the requirement for this SW is digital inputs. In encoder there are two phase pins A and B which are connected to digital pins of Arduino.
      There is 90 degree phase shift between these two phases.

    • @majumanuel871
      @majumanuel871 4 місяці тому

      Did that worked bro?

  • @UnderworldAvengers
    @UnderworldAvengers 2 місяці тому

    im doing a DIY and already have an 600p/r encoder like yours, would be better, accurate and will it work if i do use a 2k+ encoder? because if 2:1 with belt i generate 1200 not that much accurate and if i do use a 2000, 2500, 3000 would that be way better, dont?

    • @techathome
      @techathome  2 місяці тому +1

      Yes using higher PPR value will increase wheel sensitivity, you can go with that.

  • @jerwinapolinar3022
    @jerwinapolinar3022 День тому

    What is most recomended rotary encoder PPR???

  • @dj-amaral
    @dj-amaral Місяць тому

    Hello, How many x4 PPR did you configure EMC Lite with the encoder module? Regards, I await your response.

    • @techathome
      @techathome  Місяць тому

      Mine is 600 PPR encoder.
      In EMC, we have to add CPR value(Ppr *4)
      So the configured value is 2400.
      Refer this video: ua-cam.com/video/crdDhvhBG0M/v-deo.htmlsi=R5z-DBJuYA6EuDih

  • @staticz_drago8530
    @staticz_drago8530 3 місяці тому +1

    Can we use a gear ratio to increase the ppr value?

  • @kristof3031
    @kristof3031 9 місяців тому +1

    I have problem with the software, after i centered the wheel to 0degree, and i turn it once or twice again at any direction , i can see that it say 0deg and the wheel is not centered in real life , force feedback is not applied yet, just testing , my setting for encoder in emc is 2400cpr and 2pwn+1dir.

    • @kristof3031
      @kristof3031 9 місяців тому

      i always need to recenter it again and again in emc while playing games.

    • @techathome
      @techathome  9 місяців тому

      Yes, At least in EMC utility Lite we have to manually set the centre before starting the games.
      Motor not involved in centering the wheel like Logitech.
      I don't have information whether paid version(EMC utility pro) has that option or not, see if you get something in EMC facebook page.

    • @kristof3031
      @kristof3031 9 місяців тому

      @@techathome the centering goes off by time after using in game.

  • @verycoolthings6880
    @verycoolthings6880 5 місяців тому

    Hey bro, did you use a bread board or did you just twist the wires together?.

    • @techathome
      @techathome  5 місяців тому

      Directly twisted wires

  • @yiruma2835
    @yiruma2835 9 місяців тому

    Hello, I have the same motor and controller for my diy ffb wheel, my motor is stronger/faster in one direction, is that normal?
    Do you think my motor is faulty?

    • @techathome
      @techathome  9 місяців тому

      No motor will not be faulty.
      If you are seeing this while playing game, may be feedback from the game is that way.
      Also you can check your motor and driver referring to this video: ua-cam.com/video/H2YJRaaXFIM/v-deo.htmlsi=vmyQyzH5wSb6-Q0r

  • @OlegGG0625
    @OlegGG0625 Місяць тому

    Do i need power supply and whay kind of powersupply how many amps and volts? If im using 24volts 250wats ebike motor?

    • @CheeseLocalll
      @CheeseLocalll Місяць тому +1

      match it as 24v 250w and if you add a fan i would recommend 24v and 300 watts and the 24v fan cuz 12v cant yk

    • @OlegGG0625
      @OlegGG0625 Місяць тому

      @@CheeseLocalll how many amps?

  • @tanjidahamed9142
    @tanjidahamed9142 7 місяців тому +1

    If i use the cheep encorder will the force feed back work??

    • @techathome
      @techathome  7 місяців тому +1

      Force feedback will work.
      But steering feels lag, difficult to play games.

    • @saswattiwaria7358
      @saswattiwaria7358 5 місяців тому

      @@techathome what if we use smaller gear in potentiometer and big gear in drive shaft that will increase the amount of rotation plsss try it i am planning on making this

  • @d.karthikcreations3204
    @d.karthikcreations3204 4 місяці тому

    Can we use stepper motor instead of encoder coz its very costly 🙂?

  • @brayanosorioamariles72
    @brayanosorioamariles72 6 місяців тому

    Are the diodes mandatory or there is no problem if I don't put them in👍

    • @techathome
      @techathome  6 місяців тому

      Are you referring to resistors?
      They are mandatory.

    • @xiwyx2200
      @xiwyx2200 Місяць тому

      you don't need to use the extra resistors with this cheap encoder as it already comes with them (you can see them on the bottom / back side)

  • @REDINK-gt4hw
    @REDINK-gt4hw 4 місяці тому

    hello bro will this work on all racing games

    • @techathome
      @techathome  4 місяці тому

      As of now I have not tried many games

  • @bossoy0769
    @bossoy0769 7 місяців тому

    Hello so can i use the 600ppr Encoder without force Feedback with arduino Uno?

    • @techathome
      @techathome  7 місяців тому

      This FFB wheel tutorial is different from Arduino Uno based wheel.
      Both use different software and arduino boards.
      For Arduino Uno, only potentiometer works.

    • @bossoy0769
      @bossoy0769 7 місяців тому

      @@techathome sorry my Bad Bro im new to this arduino i meant the Leonardo thing without Force Feedback

    • @modthaviphon3871
      @modthaviphon3871 7 місяців тому

      I cannot find orange industrial motor like yours. Can I use other color?

    • @bossoy0769
      @bossoy0769 7 місяців тому

      @@modthaviphon3871 i dont think the Color matters just Make sure that it has high ppr the higher the better 👍

  • @gamanbhaipatel5597
    @gamanbhaipatel5597 4 місяці тому

    Can we use mouse scroll wheel as a encoder

    • @techathome
      @techathome  4 місяці тому

      Wheel might be less sensitive.
      You can try to use.

  • @AndyMcGeever
    @AndyMcGeever 6 місяців тому

    Just change the gearing. An encoder just produces pulses, a 60 PPR encoder becomes a 600 PPR encoder with 1/10 gearing.

    • @techathome
      @techathome  6 місяців тому

      But I feel the expensive encoder is soo smooth and sensitive.

    • @JohnWardButOn420
      @JohnWardButOn420 3 місяці тому

      ​@@techathomeHe means gear ratios, by making the gear ratio 10/1 we can make 600ppr encoder for cheap

  • @mohammedfarhan2205
    @mohammedfarhan2205 9 місяців тому

    when is the h shifter coming

    • @techathome
      @techathome  9 місяців тому

      Next video will be on Analog Handbrake. After that you will get video on H-Shifter.

  • @sukunasatoru
    @sukunasatoru 3 місяці тому

    bro is there any code to upload at arduino because i did every single step as u said but when i try to rotate the encoder it shows 0 degree please help me

    • @techathome
      @techathome  3 місяці тому +2

      Watch all videos from this playlist: ua-cam.com/play/PL4B0LEKY-jrROPZPEDMZ4DPqISPXvVsdL.html&si=3cBz0t35epM1mBs5

    • @sukunasatoru
      @sukunasatoru 3 місяці тому

      @@techathome sir i watched all the videos and followed step by step but still this is happening

  • @jaydebkarmakar624
    @jaydebkarmakar624 9 місяців тому

    Can you use printer disk encoders ?

    • @techathome
      @techathome  9 місяців тому +1

      Initially I thought of using them, but couldn't get in my place.

    • @nurramafarisardiansyah263
      @nurramafarisardiansyah263 9 місяців тому +1

      @@techathome I use a Canon IP2770 printer encoder, which is inexpensive and effective, perhaps you can give it a try.

    • @techathome
      @techathome  9 місяців тому

      Can you share product link, Not able to find.

    • @alfu3576
      @alfu3576 5 місяців тому

      Can u share a link?​@@nurramafarisardiansyah263

    • @arnold6193
      @arnold6193 2 місяці тому

      @@nurramafarisardiansyah263 does it have lag and have deadzones
      like cheap potentiometer or cheap rotary encoder as shown in the video

  • @bossoy0769
    @bossoy0769 7 місяців тому

    Hello, can i just use a 775 motor too?

    • @techathome
      @techathome  7 місяців тому

      You can use any DC motor, but pulleys should be selected properly

    • @bossoy0769
      @bossoy0769 7 місяців тому

      @@techathome Alright then i have some pulleys so shouldnt be a problem thanks for your help

  • @maxxorcf7641
    @maxxorcf7641 9 місяців тому

    Is it sensitive enough?? Or it will give me an awful experience?!

    • @techathome
      @techathome  9 місяців тому

      You cannot use the smaller one shown in the video.
      Go with 600 PPR one or if you can extend budget you can go with 1000 PPR encoder.

  • @achel3029
    @achel3029 9 місяців тому

    hey bro can you make a h shifter video

    • @techathome
      @techathome  9 місяців тому

      Next video will be on Analog Handbrake. After that you will get video on H-Shifter.

  • @C4NTV
    @C4NTV 7 місяців тому

    i have a same setup this but i have 1000rpm encoder i install everyting but my motor is not working i tested motor i give only volt motor and its working every part is brand new i dont understand my motor its not working help me please

    • @techathome
      @techathome  7 місяців тому

      BTS driver might be faulty, follow these steps to check: ua-cam.com/video/H2YJRaaXFIM/v-deo.htmlsi=CIRs3NM3dW-hy5SP

    • @Upendra-dd9vi
      @Upendra-dd9vi 7 місяців тому

      Did you get any fix for this? Facing same issue.

    • @C4NTV
      @C4NTV 7 місяців тому

      @@Upendra-dd9vi nope i cant i searching everyday

    • @vioo-ru1jt
      @vioo-ru1jt 7 місяців тому

      ​@@techathomehelp me bro, why the emc driver is not detect, i already installed the firmware to arduinu

  • @AvneeshRahangdale
    @AvneeshRahangdale 16 хвилин тому +1

    Please I need Arduino code

  • @thejuviswam860
    @thejuviswam860 7 місяців тому

    Which power supply do I use to power

    • @techathome
      @techathome  7 місяців тому

      Depends on your motor specifications.

    • @Sardify
      @Sardify 7 місяців тому

      Hello​@@techathome

  • @d5tscript797
    @d5tscript797 4 місяці тому

    Bro i have l298n driver so how can i wirring it? Pls

    • @techathome
      @techathome  3 місяці тому +1

      Select this configuration: 1PWM + 2DIR
      pin9 for PWM
      pin 8 for DIR L
      pin 11 for DIR R
      Send mail if you need more info: deepakhd20@gmail.com

    • @d5tscript797
      @d5tscript797 3 місяці тому +1

      @@techathome it works but some time it not working and it only turning one side only. I just made circuit only for testing and model soon. The driver become hot also.

    • @techathome
      @techathome  3 місяці тому +1

      Which motor are you using?

    • @d5tscript797
      @d5tscript797 3 місяці тому +1

      @@techathome unknown 12v motor it just written UET

  • @Sardify
    @Sardify 7 місяців тому

    How much torque does this produce? and where can I contact you? whatsapp?

    • @techathome
      @techathome  7 місяців тому

      Before pulleys-
      Motor Rated Torque : 0.87 Nm
      Motor RPM: 2650
      Input pulley teeths(at motor): 15
      Output pulley teeths(at steering shaft): 60
      Ratio(Output / Input)- 4:1
      After pulleys -
      Output RPM: 662
      Output torque: 3.48 NM
      You can reach us on Instagram.

  • @newstudios8171
    @newstudios8171 9 місяців тому

    Sir please update this steering wheel with budget hardware because we also want to make this less money 😭😭🙏🙏
    Please I request you 😭😭🙏🙏

    • @techathome
      @techathome  9 місяців тому

      You can reduce costs -
      1. No need of pulleys and belt for encoder. You can directly connect at the end of steering shaft.
      2. Using cycle chain and sprocket instead of timing belt and pulleys for motor.
      3. Use 100W or 150W motor, but mine is 250W which I already had.
      4. Some old steering wheel can be used, Here I bought new wheel.

  • @diy_for_all
    @diy_for_all 6 місяців тому

    can you give me the arduino code i want to use the encoder and a 1/20 gear

    • @techathome
      @techathome  6 місяців тому

      ua-cam.com/video/crdDhvhBG0M/v-deo.htmlsi=lW8WzXWEnjzJMAeH

  • @umangikisanjali6171
    @umangikisanjali6171 9 місяців тому

    Bro please give gimx adapter for this

    • @techathome
      @techathome  9 місяців тому

      I have read about GIMX connector, but I will take some time to make video on this.