esbenarndt
Posts: 1
Joined: Thu Dec 04, 2014 2:15 pm

parallel port

Thu Dec 04, 2014 2:26 pm

Hi
Do anyone has an idea if there is a board available to make a parallel port from the GPIO pins ?
I want to use the Pi to control a board for stepper-motors running my up coming CNC machine?

Esben

User avatar
skidoobond
Posts: 40
Joined: Mon Feb 25, 2013 8:26 pm

Re: parallel port

Wed Dec 24, 2014 3:52 am

Do you need to emulate a parallel port because that part of your motor controller already exists? If so, I don't know of a board that exists. If not, there are other designs that can be used directly with the RPi. You only need the RPi to make 6 outputs for a 3 axis cnc. This is easily done straight from the GPIO.

User avatar
Gomez
Posts: 40
Joined: Mon Dec 15, 2014 3:42 am
Location: Porto, Portugal

Re: parallel port

Wed Dec 24, 2014 8:16 pm

There are cables that go Parallel Serial to USB .. I don't know if that is helpful but it might be:

http://www.ebay.com/itm/12-Mbps-USB-to- ... 1e93d307b3

vtpi
Posts: 20
Joined: Thu Jan 08, 2015 10:36 pm

Re: parallel port

Sat Jan 10, 2015 11:39 pm

No you can't just use a usb to parallel cable for controlling stepper motors. Basically because the timing isn't right at the board level -- you need a real time operating system, etc.

However there are PIs doing CNC now by running a user interface to control Grbl on an Arduino board. The Pi is freed from the need to do real time operations -- it just basically sends commands and receives status information via USB from the Arduino that is doing the actual stepper signal generation. The Pi runs the CNC user interface.

Do a search and you'll find those projects.

One source of Pi CNC UI programs is zapmaker

http://zapmaker.org/raspberry-pi/runnin ... pberry-pi/

Also my own project here:

http://madmodder.net/index.php/topic,10312.0.html

Return to “Beginners”