You should be able to hook to the DB25 directly vs. digging into the
control box, but you'll likely need some buffering. The BBB I/O pins
are only rated for 3.3V with 3-6 mA drive (depending on the pin),
which isn't really enough to directly drive an opto.
The CRAMPS board doesn't really help a lot, since it doesn't buffer
the step/dir lines (the small Pololu stepper drivers don't present
much load on the step/dir pins).
I'd recommend one of two options:
* Create your own DB25 cape for the BBB using a prototype cape and a
generic buffer like a 74HCT245 or something. There aren't a lot of
wires so it shouldn't be much harder than the "flying wire" adapter
you made for the Nano. :)
* Create a small Pololu sized buffer board that drives the step/dir
signals onto the 4-pin stepper motor header. This would let you use
the CRAMPS board (or any other board that used the Pololu style
drivers). I've thought this would be a good open-source project, and
would be useful for *anything* that uses the Pololu style drives (not
just BBB based capes) and would allow safely driving larger stepper
motor drivers.
Good luck!
--
Charles Steinkuehler
cha...@steinkuehler.net