2023-07-18 09:28 PM
how we can change the speed of motor in STEVAL -SPIN3201 using external Potentionmeter?/or inbuilt Potentionmeter (Variable resistor )?
Solved! Go to Solution.
2023-07-19 12:00 AM
Hello Ranjeet Singh,
Using the MCSDK 6.1.2, you can enable the potentiometer while configuring your project via WorkBench.
Under Stage Configuration, check the Potentiometer box :
The generated project should include a speed control using the board's potentiometer.
Hope this will help,
Gaël A.
2023-07-19 12:00 AM
Hello Ranjeet Singh,
Using the MCSDK 6.1.2, you can enable the potentiometer while configuring your project via WorkBench.
Under Stage Configuration, check the Potentiometer box :
The generated project should include a speed control using the board's potentiometer.
Hope this will help,
Gaël A.
2023-07-19 04:45 AM
how to solve this in old software 5.4.7 ?
2023-07-20 12:14 AM
Hello Ranjeet Singh,
Unfortunately, the potentiometer feature was not available in MCSDK 5.4.7 and was introduced in version 6.0.
However, you can still implement it yourself with a bit of coding.
Hope this will help,
Gaël A.
2023-07-28 04:50 AM
sir ,can i know how i can add this coding?
2023-07-29 02:19 AM
It's not something you click to "add". In this context "coding" is a verb and means you have to develop/write code!
2023-08-04 09:00 PM
yeah sir,i got your point ,but from where i can get this code,can you share code?or code link
2023-08-07 12:13 AM
Hello Ranjeet Singh,
In my opinion, the easiest way to do it is to generate two projects using MCSDK 6.1.2 : one with potentiometer enabled and the other without, and see what the differences are so you can copy the potentiometer related part of the code to your 5.4.7 project.
Hope this will help,
Gaël A.
2023-08-07 09:28 AM - edited 2023-08-07 09:29 AM
Not "get" that code somewhere, but, as Gaël already said: "implement it yourself" Which part of that phrase you don't understand? It means creating a code, not copying.
2023-11-10 02:33 AM
How do I set what this potentiometer is used for?
For example, by default it seems to be used for setting speed, but what if I want to use it for setting any other value, like max torque, position or max amperage value?
Likewise, what happens if I have more than one Potentiometer on my board, how do I change which is used for what?