STEP/DIR SIGNAL TO CW/CWW SIGNAL CONVERTER FOR CNC & MOTION CONTROL SYSTEMS
- Rajkumar Sharma
-
16556Views
- medium
- Tested
Simple Circuit converts Step/Dir. signal into to double drive CW/CWW Pulse, Mach3 and few Hobby CNC software’s provides Step/Direction pulse output to drive stepper motor drivers.
Various AC servo works with double CW/CCW pulse. This circuit is solution to interface such AC CW/CCW pulse based driver with Mach3 or other CNC software’s. Circuit designed around 7408 and 7404 IC, board support 5V or 24V supply. Open Collector output can be interface with 24V system by changing output resistors.
Features
- Supply 7V 24V DC
- On Board Power LED
- Inputs and Outputs Header Connector
- On Board ERTH (Earth) Signal provided for chassis ground to avoid any noise
Note : Output Transistor can drive Stepper Drive or Servo driver Opto-couplers directly , choose appropriate collector resistor value for 5V or 24V
- R3,R5,R9 470 Ohms for 5V DC Open Collector Output
- R3,R5,R9 2K2 Ohms for 24V DC Open Collector Output
Inputs:
- Step Pulse ( TTL 5V)
- Direction Pulse ( TTL 5V)
- Enable Signal ( TTL 5V )
Outputs:
- CW (5V Or 24V Open Collector)
- CWW ( 5V Or 24V Open Collector )
- Enable ( 5V Or 24V Open Collector )
Schematic
Parts List
Signal Diagram
24 Hours fast turnaround, Excellent quality & Unbeatable prices
$18 Welcome Bonus for new registrations Now https://jlcpcb.com
Comments
Thanks , great info and share , realy heplfull .
4 years agoThanks a lot !! but i have a question, What is the value of the resistors R21 and R22 in the bottom side ? I do not found on list.
3 years agoI get it, in truth they are the resistors 1 and 2. thanks !
3 years agoHi,
2 years agoWhere we can buy this board?
I simply used a second arduino to convert dir/step signals to cw/ccw. Could not be simpler. Tried it with GRBL controlling a VEXTA 5-phase driver. Works!
Here’s the code:
int IN_GRBL_DIR = 3;
int IN_GRBL_STEP = 4;
int OUT_VEXTA_CW = 5;
int OUT_VEXTA_CCW = 6;
int ledPin = 13; // to test light led when cw is on
void setup() {
pinMode(IN_GRBL_DIR,INPUT);
pinMode(IN_GRBL_STEP,INPUT);
pinMode(OUT_VEXTA_CW,OUTPUT);
pinMode(OUT_VEXTA_CCW,OUTPUT);
pinMode(ledPin,OUTPUT);
}
void loop() {
int step;
int cw;
int ccw;
step = digitalRead(IN_GRBL_STEP);
5 months agoif (digitalRead(IN_GRBL_DIR)==LOW) {
cw = step;
ccw = 0;
digitalWrite(ledPin,HIGH);
} else {
cw = 0;
ccw = step;
digitalWrite(ledPin,LOW);
}
digitalWrite(OUT_VEXTA_CW,cw);
digitalWrite(OUT_VEXTA_CCW,ccw);
}
where can I buy this board?
4 months agocheck your email please.
4 months agoWhere can I buy this board?
3 weeks agoHola, necesito 3 circuitos hechos. Cual seria su precio?
2 days agoGracias.