LinuxCNC or GRBL?

1,607 views
Skip to first unread message

brianw13a

unread,
Apr 1, 2016, 2:01:03 PM4/1/16
to OpenPnP
Hello all,

This weekend I expect to be able to start moving my machine around.  Being that far, I need to start thinking further ahead to integrating OpenPNP.  I have a spare machine with a parallel port and I also have an arduino that can run GRBL.

Which one would I be better off with in the short/long term?

Thanks - brianw13a


Jason von Nieda

unread,
Apr 1, 2016, 2:06:39 PM4/1/16
to OpenPnP
Hi Brian,

Can you describe the axes and outputs of your machine for us? That will help us make a better recommendations. i.e. how many motors, axes, pumps, solenoids, LEDs, etc. do you want to drive?

Jason


--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/24cfa951-cce6-40ea-befa-c834368c22f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

brianw13a

unread,
Apr 2, 2016, 10:04:21 AM4/2/16
to OpenPnP
Sure.  It has steppers for X and Y, and I have the robot digg headset which add another 3 steppers.  I purchased 2 vacuum pumps and solenoids for the nozzles although I hope I only only need one vacuum pump.

Robot Digg headset

X & Y drives   TB6600

Headset drives  TB6560

For the controller, I have plenty of arduino experience so I'll either create my own board for the GRBL controller or use LinuxCNC as I have plenty of spare PCs with parallel ports.


Long term I'd like to use both nozzles for placement but short term I'll be happy with just one.

brianw13a

unread,
Apr 2, 2016, 10:05:32 AM4/2/16
to OpenPnP
I'd also like to add a solenoid for a drag feeder.

Jason von Nieda

unread,
Apr 2, 2016, 10:33:27 AM4/2/16
to OpenPnP
Hi Brian,

So, you've got:

Axes: X, Y, Z, C1, C1
Outputs: Pump, Vac Solenoid 1, Vac Solenoid 2, Drag Solenoid

Based on this I'd recommend you pick up a Smoothieboard 5X if you want to save yourself a lot of hassle. That will work basically out of the box. Anything else and you are going to have to do fairly significant hacking. Grbl only supports 3 axes and 2-3 outputs by default. We have a hacked up version of Grbl at https://github.com/openpnp/grbl but that still only supports 4 axes.

LinuxCNC is another option, but you'll have to do some work on the driver as it does not currently support this many devices or a cam based Z axis. If you are comfortable working in the Java code this might be a good way to go.

Finally, the GcodeDriver I've been working on (see other thread) could work for you by using maybe two Arduinos with Grbl running on each. You could use one for X and Y and the other for Z, C1 and C2. It's going to make motion pretty weird, though. The machine will end up moving in X/Y, then in Z/C1/C2 separately. 

So, to sum up:
* If you are okay writing Java I'd probably go with LinuxCNC.
* If you want an off the shelf solution i'd pick up a Smoothie.

Jason




--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.

brianw13a

unread,
Apr 2, 2016, 10:59:03 AM4/2/16
to OpenPnP
Jason,

Thanks for the advice.  I'd like to spend the time to get more involved with OpenPNP and updating the LinuxCNC driver but at the moment time is at a premium.  That being said, it sounds like the smoothieboard is my best option.  

Maybe later I can circle back and look closer at the OpenPNP code.  The OpenCV portion is of particular interest.

Anyway, thanks again - Brian

Ray Kholodovsky

unread,
Apr 2, 2016, 11:28:54 AM4/2/16
to OpenPnP
Hey Brian,
The only place to get a smoothie right now is from France at Robotseed.com - it looks like they have the 5x in stock.  

Cri S

unread,
Apr 2, 2016, 12:37:36 PM4/2/16
to OpenPnP


Il giorno sabato 2 aprile 2016 14:33:27 UTC, Jason von Nieda ha scritto:
Hi Brian,

So, you've got:

Axes: X, Y, Z, C1, C1
Outputs: Pump, Vac Solenoid 1, Vac Solenoid 2, Drag Solenoid

If you need to have push output, better chinese machines use 3 vacuum pump. 
then you have additional 2 solenoid for doing pressure puff. 
Stepper: 5 stepper, minimum 9 Pins.
Home: 3 Pins.
output: 4-6+2 = 6-8 pins, 
total 9 + 3 + 6 = 18 pins , simple Arduino works, if you have arduino micro/... that have two additional pins,
allows to run pressure sensor or light controlled pwm. step pins need hw pull-up or pull-down.
I Forget the enable pin, then using arduino uno, either you need i2c/spi output extension, or change to arduino mega, or 
use one with 2 extra pins (a6-a7) or reduce needed io pins, eventually home could be reduced to one single pin.

Standard Grbl never worked, and the new Gcode driver is not necessary better.
My Grbl driver seems to not compatible anymore as the driver api changed, so maybe using linux can be better solution.
Drop me a pm if you want use linuxcnc or grbl, but i never intend to support the new driver api changes

brianw13a

unread,
Apr 2, 2016, 2:20:21 PM4/2/16
to OpenPnP
Ray,

That's what I found too.  I ordered shortly after my last post.

Thanks - Brian
Reply all
Reply to author
Forward
0 new messages