lshachar / Arduino_Fanatec_Wheel

A do-it-yourself steering wheel to Fanatec's wheel base
86 stars 13 forks source link

The steering wheel randomly enters menu mode #23

Open paul91527 opened 1 year ago

paul91527 commented 1 year ago

Thanks for your work! The whole work is great, but for me, after some time of playing, the steering wheel enters the menu by itself. I don't have a d-pad (commented), but I see the s5 on the display after some time. I wonder what is causing it. It's probably due to interference. I was thinking maybe add an extra 'if' in the buttonBitChange() for bit 22 - I don't need menus and calibration, I have a different steering wheel.

lshachar commented 1 year ago

Hi Paul, I had a similar issue, until I changed my arduino, logic shifter, and switched to a properly manufactured PCB from jlcpcb, instead of the one that I originally hand crafted from a perforated pcb. The necessary manufacturing files are here. You are entering the menu because the wheelbase reads some faulty bits on a packet that is sent out from the arduino. So you are not going to find any workarounds in the current code. Other than fixing your hardware, it is possible to write a piece of code that exits the menu (by sending out the right button byte) every time that the arduino recognizes that the menu is on when it's not supposed to be. I updated the code 3 months ago (on the master branch). this shouldn't fix your issue but try updating yours if you haven't already.