Rules | Recent posts | topic RSS | Search | Register  | Log in

time controlling of dc motor

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing
Author Message
sunmad



Joined: 04 Aug 2008
Posts: 5


Post28 Aug 2008 12:48   time controlling of dc motor

hi everyone........ i m a 3rd year mechanical engineering student in BUET. i have to do a project named 'Automatic temperature measuring device' using pc interfacing.
here i m using motors. can anyone give me links to programming code for time controlling of dc motor?
Back to top
amol_shah



Joined: 21 Apr 2008
Posts: 97
Helped: 12
Location: Nasik, Mumbai


Post28 Aug 2008 16:41   Re: time controlling of dc motor

"'Automatic temperature measuring device' using pc interfacing" whats the use of motor in this project?
anyways do you want to just turn ON/OFF the motor or want to control the speed?
Back to top
sunmad



Joined: 04 Aug 2008
Posts: 5


Post28 Aug 2008 19:16   Re: time controlling of dc motor

the project is based on a wooden platform. motors will be connected to some rods. they will move in the x,y,z direction. co-ordinates will be given from pc. then it will go to that point and measure the temp using a thermal sensor. so speed controlling of motor is necessary. for this i need codes.
Back to top
amol_shah



Joined: 21 Apr 2008
Posts: 97
Helped: 12
Location: Nasik, Mumbai


Post29 Aug 2008 4:53   Re: time controlling of dc motor

hmmm you will have to use stepper motor for precise control
Back to top
sunmad



Joined: 04 Aug 2008
Posts: 5


Post29 Aug 2008 12:11   Re: time controlling of dc motor

yap!!! i m using stepper motor and also dc or gear motor. but give me the code first.
Back to top
mezo



Joined: 16 Jul 2007
Posts: 60
Helped: 2
Location: Egypt


Post05 Sep 2008 15:54   time controlling of dc motor

well , sunmad

what kind of stepper motor do you use ?
bipolar or unipolar ? .
Back to top
sunmad



Joined: 04 Aug 2008
Posts: 5


Post07 Sep 2008 8:02   Re: time controlling of dc motor

i m using bipolar stepper motor.
Back to top
mezo



Joined: 16 Jul 2007
Posts: 60
Helped: 2
Location: Egypt


Post07 Sep 2008 12:49   Re: time controlling of dc motor



i know how to use a bipolar stepper motor , but i haven't controlled it
using computer interfacing , so I'm gonna put some links for you .
Here are some links :

http://www.cs.uiowa.edu/~jones/step/circuits.html
http://users.ece.utexas.edu/~valvano/EE345L/Lectures/LLec24.pdf
http://www.elkatek.com/pdf/indirimpdf/K8005.pdf
http://www.cnczone.com/forums/archive/index.php/t-15048.html


if need help send me .
Back to top
james bond007



Joined: 19 Aug 2007
Posts: 24
Helped: 1


Post07 Sep 2008 22:57   time controlling of dc motor

for controlling a bipolar motor thrpugh a PC u can use a L297-L298 stepper motor controller. all the required data can be found on
http://www.edaboard.com/viewtopic.php?t=125423&highlight=marcel+majoor
you can use your parallel port to give inputs to L297,,,insert a buffer in between(this is mainly for safety and not necessary).
However this circuit requires some serious electronics and a some time. So go for it only if you have both. AS you r frm mech. stream i guess you should look for readymade stepper motor controllers

Added after 4 minutes:

howver if you intend to do it yourself and have time let me know. I have completed this project and can help you. But I would suggest that you should complete your mechanical design first and find out the specifications of your motor,,only then you should work on this. The coding ain't going to take time so dont worry about that,,,you only need to output bits on parallel port(this can be done using C also).
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap