BeagleBoard, G540, Linux CNC

51 views
Skip to first unread message

mrar...@gmail.com

unread,
Oct 23, 2017, 9:44:49 PM10/23/17
to BeagleBoard

Wanting to replace my dead CNC computer with a beagleboard.  I have a G540 controller.  Everyone says to connect it to the beaglebone but I see no tutorial anywhere on pinning up a db25 connector to the board.  This seems so simple... lol.  Can anyone point me in the correct direction?

Rick Reynolds

unread,
Oct 24, 2017, 10:58:58 AM10/24/17
to BeagleBoard
Replicape maybe? 

I have one that I'm about to install for 3D Printing. Using PRUS controls. All opensource as well. 

mrar...@gmail.com

unread,
Oct 29, 2017, 6:27:34 PM10/29/17
to BeagleBoard
Thanks I'll take a look.  I figured i could just solder some wires from output pins to a db25 connector.  I've found more advanced users setups but it never explains how they connected the g540 to the beaglebone.

mrar...@gmail.com

unread,
Oct 29, 2017, 6:27:37 PM10/29/17
to BeagleBoard
Hmm looks like that replaces the G540.  More looking for a BBB to DB25 wiring diagram.


On Tuesday, October 24, 2017 at 9:58:58 AM UTC-5, R3DP wrote:

Charles Steinkuehler

unread,
Oct 30, 2017, 6:06:43 PM10/30/17
to beagl...@googlegroups.com
The BBB has pretty sensitive I/O pins without much drive (most pins
are spec'd for 3 mA max). I'd recommend at least a simple buffer
(like an 'HCT244/245) on the output lines, and something on the inputs
to insure they *NEVER* go over 3.3V (or you will destroy your BBB).

As for pinout, there's no real standard. For most signals (step,
direction, enable, endstops, etc) it doesn't really matter which pins
you use. There are several example configurations for Machinekit
which use the pinouts listed in this pinmux.ods spreadsheet:

https://github.com/cdsteinkuehler/beaglebone-black-pinmux/blob/hal_pru_generic/pinmux.ods

...but you can move things around by editing the HAL file.

I'm not sure what the LinuxCNC folks have for examples or standards,
but I do hear they can run on the BeagleBone these days.
--
Charles Steinkuehler
cha...@steinkuehler.net
Reply all
Reply to author
Forward
0 new messages