Instructables

Hot Glue Gun Extruder for Your CNC Machine or 3D Printer

Featured
3D Printing still costs a few dollars and may be out of reach of hobbiest who do not have any budget.   The goal of this instructable is to construct an FDM (Fused Deposition Modeling) printer extruder (a key component) using a $3 Hot Glue Gun.   If you don't think you have seen an FDM machine, you probably have.  There are many hobby versions out on the market now ... Think Up!, Makerbot, RepRap, Up!, PrintrBot, Solidoodle etc.).   The least expensive being around $500 to start.   These printers typically use ABS or PLA plastic and push it into a hot extruder much like a hot glue gun. 

There are many parts to a FDM printer and in this instructable I am going to concentrate on the extruder.  I will briefly go over the XYZ computer controlled plotter (mechanics, hardware, software).   I use a home built CNC router for this.  After showing you how to build the extruder and how to  attach it to your XYZ Plotter or CNC router type machine I will go over the software I use along with settings (these are very important) and show some example models that I printed out with it in pictures and maybe a video or two.

Before I get any further I would like to extend a big "Thank You" to the open source community and all of the people who have contributed to the 3D printing community.   Without all of their work I would have had to put in a lot more work to accomplish goal.

So let's get started shall we.

Just in case you want to see it in action before you do some reading, view the video below.



Here are some more videos of printing with the Hot Glue Gun Extruder:

Mario (at least the front half)

Apple Logo (the one with the bite out of it)


The Pink Panther Woman Bust

The apple turned out the best.  Mario really was a terrible quality print job and the Pink Panther Women didn't turn out too great either.  The apple was really nice.  I used 0.5 mm layer height on that one.  It took forever... but it came out nice.

Yay!
 
Remove these adsRemove these ads by Signing Up

Lol, a long time...

fenwaydog10 months ago

Belive it or not you can also feed it weed eater cord, old proof of concept 3d printers used this.

CementTruck2 years ago
I often wondered why a modified hot glue gun had not been used as the basis of an extruder.

Cool build.

I've had my EZ driver boards, stepper motors, hardware, t-slots in boxes all over the house for over a year now. So many projects, so little time.
cfavreau (author)  CementTruck2 years ago
I have been tinkering with the CNC machine for 3 years now. I have had loads of trouble getting my junk stepper motors (X and Y ... Z works well) to do my bidding. I had tried K-Cam, Mach3, and GRBL (that is what I initially built the Arduino to Parallel port shield for). I think Arduino + TeaCup drives it the best so far and I am going to try milling with that combination.

Also learning the whole tool chain: CAD->CAM->G-Code Controller (at least finding them and figuring them out and getting them to work right) has been the hardest part so far.

I hope you are inspired to finish your CNC project!
what you are talking about is so deep ?
I was wondering if the low-temp guns could be used with the ABS spools normally used in a 3d printer. It looks like the melting point temp and low-temp gun temp are pretty close.

Has someone already done this?
cfavreau (author)  DavidCDean2 years ago
ABS might be a bit above without getting the temp up in the glue guns available from Walmart. You could try a variac which usually can up the voltage to 140VAC... you can try running it off of 220VAC with some sort of voltage controller like a variac or even a dimmer switch.

PLA should work in a Hi-Temp Hot Glue gun according to what I have read. The temp should be fairly well controlled though for best results.

You should try it.
dennisirby2 years ago
if you could post the code for teacup it would get me up and running. the way you did it looks great thank you
cfavreau (author)  dennisirby2 years ago
Ok. I will try to post it this weekend. If I don't... please keep bugging me about it. Thanks!
I am still trying teacup without any luck! If you could post a link so i can see your config.h and the change you made to dda.c I have ran the printer with grbl but thats only 3 drivers. so I haven't made anything yet. and yours run so great thank you Dennis
cfavreau (author)  dennisirby2 years ago
I apologize for taking such a darned long time to put this up. I have been really busy with lots of things.

The code can be downloaded from here: http://www.fab-favreau.com/index.php/Main/HotGlueExtruder3DPrinter

I still need to make some comments on what I did. To summarize it though:

