Author |
Message |
Topic: 50 Hz software PWM for servos |
windz
Replies: 10
Views: 14465
|
Forum: General CCS C Discussion Posted: Wed Sep 05, 2007 9:58 pm Subject: 50 Hz software PWM for servos |
-PIC16F877a
-controlling Hitec HS-81MG RC servo motor
-CCS V4.049
Hi all, From the original code by PCM PROGRAMMER, i would like to know
1)How do you configure the code to be able to change t ... |
Topic: Servo motor question |
windz
Replies: 2
Views: 3539
|
Forum: General CCS C Discussion Posted: Mon Sep 03, 2007 6:36 pm Subject: Servo motor question |
Oooppss... Sorry, my bad ~ Anyway, Thanks for helping. |
Topic: Servo motor question |
windz
Replies: 2
Views: 3539
|
Forum: General CCS C Discussion Posted: Sun Sep 02, 2007 7:36 pm Subject: Servo motor question |
Hi all, i am using PIC16F877A and Hitec HS-81MG microstep servo motor. I browse through the SEARCH solutions and i came to the coding as belows:
#include <16F877.h>
#fuses XT, NOWDT, NOPRO ... |
Topic: Newbie PWM question |
windz
Replies: 9
Views: 9768
|
Forum: General CCS C Discussion Posted: Mon Aug 27, 2007 3:27 am Subject: Newbie PWM question |
Hi, Ttelmah. Thanks for your reply. I get a better picture of PWM now.
I am using a 0.72 degrees stepper motor, so a complete revolution would be 360/0.72 = 500 steps per revolution. Say, 10 revolu ... |
Topic: Newbie PWM question |
windz
Replies: 9
Views: 9768
|
Forum: General CCS C Discussion Posted: Sun Aug 26, 2007 8:23 pm Subject: Newbie PWM question |
Let's say if i want to make the motor rotate for 10 complete revolutions, does that means for a 500 steps/revolution stepper, 100% duty, i just have to include a counter just like this?
for (i ... |
Topic: Stepper motor with motor driver coding problems |
windz
Replies: 4
Views: 5834
|
Forum: General CCS C Discussion Posted: Thu Aug 23, 2007 2:23 am Subject: Stepper motor with motor driver coding problems |
Actually, i dont really understand all the coding in the example, but at least now i can get the square wave output on the oscilloscope. I'm playing around with the coding now...
thanks for your he ... |
Topic: Stepper motor with motor driver coding problems |
windz
Replies: 4
Views: 5834
|
Forum: General CCS C Discussion Posted: Thu Aug 23, 2007 12:38 am Subject: Stepper motor with motor driver coding problems |
Micro step MC-7514 5 phase stepping motor driver.
http://translate.google.com/translate?hl=en&sl=ja&u=http://www.ipros.jp/products/037450013/&sa=X&oi=translate&resnum=2&ct= ... |
|