DC Motor control question

Hi ! What is the best ( clean ) way to control a dc motor with potentiometer ( like a DIY servo )

MRL dc motor service ( pwm commands to hbridge ) and PID

or

Dedicated arduino with Dcmotor shield and library like this : https://github.com/HobbyComponents/HCMotor 

So the commands to the dedicated Arduino are send throught I2C ( do,t know how to use this )

Thank you

Mats's picture

Motor service

I think Motor service sending pwm to the hbridge, analog input and PID.

I started to build a DyiServo service but it's not finished / worky yet.

/Mats

moz4r's picture

Thank you Mats ! Mmm DiyServo

Thank you Mats !

Mmm DiyServo Service. Wahoo ! It's chrismass before christmass

ambroise's picture

(No subject)

ambroise's picture

(No subject)