Hi,
I recently bought an a4983 stepper motor driver (from Allegro) and it works fine with a unipoler wired as a bipolar, and is microstepping correctly upto 1/16th.
my application is not robotics but simple motor control.
I basically want to use 1/8th stepping, so MS1-3 inputs will be set permanently, but with 4 different options using manual switches/digital latches for the following scenarios
Clockwise - Hi Speed
Clockwise - Lo Speed
CCW - Hi Speed
CCW - Lo Speed
Tracking - Intermediate
(Hi Speed for CW and CCW will use same clock freq, Lo Speed for both DIR will use same lower CLK freq)
I'm obtaining different clock frequencies using a Silicon oscillator - LTC6900, output to a 4060 freq divider.
To achieve one of the 4 states above, I thought of multiplexing one of the two different clock outputs from the 4060 (between 400 to 1200Hz) to the CLK input of the A4983, and using a ganged switch, set the DIR to CW or CCW.
I've thought of using either a multiplexer, or a non inverting buffer or a CD4066 bilateral CMOS switchfor a common CLK bus.
my problem is setting mux , buffer or cmos switch ctrl pin states using physical switches and pull down or pull up resistors, or digital latches (using a 4013).
A simple 2 input - 4 channel multiplexer should allow selection of any 3 frequency inputs from the divider with the following truth table
CTRLA CTRLB CHANNEL
L L 1
L H 2
H H 3
What would be the best way to set the above logic states using dpdt momentary switches
I recently bought an a4983 stepper motor driver (from Allegro) and it works fine with a unipoler wired as a bipolar, and is microstepping correctly upto 1/16th.
my application is not robotics but simple motor control.
I basically want to use 1/8th stepping, so MS1-3 inputs will be set permanently, but with 4 different options using manual switches/digital latches for the following scenarios
Clockwise - Hi Speed
Clockwise - Lo Speed
CCW - Hi Speed
CCW - Lo Speed
Tracking - Intermediate
(Hi Speed for CW and CCW will use same clock freq, Lo Speed for both DIR will use same lower CLK freq)
I'm obtaining different clock frequencies using a Silicon oscillator - LTC6900, output to a 4060 freq divider.
To achieve one of the 4 states above, I thought of multiplexing one of the two different clock outputs from the 4060 (between 400 to 1200Hz) to the CLK input of the A4983, and using a ganged switch, set the DIR to CW or CCW.
I've thought of using either a multiplexer, or a non inverting buffer or a CD4066 bilateral CMOS switchfor a common CLK bus.
my problem is setting mux , buffer or cmos switch ctrl pin states using physical switches and pull down or pull up resistors, or digital latches (using a 4013).
A simple 2 input - 4 channel multiplexer should allow selection of any 3 frequency inputs from the divider with the following truth table
CTRLA CTRLB CHANNEL
L L 1
L H 2
H H 3
What would be the best way to set the above logic states using dpdt momentary switches