RepStrapOko

WillAdams
Posts: 8608
Joined: Mon Apr 09, 2012 6:11 pm
Location: Pennsylvania --- south of the Turnpike, East of US-15
Contact:

RepStrapOko

Post by WillAdams » Thu Jun 20, 2013 6:00 pm

Finally lining everything up to do this.

For those not familiar w/ it, a Repstrap is a small 3D printer built to print the parts for a larger 3D printer --- there's even a specific sub-category of them for milling machines:

http://reprap.org/wiki/Category:MillStr ... small_mill

In theory, it should be as simple as:

- source an extruder
- connect it to one's control board
- print

The problem seems to be that it's possible to have a control board which can drive a mill, but not a 3D printer. This seems to fall under a couple of categories:

- stepper board only has 3 connections which are used for XYZ
- 3D printer control programs seem to require higher-end control boards --- there isn't a 3D printer control program which will run on a typical low-end Arduino / 328P?
- control board has to be re-flashed to switch between 3D printer and milling modes

I ask 'cause I have an AtomCNC board and implemented a driveshaft for the Y-axis so as to have a stepper to spare for the extruder --- what is the Grbl-equivalent for a 3D printer?

William
Shapeoko 3XL #0006 w/ Carbide Compact Router w/0.125″ and ¼″ Carbide 3D precision collets

WillAdams
Posts: 8608
Joined: Mon Apr 09, 2012 6:11 pm
Location: Pennsylvania --- south of the Turnpike, East of US-15
Contact:

Re: RepStrapOko

Post by WillAdams » Thu Jun 20, 2013 6:50 pm

Do I understand correctly that this:

https://github.com/lincomatic/grbl

is a version of Grbl which will run on a 328P and drive an extruder in addition to XYZ?
Shapeoko 3XL #0006 w/ Carbide Compact Router w/0.125″ and ¼″ Carbide 3D precision collets

Will Winder
Posts: 435
Joined: Fri Apr 20, 2012 2:40 pm
Location: Hudson, MA
Contact:

Re: RepStrapOko

Post by Will Winder » Thu Jun 20, 2013 7:38 pm

WillAdams wrote:Do I understand correctly that this:

https://github.com/lincomatic/grbl

is a version of Grbl which will run on a 328P and drive an extruder in addition to XYZ?
Unfortunately it looks this is a port of GRBL to run on the different hardware, it doesn't add new features besides that.
ShapeOko #367: Dual-Y drive, Belt on outside, 1000mm Y-Axis, DW660 Spindle, Nema-23 X/Y motors.

Primary developer on Universal Gcode Sender.

WillAdams
Posts: 8608
Joined: Mon Apr 09, 2012 6:11 pm
Location: Pennsylvania --- south of the Turnpike, East of US-15
Contact:

Re: RepStrapOko

Post by WillAdams » Fri Jun 21, 2013 12:53 am

Okay, it looks like Teacup is the only 3D printer control software which will run on an Arduino w/ a 328P, so that's good --- the thing I'm hazy on is why one has to re-flash the firmware between Teacup and Grbl to switch betwixt printing and milling --- why can't one mill w/ Teacup?
Shapeoko 3XL #0006 w/ Carbide Compact Router w/0.125″ and ¼″ Carbide 3D precision collets

bjbsquared
Posts: 102
Joined: Mon Nov 26, 2012 10:48 am

Re: RepStrapOko

Post by bjbsquared » Fri Jun 21, 2013 1:26 am

I'm not familiar with Teacup but some firmwares require the extruder temperature to be in a certain range before it starts printing. Perhaps it could be fooled with a switch and some resistors or overridden with a gcode command.
#1016 - 1M x 1M Y: Dual Motor Drive w/Looped Belts, X:Dual Rail with wlanfox blocks, Z: Stock, Spindle:DW660

WillAdams
Posts: 8608
Joined: Mon Apr 09, 2012 6:11 pm
Location: Pennsylvania --- south of the Turnpike, East of US-15
Contact:

