9 years, 11 months ago.

Looking for readme file that might explain setup

I'm new to this and trying to setup a new F401RE to control servos and found this(Nucleo_ServoKnob). I was wondering if there is a readme file or more details about setting up the potentiometer (what values?) And maybe how to set code steps to the servos in sequences?

Thanks

Question relating to:

Control a servo with an analog value (knob). A basic example of using a servo. F401RE, mbed, motor, Nucleo, Servo, stm32

1 Answer

9 years, 11 months ago.

Hi, there is not a readme file, but i can try to help a little.

The value of the potentiometer is associated to the analog read precision (check this with a potentiometer: http://developer.mbed.org/users/jose_23991/code/Nucleo_AnalogRead/rev/152d8b330c08). Big values gives a more smooth reads, so the servo movement will be slow, smooth and better. Depends of your project requeriments you may need a more accuracy movement of the servo (big values) or you may need a more fast movement (low values). You can test it experimentally using several potentiometers, however i think values between 1k (for lower) to 100k (for highest) will be ok.

I'm not sure what do you mean: "how to set code steps to the servos in sequences?" sorry

Accepted Answer