Hey, i had a topic which states that i control the speed of the motor via a potentiometer, i then stick an encoder to the motor to measure the frequency which then sends the signal to the LM 2907 Ic which converts the signal to a voltage . Then i take the output of the IC back to the arduino as a feedback . the question is how i put a p,I,PI controllers in the code ??!!
control_abd_el_lateef33.ino (898 Bytes)