Threaded View
-
24-11-2013 #2
This is most likely to be a software problem. In what language have you programmed the PIC? If you don't mind posting the code then I'll have a look at it for you. I expect it'll be the PIC not outputting pulses with a smoothly changing frequency, e.g:
Instead of,
|_|_|_|__|___|____|____|____| ...
Something like,
_|_|_|____|__|___|____|____|____| ...
This can be caused by things like stopping the output (briefly) whilst calculating the period which would introduce an additional delay. Are you using the hardware PWM module, or doing it 'manually' with a loop?Last edited by Jonathan; 24-11-2013 at 04:00 PM.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
BUILD LOG: operation cnc
By kingcreaky in forum DIY Router Build LogsReplies: 174Last Post: 14-08-2013, 06:14 PM -
maximum deflection - sanity check
By dsc in forum Gantry/Router Machines & BuildingReplies: 6Last Post: 11-02-2013, 09:33 AM -
sanity check - constant running, loads and more
By dsc in forum Stepper & Servo MotorsReplies: 4Last Post: 26-11-2012, 12:26 PM -
Toroidal transformer voltages - sanity check needed!
By m_c in forum General ElectronicsReplies: 16Last Post: 03-10-2011, 08:34 PM -
I am questioning my sanity....
By irving2008 in forum General DiscussionReplies: 16Last Post: 11-02-2010, 01:15 PM
Bookmarks