7 replies
November 2014

z_world

Uploaded the code for PD motor speed controller using arduino

Let me know if you guys need any help.

November 2015

nahueltaibo

Awesome post! I have

Awesome post! 

   I have to implement this on my robot, so I’m now downloading the code to adapt it to Andar

Thank you very much!

1 reply
January 2016 ▶ nahueltaibo

z_world

welcome

You are most welcome.

Did you use the code? And did it work properly? I am eager to know.

May 2016

helloworld94

Eagle Schematic

Hi,

I’ve never used EAGLE and find it pretty confusing. Do you have the schematic in PROTEUS?

September 2016

lucas7007

Download link of the source code

Hi,

May I download the source code? I can’t find the link.

Thanks,

Luc

 

February 2017

delon

Exactly what I was looking for!

Thanks so much for posting this.  I do have a question as it relates to calculating the RPM:

In your code, is the following calculating the RPM based upon a 30 pulse per rotation encoder?

//Calculating the speed using encoder count

speed_act = ((count - countAnt)(60(1000/LOOPTIME)))/(30);   

1 reply
September 2017 ▶ delon

z_world

This calculates the speed for 30 pulse per rotation encoder

Yes it does