Hi, There is a table here:
https://github.com/cdsteinkuehler/beaglebone-black-pinmux/blob/hal_pru_generic/pinmux.ods that shows how various pins can be assigned. The pin's drive capability seems to vary from pin to pin on the BBB, so you should probably check that to make sure it can drive your led in the opto. Or just use a logic buffer to drive the opto. Jeff On Tuesday, August 7, 2018 at 1:45:43 AM UTC-7, Lang Gu wrote: > > > <https://lh3.googleusercontent.com/-vL3glDwarSs/W2lcL-j567I/AAAAAAAAACo/i7AaeUXFcyQkaQsnMzG4csJXAJv---KEQCLcBGAs/s1600/QQ%25E5%259B%25BE%25E7%2589%258720180807164436.png> > Hello machinekit team and everyone > > I come from China,my english is very poor.So try to say as simple as > possible. > In China It's no cnc cape available.So i try to make a 5 axis cnc cape > for BBB. > > Someone can tell me if this pin assignment is possible, or if there are > any problems? > > P8 SIGNAL > 1 GND > 2 GND > 3 A_ > 4 B_ > 5 X_1 > 6 X_10 > 7 X_100 > 8 X-AXIS > 9 Y-AXIS > 10 Z-AXIS > 11 4-AXIS > 12 5-AXIS > 13 PWM-0 > 14 X-MIN > 15 X-MAX > 16 Y-MIN > 17 Y-MAX > 18 Z-MIN > 19 Z-MAX > 20 A-MIN > 21 A-HOME > 22 B-HOME > 23 E-STOP > 24 SPINDLE-SPEED > 25 Z-PROBE > 26 TOOL-SENSOR > 27 HDMI > 28 HDMI > 29 HDMI > 30 HDMI > 31 HDMI > 32 HDMI > 33 HDMI > 34 HDMI > 35 HDMI > 36 HDMI > 37 HDMI > 38 HDMI > 39 HDMI > 40 HDMI > 41 HDMI > 42 HDMI > 43 HDMI > 44 HDMI > 45 HDMI > 46 HDMI > > > > P9 SIGNAL > 1 GND > 2 GND > 3 3.3V > 4 3.3V > 5 5V > 6 5V > 7 SYS-5V > 8 SYS-5V > 9 PWR_BUT > 10 SYS_RESETn > 11 X-STEP > 12 X-DIR > 13 Y-STEP > 14 PWM-2 > 15 Y-DIR > 16 Z-STEP > 17 Z-DIR > 18 A-STEP > 19 I2C2_SCL > 20 I2C2_SDA > 21 A-DIR > 22 B-STEP > 23 B-DIR > 24 6-STEP > 25 6-DIR > 26 SPINDLE-ON > 27 COOLANT > 28 OUT3 > 29 OUT4 > 30 OUT5 > 31 OUT6 > 32 > 33 > 34 > 35 > 36 > 37 > 38 > 39 > 40 > 41 OUT7 > 42 OUT8 > 43 GND > 44 GND > 45 GND > 46 GND > INPUT & OUTPUT SCH > > -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.