| DIY | FFB steering wheel part 2 | Upload the Firmware |Sim racing

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.ค. 2022
  • In this tutorial, I will teach u how to upload the firmware to the Arduino board and the important software needed for this project step by step.
    LINKS
    All in one- drive.google.com/drive/folder...
    Arduino driver - www.arduino.cc/en/software
    XLoder - drive.google.com/file/d/1-Bzv...
    Hex file-drive.google.com/file/d/1-1Wh...
    Wheelconfig- drive.google.com/file/d/1yqYq...
    (if this did not work try this- This is the original link- this does not work to me but some regions might be able to open this site - www.aiwave.fr/wc_updates/1033/...)
    I recommend you try to use my link it's easy.
    Circuit diagram- drive.google.com/file/d/1--3Z...
    All the credit goes to @mypc-id @AgaYuditraStudio @ebolzzable
    when you are opening wheel config make sure you are opening "wheel config Dev " there are 2 applications inside it, u may not see them in there but you can search in the search bar( type wheelconfig ) and get it! If you get an error message while installing Wheelcinfig software I suggest you change the installing location to another drive and install it.
    Item list
    12v dc gear motor- www.aliexpress.com/item/40005...
    Timing pully- www.aliexpress.com/item/32781...
    Arduino Leonardo- www.aliexpress.com/item/40010...
    Motor Drive(BTS7960)r- www.aliexpress.com/item/40000...
    Encoder- www.aliexpress.com/item/32850...
    There are many encoders if your encoder has 5 wires it means the other wire is for the Z, one for the 5v(VCC), the other for the GRD, other 3 are A, B, and Z. since I have used 4 wired encoder I have to use a toggle switch for the Z.
    If u have any questions feel free to ask in the chat, I will do my best to fix your problem.
    thank you and help me to grow my TH-cam channel.❤
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 109

  • @JonathanST_94
    @JonathanST_94 ปีที่แล้ว +1

    you earned a subscriber friend there were things that no one else explained the firmware version came out 0.0 and I didn't know what to do and you solved the problem good contribution

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      I'm glad u solved your problem.❤ and thank you.

  • @21_luthfanakbar33
    @21_luthfanakbar33 ปีที่แล้ว +3

    i've been looking for wheel config software, but everywhere in the internet the download site just could'nt work! im so glad that you have this google drive link, its awesome and you make my day! thankyou!

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      You are welcome 😊 yeah its pretty hard to find.

    • @21_luthfanakbar33
      @21_luthfanakbar33 ปีที่แล้ว

      @@charliegaming766 thanks alot! :D

    • @MaxC_1
      @MaxC_1 ปีที่แล้ว

      I personally found it from the original thread on xsimulator which had all the files straight from the author

  • @charliegaming766
    @charliegaming766  ปีที่แล้ว

    @LoLac Cro Thank you for your feedback due to some kind of an issue I cannot read your entire comment. I will look into it and give a solution soon as possible. Thank you for your patience.

  • @malithanuradha3333
    @malithanuradha3333 ปีที่แล้ว

    ✌🏻😍✌🏻 Great videos Charlie. 😃

  • @buddhikadanajaya6919
    @buddhikadanajaya6919 ปีที่แล้ว

    All the best ❤️ gg boi :3

  • @jordimartinez981
    @jordimartinez981 ปีที่แล้ว +1

    million of tutorial to this and this its the unique video usefull

  • @charliegaming766
    @charliegaming766  ปีที่แล้ว +1

    @Lolac Cro I have uploaded the zip file of the wheelconfig to the drive, Try to uninstall the previous one properly and re-install it. if you get an error message while installing try to install it to a different location. One of my friends had that issue and that method solved the problem, search for wheel config in the search bar you will see the same icon named "Dev" if that did not work try to download the software from where I got it, I will put it in the description.

  • @admiralgaming3430
    @admiralgaming3430 4 หลายเดือนก่อน

    Does a generic Leonardo board work the same way or do I need only the original Arduino Leonardo

    • @charliegaming766
      @charliegaming766  4 หลายเดือนก่อน

      I hven't tried. It it may work but force feedback may not work properly. Its better if you can user th original board.

    • @admiralgaming3430
      @admiralgaming3430 4 หลายเดือนก่อน

      @@charliegaming766 thank you very much

  • @mahmutcaliskan1221
    @mahmutcaliskan1221 ปีที่แล้ว

    Hello i connected everything but on wheel config the rotation doesnt show but on emc i can see the rotation and my motors only runs one direction i am using bts7960 20a. also sometimes motors just keeps spinning why would that be?

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      the reason the motors keep spinning is because your software thinks your encoder is not in center so until it become center it keep spinning. Due to your encoder is not working properly it is not stop spinning. make sure your connections to the encoder is right ( no loose connections) and i found a mistake in my diagram in force feedback section and i will update the drive image. your problem is in the encoder see what is the issue. most of the time it may not connected to the right ones( vcc , GRD , phace A,B,Z). i have not touched emc but its better if you could stay with wheel config because i can help. try re installing the software see whether one of those methods will fix the problem.

  • @godx77gaming3
    @godx77gaming3 ปีที่แล้ว +1

    super💪

  • @rex_rubus
    @rex_rubus หลายเดือนก่อน

    Hello, i have made a ffb steering wheel same as other a motor, ibt2, and Arduino Leonardo with 3 pedal based on potentiometer, 7 button shifter plus more button I want to add as ets/ats2 need more than 7 gear and for drifting I want to add a load cell handbrake (hx711)
    What firmware do need to ?
    How can I use these all
    Future upgrade can be a 100kg loadcell to brake pedal
    Please help i am just one step away

    • @charliegaming766
      @charliegaming766  หลายเดือนก่อน

      Long thing short , you need more buttons right ? I never tried it but. If you can use another leanado board and use the emc utility software as the secondary set, it has a deferent firmware and u need upload it to the board the same way u did this. Then connection the buttons to the secondary board and plug it to the pc.then run both emc utility software and wheelconfig software you are using. It should take as 2devices and you can use the secondary board buttons for your liking.from this method ,You can use the handbrake too it takes a analog input i think(load cell handbrake ) you got to do an experiment. Goodluck

  • @bayuanggara5097
    @bayuanggara5097 ปีที่แล้ว +1

    Thanks 🙏👍👍

  • @thronex4741
    @thronex4741 4 หลายเดือนก่อน

    What exactly is the code in the hex file? Is it like serial communication code for the buttons we press?

    • @charliegaming766
      @charliegaming766  4 หลายเดือนก่อน

      Something like that. Its like the middle man of the software and the hadware. Without it, wheelconfig cannot recognize your buttons and the encoder readings.

    • @charliegaming766
      @charliegaming766  4 หลายเดือนก่อน

      The hex file could be different from one software to another , this one is spesifc for the wheelconfig software.

  • @AnimePhilippines
    @AnimePhilippines 2 หลายเดือนก่อน

    Can you help me whenever i turn my wheel left or right it move slighly ang keep coming back to the center
    I tried to code my other arduino to read the encoder and its work fine but not in the software
    Did i do somthing wrong
    Or do i missing something like z toggle
    i read it in the comment section
    I connect A - 0
    B -1
    GND - GND
    V0 - 5V
    I dont know the V0 in my encoder i just read the description from where i buy it
    Also can you send me youur circuit diagram your link is not working
    I hope you can help
    Thank you Very much

    • @charliegaming766
      @charliegaming766  2 หลายเดือนก่อน

      Most probebly this kind of a issue can happen because of your encoder. If it is not aligned properly this can happen. Can you join the discord and send me a image of your encoder! Look at the video descriptions one f them have a link to my drive . It has the diagram and some useful references. Goodluck . Discord link is available in the community section.

  • @kasunvishvajith8451
    @kasunvishvajith8451 ปีที่แล้ว +1

    can i use another potentiometer as printer encorder for steering wheel

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว +1

      Yes u can. You need 2 potentiometers for this but the only problem is you can turn a limited rounds. I tried it it works accurately. But u have to risk 2 of 3(accelerator , brake, clutch )

    • @kasunvishvajith8451
      @kasunvishvajith8451 ปีที่แล้ว +1

      @@charliegaming766 can i use rotary encorder module with push button instead of using printer encorder for steering wheel

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      @@kasunvishvajith8451 yes u can use a rotory encoder But i havent tried it, why push button ?

    • @kasunvishvajith8451
      @kasunvishvajith8451 ปีที่แล้ว +1

      @@charliegaming766 that's it name "rotary encorder module with push button"

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      @@kasunvishvajith8451 got it👍

  • @tygcortezvevo1441
    @tygcortezvevo1441 ปีที่แล้ว

    Hello does this have a x and y axis? I need to axis for flight simulator yoke. Can you please help?

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      Yes this have a x axis and a Y axis but im not sure how accurate this will be for your project. How can i help u?

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      If your flight simulater yoke has a rotatonal motion input u can use it as well. U can use for 3 analog inputs like acceleration,brake. And you can have 9 digital inputs from this ! I think you can cover a big roll from this.

    • @tygcortezvevo1441
      @tygcortezvevo1441 ปีที่แล้ว

      Yes I only need to potentiometer for the the x and y. But my main concern is about the force feedback. I will need 2 motors instead of 1. Meaning there will be one motor for x axis and one for y axis

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      @@tygcortezvevo1441 thats a great idea.with some effort, Yes you can defenitly do it.

    • @tygcortezvevo1441
      @tygcortezvevo1441 ปีที่แล้ว

      @@charliegaming766 where to connect the second motor? Which pins

  • @enzobarcella6686
    @enzobarcella6686 ปีที่แล้ว +1

    hey, how to find a printer encoder?

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      You need to look inside of a broken printer or find a printer encoder online, it will be much easier if you clould search on ebay or alliexpress. Alliexpress is cheaper than ebay. Link for the encoder is given in the description.

  • @Rotating_Wheels
    @Rotating_Wheels ปีที่แล้ว

    Right side encoder rotation not reading in wheelconfig please help

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว +1

      Could be few issues for this. Your encoder disk is not properly aligned with the sensor or your wires may have loose connection or your encoder is not working properly. Comen issue is the alignment.

    • @Rotating_Wheels
      @Rotating_Wheels ปีที่แล้ว

      @@charliegaming766
      I think the problem with my windows I use win 7
      I previously make this project using an Arduino pro micro with an disk encoder I face this problem after that I decide to change my board because of that problem I buy a new Arduino Leonardo R3 board and 600 ppr orange encoder but now also I face this problem

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว +1

      @@Rotating_Wheels are you sure you imported the firmware correctly ? And can you see the version 0.16 in the wheelconfig ? Try re installing wheel config that i have uploaded to my drive(link in the description ) if you are still using win 7 that could be the issue.. win 7 do not have new updates.. try installing win 8 or above.. you might get it to work.

  • @junkiesc2381
    @junkiesc2381 ปีที่แล้ว +1

    Awesome video💯💯💯.Hi,bro.I googled for a long time, but i didn‘t find wheel config Dev.I cant open the original link of wheel config in your description.Could you give me a link to download it?Thx🥰🥰🥰

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      Thank you for your feedback it means alot to me❤ here is the original link that used in the channels i've mentioned in the description ( www.aiwave.fr/wc_updates/1033/WheelConfig_0.21.exe ) but this one does not work to me idk why. But the link i provided in the description works fine. Coz its in one of my drives. Try both if u have any question feel free to ask i'll try my best to help you. 😊

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      If you have already installed the software just search after pressing the windows button "dev" you should see it. If not try reinstalling it to a different location like to a nother dirve. If that did nit work download from somwere else and try again. My google drive linked software works fine. Change the defoult install location and then install. Good luck. ✨

  • @sudiptmandal5607
    @sudiptmandal5607 ปีที่แล้ว +1

    what is the encoder ppr value u have set?

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      900 but it depends on each encoder. If you use a lower value you can see the triangle routation is fast if u increase the ppr value you triangle spins slower in ref wheelconfig.

    • @sudiptmandal5607
      @sudiptmandal5607 ปีที่แล้ว +1

      @@charliegaming766 THANK YOU SO MUCH FOR REPLAYING

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      @@sudiptmandal5607 you are welcome

  • @gayantharuka1868
    @gayantharuka1868 ปีที่แล้ว

    ❤️❤️❤️

  • @vansanglam5230
    @vansanglam5230 17 วันที่ผ่านมา

    Please tell me how to fix my steering wheel being misaligned when using force feedback. I hope you can help me😢😢😢

    • @charliegaming766
      @charliegaming766  16 วันที่ผ่านมา

      Have you go through the comments , i have explained alot of them For same.kind of issues.. please go through them if you did not find what you looking for give me more infor i'll try to help you much as possible.

    • @vansanglam5230
      @vansanglam5230 16 วันที่ผ่านมา

      @@charliegaming766 I turned it 45 degrees and it turned off the power, then turned it back on and it was off center

  • @poornasandakalum8983
    @poornasandakalum8983 ปีที่แล้ว

    How can I use ky-040 rotary encorder insteed of printer encorder..??

    • @poornasandakalum8983
      @poornasandakalum8983 ปีที่แล้ว

      It is hard to find a printer encorder in our country.. Please help me to fix this. I connected all the other parts and they are working properly thanks to you..❤️❤️

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      @@poornasandakalum8983 im so glad to here and congratulations yu made it this far. I will help you. ❤😊
      I have never used this ky-040 rotary encoder but it should work. I have uploaded a photo of this encoder(link i the discription) try to connect it that way. Since i have never done that i cannot garentee it is 100% working. But i believe it work just luke normal encoders. Do not give more than 5 v to the vcc. You have to find a way to connect it to tge steering wheel axel.

    • @poornasandakalum8983
      @poornasandakalum8983 ปีที่แล้ว

      It doesn't support to wheel config.

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      @@poornasandakalum8983 im sorry to hear that.

  • @junkiesc2381
    @junkiesc2381 ปีที่แล้ว

    if i open Wheel configuration i can't see the last three squares: "Wheel State","Statistics", Drive Control".If i Press "Calibrate" Button in the "Steering" section,the device status changes to "searching index"and after 10/20 seconds It change in "Calibration error".What should i do?Thx🥰🥰🥰

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      You cannot do it without "dev" first solve that issue then you will solve 50% of your problems. I tried with wheelconfig but it doesn't work you need that "dev". That could be a reason you get a callibration error or your encoder is pluged in a wrong way or loose connection. Check the connection well. First try to fix the dev. The ways i told you. I'm trying to make a full video about this but i couldn't find a encoder ,still searching for a one.

    • @junkiesc2381
      @junkiesc2381 ปีที่แล้ว +1

      @@charliegaming766 bro, i'm successful✌.Thx for your tutorial🥰🥰🥰

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      @@junkiesc2381 congratulations ,i'm so glad to hear that 😊 good luck on your project ✌

    • @mohamadzarka9920
      @mohamadzarka9920 ปีที่แล้ว

      @@junkiesc2381 i have same problem how did you resolve it please?

    • @junkiesc2381
      @junkiesc2381 ปีที่แล้ว

      @@mohamadzarka9920 callibration error ?youtube search "Steering Wheel : Calibration Error dan Setir Berputar Terus Menerus" or "Cheap DIY Arduino Force Feedback (FFB) Sim Racing Steering Wheel (under 250HKD, better than G27!!!)" you'll get it.

  • @mahamantraghosh8543
    @mahamantraghosh8543 ปีที่แล้ว

    bring part 3 quick......i bought the same encoder like yours but facing problem.....help

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      How can i help you? What is the problem you are having ?

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      Im still working on my project, it's not finished yet. I'm also having a problem with my encoder so im looking for a new one. But i may be able to help your problem coz i have some expiriance with encoders . I have done some experiments and i accidentally burnt one of my encoders.

    • @mahamantraghosh8543
      @mahamantraghosh8543 ปีที่แล้ว +1

      @@charliegaming766 i've used the same encoder as showin in this video but it dosent work smoothly like shown in videos of mypc yt channel.....it gets disconnected often and when ever i give the power the motor starts to run on its own and doesnot stop...facing many errors like this...please help.....can i contact you i whatsapp or somthing? it would be easier to communicate then....i need some help bro

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      @@mahamantraghosh8543 I think we both are having the same problem. the problem with this encoder is it works only for one place, like the sweet spot. if you can design a 3D printed part or something it may solve the problem. the reason your encoder disconnects is that when it rotates, the distance between the disc and the sensor changes. that is one of the main reasons that the software stops showing it rotates & for the smoothness. I recommend you disconnect the motor (force feedback unit) until you fix the encoder problem because only from the encoder the computer knows your steering wheel position. if it's not working properly the motor is spinning until the encoder comes back to the center wheel position. and if it did not work I strongly recommend you to find a build in encoder that the encoder sensor and the disc are fixed together. currently, I am looking for a different encoder. I will bring a video about encoders with my knowledge and experience. I will upload a short video look at it, I used a Canon printer encoder it works like a charm.
      if this did not help you send me an email and I will provide an easy way to communicate. email- punglanka@gmail.com thank you for sticking with us ❤

    • @souravpal4978
      @souravpal4978 ปีที่แล้ว +1

      I also have the same encoder.. sometimes it works and sometimes it won't work..it only works on one direction

  • @junkiesc2381
    @junkiesc2381 ปีที่แล้ว +1

    bro, your title is wrong. FFB steering wheel is right🥰

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      Omg thank you ❤ i didn't see it. I'll change. Thanks again.

  • @n.v.technicalgamer1039
    @n.v.technicalgamer1039 ปีที่แล้ว +1

    Next part?

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      Next part will be delayed due to my acedamic stuff. For further references you can reffer the channels i've taged in the discription of this video. Thank you.

  • @nareshidea966
    @nareshidea966 2 หลายเดือนก่อน

    Why are u using z toggle and buttons

    • @charliegaming766
      @charliegaming766  2 หลายเดือนก่อน

      Some encoders have only 4 wires. One for the 5v one for the GND , one for the phase A and the other for phase B , but to make this happen we need another phase , known as z, thats why we are using a toggle switch to do the thing what phase z does. Once you use the toggle switch it allow the software to detect the hardware when you rotate the encoder. I hope u understand. I explained simple as possible. If your encoder has 5 wires u do not need a toggle switch. U can use the other wire as z.

    • @charliegaming766
      @charliegaming766  2 หลายเดือนก่อน

      Exra buttons can be used to custumize as our liking. Like u can use them as a horn, gear shifting buttons or as a handbrake . U can map them to do anything.

    • @nareshidea966
      @nareshidea966 2 หลายเดือนก่อน

      thanks bro can we use handbrake and clutch together@@charliegaming766

    • @nareshidea966
      @nareshidea966 2 หลายเดือนก่อน

      also where did you buy the components
      @@charliegaming766

  • @NimanthaAkash
    @NimanthaAkash ปีที่แล้ว

    මේ අයියා මට ඕක හදන හැටි තේරුනෙ නෑ අනේ නට වත්සැප් නම්බෙර් එක දෙන්නකො 🥺🥺

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      අවශ්‍ය දෙයක් දැනගන්න තියනවනම් මට ඊමෙල් එකක් දාන්න. මෙ වීඩියො එකෙ අවශ්‍ය දේවල් පැහැදිලිව තියෙනවා. නොතෙරෙන තැන කමෙන්ට් සෙක්ශන් එකෙම ඇහැවොත් මෙ ප්‍රශ්නෙම තියනතව කෙනෙක් ට එක උදව්වක් වෙන්න පුලුවන්.

    • @NimanthaAkash
      @NimanthaAkash ปีที่แล้ว

      @@charliegaming766 මට වීල් එක හදනා ෆොටොස් ටිකක් ඉල්ලගන්න තියෙනව අයියගෙන්
      ඊමෙල් එකත් දෙන්නකො 🤭

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว +1

      @@NimanthaAkash මෙක පාර්ට් 1වීඩියෝ එක සම්බන්ද ගැටලුවක් ද?
      Email eka channel eke about walathiyanwa.

    • @NimanthaAkash
      @NimanthaAkash ปีที่แล้ว

      @@charliegaming766 ow

  • @Giuseppe.91
    @Giuseppe.91 ปีที่แล้ว

    this music hurts so much

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      Why is that.. does it distract u?

    • @Giuseppe.91
      @Giuseppe.91 ปีที่แล้ว +1

      @@charliegaming766 yes, i have to mute to continue to see the rest of the video. It's like strobos for epileptic

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      @@Giuseppe.91 thank you for your feedback ❤ we will get rid of that kind of background musics in the next videos.

  • @harisungalaxy
    @harisungalaxy ปีที่แล้ว

    Ternyata gk pake program

  • @mohamadzarka9920
    @mohamadzarka9920 ปีที่แล้ว +1

    Hi sir ... thanks for sharing your effort... i am facing problem in encoder setting i've ordered " Incremental Rotary Encoder 600p/r " but they sent me " Incremental Rotary Encoder 400p/r ", and now its not response at all when i try to calibrate it in wheel config software ( dev ) dos not move and dosnot give me any reading . i tried disconnect and reconnect Z toogle .... its same. i suppose i must put 400 in ppr setting but its realy confuesed me, i watched alot of tuterials every body put diffrent number depended on what ? i dont know ...
    so whould you please help me to resolve this problem i will be so thankfull to you .
    my encoder like this :
    ae01.alicdn.com/kf/H266ad9b0612a4f31a213672fdc5dc217F/rotary-encoder-400-ppr-LPD3806-400BM-G5-24C-A-B-Phase-Incremental-optical-shaft-6mm-Rotary.jpg_Q90.jpg_.webp

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      Hello,
      That 400p/r should be the ppr value of the encoder( PPR describes the number of high pulses an encoder will have on either of its square wave outputs A or B over a single revolution.) In wheel config dev -->Advanced settings ,you can see there is a section to add the ppr value. Try 400 for that. If it did not work try with higer numbers. Make sure u have connected the wires correctly. This encoder have 5 wires including the phase Z so if your encoder have 5 wires do not use a toggle switch beacuse u don't need one. I used it because my encoder have only 4 wires. Maybe thats why you do not get any readings. If non of this work, make sure your encoder is working or not. There are bunch of tutorials so find one and check whether your encoder is working or not!
      I hope this will help. if u have any question feel free to ask. ❤

    • @mohamadzarka9920
      @mohamadzarka9920 ปีที่แล้ว

      @@charliegaming766 firstable i would really thank you for your quick response
      Secondly, please, I hope you will be patient with me and help me solve this problem...
      my encoder have just 4 wire ( Red, Black, Green and white ... i think they are vcc, gnd, output A, output B) ... and all of them inside kind of aluminum shield ... and as you said its 400 ppr.. so i used this number in dev advanced setting as ppr encoder setting ... i connect z toggle and disconnect it ( pin6 to gnd ) same problem ... i tried upload code to test encoder separately and its works perfectly ...
      In fact, I have reached advanced stages of depression...everything is ready for me except for this encoder , and it is not easy to get a new one again. I live in Syria and the international sanctions impose a difficult reality on us, and we cannot order online that easily.

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      @@mohamadzarka9920 it's ok I will do my best to help you to fix your problem. This issue is different, Looks like your encoder works fine. it does not work only when the full circuit is done am I right? if u did it only once make sure it works again after it connected separately ( isolated from the main circuit) to make sure it is not burnt. wrong connection could short circuit the encoder. Anyway I think this issue should solve from this method . There are like 3 GRD pins in the Leonardo board so plug the encoder GRD wire to one of other GRD pins. Or maybe your toggle switch is not working properly did you check that? I understand your difficulty let's try to fix with this encoder.

    • @mohamadzarka9920
      @mohamadzarka9920 ปีที่แล้ว +1

      ​@@charliegaming766 i am very thankful i did that . but i will recheck again and give you my Summary .
      "it does not work only when the full circuit is done am I right?"
      Yes you right

    • @charliegaming766
      @charliegaming766  ปีที่แล้ว

      @@mohamadzarka9920 ok try those things and let me know.