cancel
Showing results for 
Search instead for 
Did you mean: 

Speed control

Ranjeet Singh
Senior

how we can change the speed of motor in STEVAL -SPIN3201 using external Potentionmeter?/or inbuilt Potentionmeter (Variable resistor )?

11 REPLIES 11

It is based on the potentiometer connection to the ADC channels of the microcontroller

As an example

ex: Potentiometer1 - ADC1  potentiometer1 connected to ADC1 channel

Potentiometer2 - ADC2  potentiometer2 connected to ADC2 channel

The data you read from ADC1 corresponds to potentiometer1 and from ADC2 corresponds to potentiometer2. Accordingly you have to implement code for speed, position, torque etc.

Hello DMeie.2,

Currently, the MCSDK only provides speed potentiometer configurations. However, you can start with such a project and implement yourself whatever settings you want to have ; the core of the potentiometer code will stay the same.

In addition, please start a new topic instead of commenting on an already answered one if you want to ask a question. This way, you provide a clearer reference for the community in case someone wants to ask the same question. If your question is related to an already existing topic, feel free to make a reference to it in your new post.

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.

Hope this will help,
Gaël A.