neteng
Posts: 24
Joined: Wed May 11, 2016 3:56 am

PID controller for DC Motor Positioning

Wed Sep 28, 2016 10:10 am

Hi all,

Could anyone help me as to how one can implement a PID controller on python??....having trouble calling a variable which is in another python script.....??....the variable is the input to my PID controller.......

Thanks...

scotty101
Posts: 3737
Joined: Fri Jun 08, 2012 6:03 pm

Re: PID controller for DC Motor Positioning

Wed Sep 28, 2016 11:01 am

I've made use of this one in the past
http://code.activestate.com/recipes/577 ... ontroller/

If you are having coding problems, then you should post your code making sure to place it between [ code][ /code] brackets.
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

Return to “General discussion”