Take a look in dda.c and config.h . I modified those 2 files. The config.h file contains all of the steps per mm and extruder steps per whatever numbers. dda.c has the modified code for the extruder (E Axis). It sets up the stepping sequence pins on port d (upper nibble?) and controls the step sequence in code instead of sending the step and direction signal to a stepper controller. I did that so I could use a simple stepper driver (basically 4 transistors). It can do half stepping or full stepping. I forget which one I have in there currently.. I think half stepping. There is a teacup.ino? file in there you can open with the Arduino IDE and compile and upload the whole thing from there into your Arduino. I used Microsoft Visual Studio as an editor inorder to use full editing highlighting and searching... it is nice for that. Then use the Arduino IDE to compile and upload. Let me know if you have any questions. I will try to add more to my web site this week.
cfavreau (author) 2 years ago
Flashing Teacup should be easy. It comes with (or maybe I made it myself) a Arduino IDE project file. I use that to compile and program Teacup into the Uno. In order to run Teacup you will need to configure it for your stepper drivers in the config.h. If you do it like I did it you will have to drive the 4th stepper (extruder) with a simple stepper driver . I modified the Teacup code in the dda.c file I think. If you want I can post the firmware I used to this instructable. I didn't originally post it because I thought it was beyond the scope of this instructable.

dennisirby2 years ago
real nice job, i have build it all look good but can't seam to flash teacup on my uno how did you set up Teacup?
lyoko122 years ago
And this he said for the price: http://www.topsellings.com/es/tb6560-cnc-3-axis-stepper-motor-driver-controller-board-p18807.html?language=es&currency=EUR
lyoko122 years ago
And this he said for the price: http://www.topsellings.com/es/tb6560-cnc-3-axis-stepper-motor-driver-controller-board-p18807.html?language=es&currency=EUR
lyoko122 years ago
And this he said for the price: http://www.topsellings.com/es/tb6560-cnc-3-axis-stepper-motor-driver-controller-board-p18807.html?language=es&currency=EUR

I'm Spanish.
lyoko122 years ago
And this he said for the price: http://www.topsellings.com/es/tb6560-cnc-3-axis-stepper-motor-driver-controller-board-p18807.html?language=es&currency=EUR


