Hi All
I have set up a 14m2 to drive a brushless motor controller. The 14m2 is connected to a foot pedal (variable resistor (10K)). I have set the 14m2 to read the ADC in via a voltage divider. The voltage divider is 10K resistor and then the 10K foot pedal. When connected to the pedal the the ADC range is roughly 520 - 1023. I then convert this value via the code and output using the DAClevel command. Pin13 is the only free pin I have. (I think that using pwmout would be an easy solution here but unfortunately, the circuit is already setup and pin 13 it has to be.)
The setup works ok and the foot pedal works a treat. However, the brushless motor doesn't work as perfectly as I would like. ie depression on the pedal is split into 32 steps so you can clearly here it step up and step down through the speeds.
Please, can someone tell me or suggest a way that I could make the steps smoother so that the foot pedal movement relates directly to the speed of the motor rather than the 32 to steps.
Thanks for your help and I hope I have explained this well?
Thanks, JPU
I have set up a 14m2 to drive a brushless motor controller. The 14m2 is connected to a foot pedal (variable resistor (10K)). I have set the 14m2 to read the ADC in via a voltage divider. The voltage divider is 10K resistor and then the 10K foot pedal. When connected to the pedal the the ADC range is roughly 520 - 1023. I then convert this value via the code and output using the DAClevel command. Pin13 is the only free pin I have. (I think that using pwmout would be an easy solution here but unfortunately, the circuit is already setup and pin 13 it has to be.)
The setup works ok and the foot pedal works a treat. However, the brushless motor doesn't work as perfectly as I would like. ie depression on the pedal is split into 32 steps so you can clearly here it step up and step down through the speeds.
Please, can someone tell me or suggest a way that I could make the steps smoother so that the foot pedal movement relates directly to the speed of the motor rather than the 32 to steps.
Thanks for your help and I hope I have explained this well?
Thanks, JPU