![]() |
![]() |
![]() |
|
|
|||||||
| Robotics Chat Specific to discussions about robots and the making of. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
I sucess make the motor move, is my broad problem.
Thank for your help. If got problem, hope you can help me again !! |
|
|
|
|
|
|
(permalink) | |
|
Quote:
The clock is specified in #define XTAL frequency.
__________________
May the force be with you. My project: Simple White Line Follower http://au.youtube.com/watch?v=8Z_MmrdH4oc http://i271.photobucket.com/albums/j...nefollower.jpg |
||
|
|
|
|
|
(permalink) |
|
Sorry !! need your help again !!
What is mean of ""__CONFIG(WDTDIS & XT & UNPROTECT & BORDIS & LVPDIS) "" and ""#define XTAL 20000000"" . This must be define ? Inside your code, why Send 50 pulses ?? |
|
|
|
|
|
|
(permalink) |
|
I thought you got it working?
The __CONFIG(.....) is to configure the microcontroller you use. You have to declare this whether you use C or asm. It just to specify what type of osc you use, disable watch dog timer etc. May be you should do some research on the internet. The #define XTAL, you've done it in your program. just to specify the speed of the crystal you use. In your case, it's 20M. The reason I use 50 pulses is because the shaft has to rotate from on end to the other end. So at lease 30 pulses is required. 50 pulses just to ensure it has enough time to reach to the other end. If all you want is just to drive the servo motor, then may be it's a bit waste to use 16F877?
__________________
May the force be with you. My project: Simple White Line Follower http://au.youtube.com/watch?v=8Z_MmrdH4oc http://i271.photobucket.com/albums/j...nefollower.jpg |
|
|
|
|
|
|
(permalink) |
|
Ya ! I sucess make it work.
Thank for help !! Acctually I'm doing a robot, control servo motor is one part of my robot, so uisng a pic16f877a is ok cause many port can use and can add more fuction. If my robot is sucess build it, I send you the vedio clip about my robot !!! |
|
|
|
|
|
|
(permalink) |
|
Glad to hear that it's working. Are my codes in "Control servo motor" work for you?
__________________
May the force be with you. My project: Simple White Line Follower http://au.youtube.com/watch?v=8Z_MmrdH4oc http://i271.photobucket.com/albums/j...nefollower.jpg |
|
|
|
|
|
|
(permalink) |
|
please someone tell me how to get the delay routine.
|
|
|
|
|
|
|
(permalink) |
|
|
|
|
|
|
|
|
(permalink) |
|
Am a new member to be this family,am an engineering student plz guide me to move forward..
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
Let us know the problems you're having.
__________________
May the force be with you. My project: Simple White Line Follower http://au.youtube.com/watch?v=8Z_MmrdH4oc http://i271.photobucket.com/albums/j...nefollower.jpg |
||
|
|
|
|
|
(permalink) |
|
thanks for the ideas
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
Thanks for the support.
__________________
May the force be with you. My project: Simple White Line Follower http://au.youtube.com/watch?v=8Z_MmrdH4oc http://i271.photobucket.com/albums/j...nefollower.jpg |
||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Project: DC Motor Control (using a single switch) | arijit18 | Electronic Projects | 12 | 2nd September 2008 07:51 PM |
| Driving a unipolar stepper motor | Wingmax | Robotics Chat | 0 | 22nd October 2007 01:01 PM |
| Help required with servo motor controller | mayhem | Robotics Chat | 3 | 26th May 2006 04:21 PM |
| Stepper Motor Driving Using PIC16F74 | t_anjan | Electronic Projects Design/Ideas/Reviews | 0 | 31st January 2006 06:13 PM |
| DC Motor Postion control help (servo) | lompa | Robotics Chat | 6 | 24th October 2004 03:16 PM |