Pages: [1]   Go Down
Author Topic: arduino to cnc stepper driver Question  (Read 872 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've got a homemade cnc, an arduino duemilanove, a macbook, and a hobby cnc stepper driver that takes input from a db25 cable. I want to interface the arduino and the hobbycnc stepper driver. Can I build or buy an adapter that connects the arduino to the db25 cable?

thanks

sF
Logged

Switzerland
Offline Offline
Faraday Member
**
Karma: 108
Posts: 5144
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You have to give us a bit more information. Is the DB25 cable a RS232 interface? What type is the stepper driver? Do you have a link to the datasheet?
Logged

Dubuque, Iowa, USA
Offline Offline
Faraday Member
**
Karma: 46
Posts: 2501
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

With these CNC boards the parallel port of the computer is used as just a bunch of digital I/O pins (TTL level). Your problem isn't an electrical one but rather a physical one.

There is no standard pin out. You can buy breakout boards or DB25 "shells" that might help in wiring it up, or you could even cut a parallel cable and strip the wires. All depends on what you think will work best for you and how much money you want to spend.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't have a link to the datasheet, but here is a link to the specs for the board.

http://www.hobbycnc.com/products/hobbycnc-pro-chopper-driver-board-kits/

and the motors:

http://www.hobbycnc.com/products/stepper-motors/

the plug is a 25 pin male rs-232

the board is meant to be used with step/direction software like mach3, which I have but my pc died and so here I am. I would like to us something like GRBL.

Chagrin, I thought about cutting the plug off, but I'm not sure if I would be able to differentiate the wires inside. A shell seems like a pretty good solution. It's just a question of routing pwm signals on 6 pins(x-y-z) isn't it?
Logged

Switzerland
Offline Offline
Faraday Member
**
Karma: 108
Posts: 5144
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

From your specs it seems Chagrin is right with the connector: it's a parallel port plug. The signals you have to provide are not PWM but you have a direction and a step pin. Selected the direction (using the pin HIGH or LOW) you make a step with the motor for every tick on the step line. The pin numbers and the signal meaning is on the specs page you linked.
Logged

Pages: [1]   Go Up
Jump to: