Hi. I use autonics encoder motor for ETS 2 force feedback steering wheel. Leonardo calculate encoder position when i turn left or right. But encoder doesnt stop or resist at last degree of turn. What s problem? If encoder's power cell not work, is this make problem for resist or force feedback?
Your topic was Moved to it's current location / section as it is more suitable.
Could you also take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.
Not enough information to even guess.
For informed help, please read and follow the instructions in the "How to use this forum" post.
sorry to open the matter in the wrong section. Let me briefly explain the connection method.
The outputs on the encoder motor are as follows:
output A
output B
output Z
V +
V0
I connected the motor to the pins in Arduino Leonardo as follows:
Rx0 - output A
Tx1 - output B
pin6 - output Z
5v - V +
V0 - Gnd
after that i uploaded ffbwheel.0.16.leonardo.hex file to Arduino with xloader.
my steering wheel is working! there is no problem but when it reaches 900 degrees, the steering continues to turn, I do not encounter any resistance. what would be the reason?
I hope I could tell.
Encoders do not resist rotation. You'd need to apply force-feedback to do that. If you're reading the encoder
and see that its reaching the endstop, apply motor drive in the opposite direction.