I am working on a prototyping a steering system for a project i am working on,
I am using a 10k Potentiometer with a steper motor and driver.
I want my 10k Potentiometer to act like a steering wheel that when the pot meter is at 5k the motor stays at the middle so when i turn the the resistance on the pot meter down the motor moves left and when i turn the resistance up the motor moves right. I only want the motor to move when i change the resistance.
If i could get help on how i code my uno to do this, i would appreciated this is my first time using C i code in java.
Garhajasdeep:
I want my 10k Potentiometer to act like a steering wheel that when the pot meter is at 5k the motor stays at the middle so when i turn the the resistance on the pot meter down the motor moves left and when i turn the resistance up the motor moves right. I only want the motor to move when i change the resistance.
That sounds straightforward, especially for someone who is familiar with programming.