| Author |
Message |
sunmad
Joined: 04 Aug 2008 Posts: 5
|
28 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
|
28 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
|
28 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
|
29 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
|
29 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
|
05 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
|
07 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
|
|
| Back to top |
|
 |
james bond007
Joined: 19 Aug 2007 Posts: 24 Helped: 1
|
07 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 |
|
 |