CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Advanced stepper motor control

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Peter08
Guest







Advanced stepper motor control
PostPosted: Wed Apr 16, 2008 7:18 am     Reply with quote

This is the PCB that am using.
www .hobby-elec.org/e_step2.htm#1

It's working very well and the program is working fine.

What i want to do now is to remove the variable resistor and to control the speed of the stepper motor completly thru program.

Like this:
- start with medium speed
- stop for two secounds
- start with low speed
- stop for one secound
- start with low speed
and so on.

How to do this? How should i change the HW and SW ?

Peter
Matro
Guest







PostPosted: Wed Apr 16, 2008 7:43 am     Reply with quote

It depends if your program does another thing or not that controlling the stepper motor.

Matro.
Peter08
Guest







PostPosted: Thu Apr 17, 2008 1:11 am     Reply with quote

The controller is working on the way that you have to press left or stop or right button. The speed is controlled per variable resistor. That's all.
Now i want to remove the variable resistor.

Peter
Matro
Guest







PostPosted: Thu Apr 17, 2008 2:00 am     Reply with quote

And I guess that the varistor is connected to an ADC channel which converted value is used to set the rotation speed of the motor.
Is that the way it's working?

If it is, I don't see any problem. You just have to use a timer to implement your sequence.

You have to be "deeper" in your explanation about what you have now (hardware and software). What you want is understood. ;-)

Matro.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group