Cosby5 / ArduinoServoDCMotor

An Arduino servo motor with DC motor and potentiometer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ArduinoServoDCMotor

An Arduino servo motor with DC motor and potentiometer.

Attention

Beware with correct position of wire motor (pin 5 and 6 of Arduino). If they are changed, the motor will turn to the end travel of pot and can broke it. Make a test with a low power (motorPWM variable) first. If you want change the direction of motor, use something like this in Arduino loop: runMotor(1023-val);

Servo_DC_Motor_Pot

Using only proportionality for read/target value.

Servo_DC_Motor_Pot_Prop

Using proportionality for read/target value and pwm.

Video https://www.youtube.com/watch?v=m6xne2mSTUo

About

An Arduino servo motor with DC motor and potentiometer

License:GNU General Public License v3.0


Languages

Language:Arduino 100.0%