Breaking

recent

Position controll of stepper motor using potentiometers

Introduction

Today we are going to make a closed loop stepper motor for accurate position feedback, we are achieving this by coupling potentiometer in perfect synchronisation with the stepper motor.
As we all know potentiometer can't be rotated to one side only, for increasing and decreaseing the resistance we using to turn it forewards and backwards.

So here for this application we want the potentiometers should be fully rotatable, to achieve that what I have done is, I opened the potentiometer and break the lock inside it and put it back inside its case, now it is fully rotatable.

But there was a problem with that, when I connected the potentiometer to analog input of arduino and reading the values, the potentiometers showing very random values when they reach the point where the lock was situated.

So to rectify this issue I have taken one more potentiometer and do the same procedure. Now when one potentiometer reach at that random value position we can get feedback from the other one and vice versa.

Video

Code

Position controll of stepper motor using potentiometers Reviewed by Abu Yazid on July 21, 2018 Rating: 5

No comments:

All Rights Reserved by DIY Usthad © 2014 - 2019

Contact Form

Name

Email *

Message *

Powered by Blogger.