Input value Output value
Control Motor1 position
parameters control value
Motor1 PID parameter : Kp PID control demo
Use Arduino + Arduino Motor shield.
Connect a motor to the Motor shield's "A" output.
Connect a potentiometer to Arduino's analog input 3.
Sketch for Arduino is in /Arudino directory.
With this sketch, through USB cable to PC,
the motor will be controlled through this UI.
Note that this demo currently operate motor
while the the value from analog input 3
is between 50 - 973.
You can change this by modifying cellcode
ArduinoNormalizeAnalogInput and MotorSafety.
They are in /1/ar/1_b.xhtml.
Motor1 PID parameter : Ki
Motor1 PID parameter : Kd
Motor1 offset