I'm Spanish.
lyoko122 years ago
3 axis controller Arduino = Yes or No
cfavreau (author)  lyoko122 years ago
So basically my setup (I apologize for not elaborating on this more) is a 3 axis CNC router -> http://solsylva.com/cnc/13x13x5.shtml . I have a DIY Hobby CNC driver (http://www.hobbycnc.com/products/hobbycnc-ez-driver-board-kit/) for the 3 stepper motors that control the XYZ axies. I use the analog IO pins to provide a step and a direction pin for each of the axies (X Y and Z = 6 IO pins). The DIY Hobby CNC driver has no enable pin. Since the CNC stepper board provides only 3 axis I had to provide a 4th stepper driver. You CAN buy a 4 stepper driver from HobbyCNC (their Pro supports 4 axis). I would recommend doing this... their drivers are nice and can do microstepping where as my homemade simple stepper driver can only do 1/2 stepping and uses a lightbulb for current limiting.
cfavreau (author)  cfavreau2 years ago
The Arduino controls ALL 4 stepper motors using the Teacup Firmware (for 3d printing ... also probably can do CNC routing too.... See here : http://reprap.org/wiki/Teacup_Firmware

I have a custom version of it that drives the homemade stepper motor (provides 4 phases instead of step and direction).
lyoko122 years ago
And as (where) connect the 3 stepper motors?
lyoko122 years ago
hello, tell me which of these Arduinos are supported?
cfavreau (author)  lyoko122 years ago
I used an Arduino UNO. There are enough IO pins on any of the "normal" sized Arduinos for this to work. The Arduino Mega is overkill and has way more IO pins than needed. You can also use a Arduino Duemilanove (Arduino 2009) too. Anything with a ATMega328 on board I believe. The TeaCup firmware needs a fair bit of space .... it might run on a 168 however I think you will be squished for space.

Currently I am working on building a smaller RepStrap like bot with a real ABS extruder. I am using a similar set of boards and the Teacup Firmware so far.
cfavreau (author)  cfavreau2 years ago
I think the point is that you need 6 IO pins for the 3 Axis CNC Stepper Driver (Step & Dirrection x 3) and 4 IO pins for the on board stepper driver. You will need 3 more if you want limit switches for each axis.
cfavreau (author)  cfavreau2 years ago
I use the Analog IO A0 to A5 for the 6 pins driving the 3 Axis CNC Stepper Driver.
lyoko122 years ago
buy it
lyoko122 years ago
http://www.era-robotica.com/robot-kits/arduino?gclid=CKPehIKO_bECFUJItAodRVQAog
rmacdonald32 years ago
love it, seeing something created using glue sticks/hot glue it reminded me of icing. I think I may try something like this but adapted to extrude things like royal icing, any other cake dec. and modeling....you could create some amazing sugar based items.
cfavreau (author)  rmacdonald32 years ago
You should check out the "Frostruder" from Makerbot: http://wiki.makerbot.com/frostruder-mk2

The original MakerBot was named "Cupcake" because I think it was made to frost cupcakes among other things.

I would really like to see a 3d frosting/sugar based 3d printer on a Food Network competition. That would be really exciting.
JoeMurphy2 years ago
nice work!
taulman2 years ago
Excellent!
Working with Nylon, Delrin, PET, Acrylic and Polycarbonate, I've wondered about the possible applications of low temperature glues and adhesives. Seems like a good way to make unusually shaped gaskets or unusually shaped glue tabs, where a shaped tab is installed and later heated to make the bond.
These X Y Z E machines offer us a unique ability to find new printable materials that may lead to new processes. Thanks for a great Instructable!
Taulman
cfavreau (author)  taulman2 years ago
Excellent ideas. I really liked your instructable (the 2BEIGH3 3D Printer). That is a great idea to make gaskets and similar items with it. I will store that away for the next time someone asks me what it is good for.
Exocetid2 years ago
Bravo! Really good, very clever.

Not wanting to state the obvious, but one of the advantages of filament printers is the small gauge of the filament. All you need to do is use a smaller orifice tip--you are not limited to the glue gun tip. Of course, you could always take a drift pin and press it into the tip to reduce the diameter, that would give you finer detail in your models.

No matter though, great instructable!
cfavreau (author)  Exocetid2 years ago
"Of course, you could always take a drift pin and press it into the tip to reduce the diameter"

That is a Great! idea.  I am going to try that this weekend.  I was going to attempt to tap the outside or just find a glue gun with a smaller or replaceable tip.  I am pretty sure Ace Hardware and Lowes/Home Depot carry those.

Thanks!
Edgar2 years ago
What else can we say, but, Great Project!
Done, just gone up this page to vote...
I bet this results in a much less whimsical extruder than those Plastic and whimpy resistor outfits, that will short circuit at the first opportunity...

A question, will this also wotk on a bar of Cerrosafe? Melts at 74 °C (165 °F) a

From the Wikipedia:
"One alloy is called Cerrosafe. It is mainly used by gunsmiths for making a reference casting of the chamber of a firearm. When it solidifies it first shrinks, allowing easy removal from the chamber. When it cools it expands back to the exact size of the chamber. The casting can then be directly measured with calipers or a micrometer to determine the dimension of the weapon's chamber, which is important for safety."
cfavreau (author)  Edgar2 years ago
I don't know about less whimsical. I would say this is just a different kind of material extruder. I still would like to see an ABS/PLA plastic extruder in person. Not all of them are based on resistors either. The orginals used heaters that used nichrome wire. I think this one is a great "Starter" as the investment is low. It takes ~$20 and a few hours to make one. It requires no temperature control and is very forgiving for mess ups like running it into your base or pushing too much material into it.

It might work with Cerrosafe. You might have to reduce the temperature in the hot glue gun. You also have to get it into some sort of stick form. Also the shrinking (depending on how much) might be an issue. But I am not sure about that. I am still very much a beginner with this stuff. I have spent a lot of time reading but it really does not sink in until you go to apply it.

If you are interested in playing with 3D printing I would recommend either buying a kit if you really want to just print or if you want the full experience ... start with a CNC router, get used to how that works and then put an extruder on it. It is quite an adventure.
Edgar cfavreau2 years ago
Yes, it is, a fun adventure, and the more options, the better! .)

Cerrosafe is a very special Metal Alloy, it shrinks when it solidifies, then it expands when it cools!

Is that good, or bad for 3D Printing?
Hummm... I guess, we'll know only when sombody tries.
Edgar2 years ago
Just dawned on me, you can even save more money, if you use this Extruder with on a 3D Pantograph!
And a steady hand, of course...
swordman2 years ago
Really a wonderful work. I had the same idea and I'm finishing building the 3d movement frame for the hot glue gun extruder.
Keep up the good work!
@David: I think the main problems are:
- too low temperature for the hot glue gun to melt ABS
- no build in way to control the temperature
cfavreau (author)  swordman2 years ago
PLA looks to be close to that of the temperature range (~180C) of a cheap Hi-Temp Hot Glue gun. Temperature control could be as simple as a relay controlled by the Arduino + Teacup. You would have to add a temperature sensor too. You could always accomplish temp control manually using a light dimmer. Those work well on resistive loads like heaters and regular light bulbs.