Re: RepStrapOko

Post by WillAdams » Fri Jun 21, 2013 2:35 am

OIC.

So, an extruder is more than just on-off --- that explains that PID algorithm note I glossed over --- the control board should have an input for monitoring temperature.
Shapeoko 3XL #0006 w/ Carbide Compact Router w/0.125″ and ¼″ Carbide 3D precision collets

kbot3d
Posts: 110
Joined: Sat Apr 13, 2013 12:09 am
Location: www.kbot3d.com

Re: RepStrapOko

Post by kbot3d » Sat Jun 22, 2013 2:59 pm

the temp controls can be run independently. a ta4 with a solid state relay will do the same. the reason you want them on an all in one controller is fail safes. when the temp is too cold you want something to shut off the extruder which is just a 4th axis motor to prevent damage. think of a hot glue gun. when its cold, you cant push the glue sticks thru. under torque you risk damage to an overpriced hotend but more than anything it just strips out the filament and wastes alot of time. on the other hand should you have a runaway heat source it shuts everything down on the spot.

grbl, teacup, sprinter, marlin can all be used to mill or laser cut. they are all simply g code interpreters. the firmware settings for temp control can be overridden at any point.

WillAdams
Posts: 8608
Joined: Mon Apr 09, 2012 6:11 pm
Location: Pennsylvania --- south of the Turnpike, East of US-15
Contact:

Re: RepStrapOko

Post by WillAdams » Sun Jun 23, 2013 2:29 pm

That's good to know.

Somehow I missed this blog: http://cnc2printer3d.wordpress.com/ which seems to examine the problem pretty thoroughly.

I'm currently bogged down on the software side, and am thinking that I'm probably going to work up some scripts, or maybe a plug-in to use w/in FreeHand to facilitate designing in 3D.
Shapeoko 3XL #0006 w/ Carbide Compact Router w/0.125″ and ¼″ Carbide 3D precision collets

kbot3d
Posts: 110
Joined: Sat Apr 13, 2013 12:09 am
Location: www.kbot3d.com

Re: RepStrapOko

Post by kbot3d » Mon Jun 24, 2013 3:01 am

this might save you a few headaches. try repetier host as control software or pronterface. both are python scripts

WillAdams
Posts: 8608
Joined: Mon Apr 09, 2012 6:11 pm
Location: Pennsylvania --- south of the Turnpike, East of US-15
Contact:

Re: RepStrapOko

Post by WillAdams » Tue Feb 25, 2014 12:03 am

Okay, a bit further along on this. I have:

- ShapeOko 2 chassis w/ motors
- AtomCNC control board w/ empty stepper driver socket for a 4th axis
- 24v power supply
- 24v fan (currently being used to cool the AtomCNC stepper drivers)
- the Kbot3D version of Greg's Wade Reloaded Extruder
- J Head Hot End Kit 0.35 mm Nozzle 1.75 mm Filament - Resistor, Thermistor, Teflon Tubing

soon to arrive are:
- CanaKit Stepper Motor with Cable ( believe this has a short enough housing to fit, if not, I see myself taking a Dremel to the extruder)
- SainSmart A4988 Stepper Motor Driver for Arduino Mega2560 Mega1280 RepRap Ramps

and I've finally found time to begin looking over the instructions, so I see now that I need narrow kapton tape to wire up the resistor and thermistor in the hot-end and to wrap the hot end in. I also haven't ordered any filament yet, and I'm debating on whether or no I'll need to get a heated bed or no.

I'll also have to re-flash the AtomCNC board w/ the Teacup firmware, and will have to move the SO2's Arduino and gShield over to the SO1 (mental note, make a note of the settings for both machines).

Anything else I should be aware of at this point?
Shapeoko 3XL #0006 w/ Carbide Compact Router w/0.125″ and ¼″ Carbide 3D precision collets

Post Reply