The Shop > Electronics & IC Programing |
Stepper Motor Control |
<< < (5/5) |
vtsteam:
This might give you some ideas: http://www.instructables.com/id/Lunchtime-Clock/ |
kd8wdave:
--- Quote from: catceefer on April 21, 2015, 03:31:52 AM ---I wonder whether anyone can help? I have never had anything to do with stepper motors and would appreciate some basic guidance or link to an idiot's guide. I have been looking at the motors on e-bay and see that some come with a control board, others do not. My questions are: - do I need a board? - if I use a board, how do I programme it? - if I use a Raspberry Pi or Arduino, do I need the board still? To put the question into context, I wish to use the motor to move a lever forwards and backwards a set amount every minute. All really basic questions, I know, but I need to start somewhere. Thank you. James. --- End quote --- Hi, Here's a pic of my Z-axis stepper controller and dual-h-bridge for driving a bi-polar stepper either forwards or backwards. The step/dir in my case come from an Arduino UNO board which has 'g-code' passed to it via USB port from a desktop. My controller is a PIC based '628A' 18 pin processor written in assembler. While my code doesn't need it, you can generate a clock pulse from a rectifer from the 60hz line which is a precise 60 pulses/sec. cheers |
DavidA:
No one has mentioned creating a flow chart first to set out on paper just what is supposed to happen and when. Or do programmers not do that these days ? Dave. |
John Rudd:
--- Quote from: kd8wdave on June 23, 2015, 12:32:18 PM --- My controller is a PIC based '628A' 18 pin processor written in assembler. While my code doesn't need it, you can generate a clock pulse from a rectifer from the 60hz line which is a precise 60 pulses/sec. cheers --- End quote --- Great idea.... But here in the UK, mains is 50 hz.....separate osc ? Or generate in s/w? |
Navigation |
Message Index |
Previous page |