beaglebone black stepper wired

368 views
Skip to first unread message

Andrij Senyk

unread,
Dec 30, 2016, 5:49:05 PM12/30/16
to Machinekit
Hello,

I have beaglebone black with machinekit

and I configured next test configuration

/home/machinekit/machinekit/configs/sim.axis/axis.ini

Also I have a bl-mach-v1.1, hy-div268n-5a and nema 24 stepper

Wiring bl-mach-v1.1 with hy-div268n-5a and nema 24 is ok.

But I confused, I dont understand how to connect bl-mach-v1.1 to beaglebone.

I found many capes with LPT and other ports. If I correctly understand beaglebone caps its similar arduino RAMPS? Its just extension shield without any additional microcontrollers but with pull-up or pull-down and others elements.

Can you help me, where I can find the default pinout for beaglebone machinekit? or where I can change it?

For example in bl-mach-v1.1 LTP port
pin 2 - STEP X
pin 3 - DIR X

I need a diagram to what pin I can directly connect (without any capes) wire from bl-mach-v1.1 LTP pinout

Thanks for help.

Bas de Bruijn

unread,
Dec 31, 2016, 6:18:42 AM12/31/16
to Andrij Senyk, Machinekit
Hi Andrij

> On 30 Dec 2016, at 23:49, Andrij Senyk <andrij...@gmail.com> wrote:
>
> Can you help me, where I can find the default pinout for beaglebone machinekit? or where I can change it?

There is no default pinout. It is up to the person making the cape.

Best place to start is to use an already existing configuration. Like for the CRAMPS cape.

https://github.com/machinekit/machinekit/tree/master/configs/ARM/BeagleBone/CRAMPS

The pins that are used are configured in lines like these:
https://github.com/machinekit/machinekit/blob/master/configs/ARM/BeagleBone/CRAMPS/CRAMPS.hal#L92

You probably should also look at the pinmux sheet .ods
https://github.com/cdsteinkuehler/beaglebone-black-pinmux

And for the CRAMPS board the schematics are on the reprap wiki
http://reprap.org/wiki/CRAMPS


>
> For example in bl-mach-v1.1 LTP port
> pin 2 - STEP X
> pin 3 - DIR X
>
> I need a diagram to what pin I can directly connect (without any capes) wire from bl-mach-v1.1 LTP pinout

Best start would be the link to the CRAMPS reprap wiki above

Andrij Senyk

unread,
Jan 1, 2017, 5:45:01 PM1/1/17
to Machinekit, andrij...@gmail.com
Hello,

Here

setp hpg.stepgen.00.steppin 813

Thats mean step pin connected to the extension P8 and pin 13 yes?

I also check the ARM.BeagleBone.Probotix configuration and found

setp hpg.stepgen.00.steppin         142
setp hpg.stepgen.00.dirpin          143

can you explain how to calculate the pins?


субота, 31 грудня 2016 р. 13:18:42 UTC+2 користувач Bas de Bruijn написав:

Frederic RIBLE

unread,
Jan 1, 2017, 7:10:53 PM1/1/17
to machi...@googlegroups.com

Yes, 813 means pin 13 on P8 connector.
143 is old-style numbering. See pinmux.ods column AA
Corresponds to 929.

I recommend using 8xx and 9xx numbering.

Be careful with direct connection to BBB P8/P9: 3V3 level and high risk of burning the port with long cables.
Using a cape, commercial or DIY, is preferable to protect the BBB.

Frederic.

--
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+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages