Jump to content
IGNORED

Refurbishing steering wheel controller with new electronics?


Pixelboy

Recommended Posts

True enough, as long as no steps/pulses are ever missed being read from the encoder. The software itself would have to track the absolute position as the typical two bit incremental encoder has no such absolute position capability. When you restrict the encoder's motion to a finite range (vs. continuous rotation), one missed state change from the encoder would create a mismatch between the calculated/assumed position and the physical/actual position of the pedal.

 

One way to combat that issue would be to use an encoder with a zero pulse to reset the sync to a known position. This could be implemented as a switch at zero/no throttle position. Either scheme would require another bit of input in some form or other.

 

Rather than a full blown rotary encoder, one might consider a form of absolute position encoding with the same two bits of resolution. This would give the throttle pedal four distinct output patterns: one for idle and three more e.g. low, medium, high positions. Not ideal, but better than an on/off throttle. This type of arrangement could be polled at will as you would only have to detect current state rather than change of state. This could be implemented with mechanical switches of some flavor. In this configuration, if you go with three bits you get eight distinct pedal positions.

Link to comment
Share on other sites

True enough, as long as no steps/pulses are ever missed being read from the encoder. The software itself would have to track the absolute position as the typical two bit incremental encoder has no such absolute position capability. When you restrict the encoder's motion to a finite range (vs. continuous rotation), one missed state change from the encoder would create a mismatch between the calculated/assumed position and the physical/actual position of the pedal.

 

One way to combat that issue would be to use an encoder with a zero pulse to reset the sync to a known position. This could be implemented as a switch at zero/no throttle position. Either scheme would require another bit of input in some form or other.

 

Rather than a full blown rotary encoder, one might consider a form of absolute position encoding with the same two bits of resolution. This would give the throttle pedal four distinct output patterns: one for idle and three more e.g. low, medium, high positions. Not ideal, but better than an on/off throttle. This type of arrangement could be polled at will as you would only have to detect current state rather than change of state. This could be implemented with mechanical switches of some flavor. In this configuration, if you go with three bits you get eight distinct pedal positions.

Those options could be helpful. One nice thing about using the y-axis position for acceleration is that you could probably check it's performance/continuity with a game like Slither.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...