Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
Thread Tools Display Modes
Old 7th December 2007, 01:33 PM   (permalink)
Default

I sucess make the motor move, is my broad problem.
Thank for your help.
If got problem, hope you can help me again !!
antkids is offline   Reply With Quote
Old 7th December 2007, 02:01 PM   (permalink)
Default

Quote:
Originally Posted by HarveyH42
What about the fuse bits? I really don't know a lot about PIC, still little better than a beginner with AVR. But on my setup, burning the program is one thing, and setting the fuses is another. On the AVR, there are several choices that involve the clock (well 2 that I've used and understand). One divides the clock by 8. If PIC has a similar fuse, then the timing in your program wouldn't be set up right. Servos are all about the timing.
The fuse is done in the Configuration word(or fuse)- internal osc, XTL etc.
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
Wingmax is offline   Reply With Quote
Old 7th December 2007, 08:18 PM   (permalink)
Default

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 ??
antkids is offline   Reply With Quote
Old 8th December 2007, 09:59 AM   (permalink)
Default

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
Wingmax is offline   Reply With Quote
Old 9th December 2007, 06:11 PM   (permalink)
Smile

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 !!!
antkids is offline   Reply With Quote
Old 9th December 2007, 10:13 PM   (permalink)
Smile

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
Wingmax is offline   Reply With Quote
Old 3rd January 2008, 08:51 AM   (permalink)
Default

please someone tell me how to get the delay routine.
doo20000 is offline   Reply With Quote
Old 4th January 2008, 07:34 AM   (permalink)
Cool

http://www.microchipc.com/sourcecode/#delay16x

Go this webside.
antkids is offline   Reply With Quote
Old 13th January 2008, 07:10 AM   (permalink)
Default hi

Am a new member to be this family,am an engineering student plz guide me to move forward..
sharathkumarsn is offline   Reply With Quote
Old 14th January 2008, 01:26 AM   (permalink)
Default

Quote:
Originally Posted by sharathkumarsn
Am a new member to be this family,am an engineering student plz guide me to move forward..

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
Wingmax is offline   Reply With Quote
Old 10th February 2008, 05:50 AM   (permalink)
Default

thanks for the ideas
crys is offline   Reply With Quote
Old 11th February 2008, 09:56 PM   (permalink)
Default

Quote:
Originally Posted by crys
thanks for the ideas

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
Wingmax is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
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



All times are GMT. The time now is 11:21 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.