Sunday, July 18, 2010

Tweaking the extruder

Interesting developments this week, managed to get the extruder to extrude PLA at a consistant rate without stalling, but only through the host test extrude, still this is big step forwards.

I've also begun work on redoing the Z axis.

Before I get too far there is still one little thing that needs doing, setting the value of the extrusion rate in firmware for the motherboard, E_STEPS_PER_MM.
For the standard Mendel with a splined shaft this value is 0.706, while Adrian B. has set this to 2.0 for his geared extruder, though I found out last night that this number is wrong, its too low.
First I had read this blog post
http://www.brokentoaster.com/blog/?p=358

After which I had to ask Adrian if this is equation he used, which it isn't, instead Adrian says that its

1 / (PI . Dpw / Stepper steps) x ((ratio of filament in to nozle dia or Fd / Nd)squared)


If 
PI = 3.14159265
Dpw = 5mm
Stepper steps = 400
Fd = 3mm
Nd = 0.5mm
Comes to 0.707 which is wrong, so I fiddled the equation a bit to come to



((PI x Dpw / Stepper steps) x ((ratio of filament in to nozle dia or Fd / Nd)squared)) / 2

I get 0.706858, and the note in the firmware says its emperically adjusted, so by taking 3sf past the dp you get 0.706.

I don't know how correct this is yet, so i'll update the wiki later

Sunday, June 27, 2010

Some Progress on the extruder

After more than 50 iterations on my "JunkStruder" as I like to call it, a major delay in acquiring fibreglass coated Nichrome to overcome the intense heat needed to extrude PLA, ~275 degrees Celsius seems to be working, but not by the stepper yet.

I did have a big problem that I was very happy in my decision to use a BakeLite thermal break was a good one.
Essentially I broken the filament right at the top of the thermal break, gah!  But when I applied a butane torch flame, yeah that's right a butane torch right on the thermal break, I stuck down a piece of filament so that it welded together, then just turned on the extsruder heater to remove the stuck filament.

Thanks to Paul Marson, a mate of mine who suggested using a pot handle, turned on an a lathe to produce a thermal break, any other plastic like PTFE or PEEK would have melted.

On Friday night, cause I really don't know how to use a lathe, yet, Paul turned out a piece of stainless steel tube that I got from the hobby shop a couple days before, 1/4 inch OD 0.049 wall, OD turned down to 6.0mm and ID drilled to 5.0mm as i'm currently using a MindKits stepper motor rated at 23Kg/cm or 2.3Nm.
Why turn down such a tube, was because to make up the bulk of a package from the US, IE the fiberglass nichrome wire, got some nozzles and a new gear wheel that does indeed grip the filament much better, at the same time, and another stepper motor all from MakerBot.

Reason this post is so, so delayed is because the minor iterations i've been doing are so minor that its not worth blogging about, and also, the recent package too over a moth on a 10 day priority post from the US.
I'm so angry with USPS, that they can't even read the address label properly, which clearly states New Zealand not Zealand in the Netherlands, so yeah, it went to the Netherlands.

A chat with MakerGear also revealed that I can get more stuff I require for the hot end from them, including Wade's Exstruder, if anyone wants one, plus their heat core looks very cool.
Right now, i'm out of cash, and visa is quite high after paying the quarterly bills as well.

I hope to have the extruder running, and post a video of the iterations i've gone through to get it to work, though current experiments show that I have the RepRap host set to 300 degrees and 275 degrees read from the thermocouple just to extrude PLA, but at least the fumes from PLA are much more bearable than Kapton tape adhesive, smell like burnt sugar. :)

Monday, April 5, 2010

Little more done

Small update to where I am at.

About the dead extruder.
Fixed:  Due to frequent crashing of the RepRap host, the extruder goes way over temp, this eventually caused oxidation on the contacts, so I have cleaned it up, and made fresh connections again, and the hot end now works.
Reading on the forum someone mentioned about just hooking up the two lines from the motherboard that goes to the extruder board, instead just hook them onto the stepper driver 1.2 board that I have, and it works, what a relief that I don't have to fudge the silly Arduino code.  I forgot that the enable line is automatically held in an "on" state.

The opto end stop and the steppers only driving in one direction problem.
Fixed:  I am a douche, NopHead told me that the driver boards NEED the endstops, even in "dry" mode, so I made one endstop (opto), and the board its connected to goes both backwards and forwards, thanks to him that problem is solved.
The second opto endstop failed, I just couldn't get it to work, so instead I rummaged through my parts *ahem*junk*cough* bins and found a few tiny microswitches.  I bent the lever so that there is no chance of the top of the lever biting into the plastic of the flatbed scanner, wired most of it up, just got to solder on the ethernet cable tomorrow, and th x axis will be ready to go backwards and forwards.
I felt that with the x axis flatbed scanner having the opto endstop on the moving carriage was going to be a bad idea anyway, just gave me the final nudge to use a microswitch, and have it glued down on one fixed end.

One thing has gone wrong, and i'm out of cash, quite literally, on one of my V2.3 driver boards the chip is blown, however I can get one or a few from the local BIG electronics supplier RS components, but as I said I have no spare cash, so the Z axis has no driver for it at the moment.

Thats not a really big deal right now, as my attetion is getting the extruder completed and running, so I can bolt it to the Z axis, and finish the mechanical part of the Z axis.

Next week, I suspect that Tim Carr from MindKits.co.nz will have finished his Mendel, so i'll be oogling over that at the Arduino next week Thursday.

Thursday, March 18, 2010

Slow progress

Two weeks ago I spent a few days getting bluetooth communication working with standard drivers in Windows XP. So I now have wireless comms, though the host is still buggy on windows.
The week after I tried installing Ubuntu 9.1 32 bit on a flash drive, which ended up screwing the GRUB bootloader on my computer, forcing a reinstall of Ubuntu on my computer, so I decided to just install the 32 bit version only this time and be done away with a flash drive. So with some setup me the RepRap host finally working on Linux, more stable than Windows, I now have another way me testing my printer, though no wireless yet.

This week my buds at NextWindow devised a plan to change how I am to run the thermal part of the extruder, will see how that goes in a couple of weeks. In the meantime i've made the drive cables and one opto end stop and tested that last night.

Now for the bad news.
The end stop I made doesn't work.
Worse yet, the dummy heater doesn't heat up, and the x y steppers are working always in one direction, so it doesn't matter if it reverses cause it just goes forward anyways.

Any ideas to why?

Saturday, February 20, 2010

Extruder design problems



Been a while since my past blog.  Its been quite a mission to get a working extruder built, but i'm nearly there.  The last stepper motor just did not have enough grunt and the MakerBot stepper I have  is reserved for Mendel, so i've bought one from MindKits, 2.3Nm or there abouts vs MakerBot rated 2.6Nm, good enough I reckon as RepRap suggests a minimum of 1.4Nm.

With the new motor attached I paced the bits I planned on using against the plate and motor.


This caused a few problems and I also realized that I also need a way of forcing the filament onto the pinch wheel, this resulted in.

 

Unfortunately I forgot to take with me to work the copper bracket which will hold the extruder, as such I forgot and drilled a hole where the bottom M8 bolt is.  How idiotic of me.  
The next day took the bracket with me and moved the parts around, and found a few parts lying around that were scrapped, plus a washer, so with more drilling I came up with.


 

This design enabled me to put in a spring loaded filament pusher, for lack of a better term, and I have polymorph around, and so moulded  some into a bracket for an M4 screw, washer and spring.
The location of the bracket was important as I want it far enough away from the copper bracket which serves a double purpose as a heatsink, and polymorph is malleable at 60 degrees.
The design also allows the filament to be guided into the pinch wheel for when it moves laterally on the wheel.

Though this is by no means a stretch from being completed, for one the bolt for the M4 filament pusher is too long, the spring too long, the M8 remaining bolt is too long, holes need to be drilled underneath and a bracket to lift up the copper bracket, how ironic, a bracket for the bracket.  the pinch wheel assembly also needs to glued together and onto the shaft, the plan for doing the pinch wheel to the shaft of the motor is to use 680 LocTite retaining compound, which from experience from work is extremely difficult to break, often requiring a butane torch directly at the joint for over a minute to be enough for over torque to break.

I am still trying to build this thing to the best of my ability, with hurdles around every corner, very limited funds to work on it, IE none since mid November 2009, and i've still got to get around to migrating the wine I have into a clean demijohn for its 6 month brew cycle.
Ah well, its all fun!


Hopefully, by March it will be up and ready for calibration, Z axis is waiting on the extruder to be mounted so that can be finished.

Tuesday, January 26, 2010

Two steps forward, one step back

Thanks to suggestions from Wade and NopHead on the RepRap forum, I found the problem. I feel like an idiot, especially when I am an electronic technician at work and doing pretty well, but completely missed the obvious on my own project.

It was suggested that I didn't wire up two extra lines from the I2C bus to the extruder board, which I did, and it still didn't work. So there I am staring at the firmware, and looking at the picture of the Mendel on the RepRap Wiki, when something clicked, verified something that NopHead mentioned, then looked at the wiring diagram closely.

Its true, i'm an idiot. The I2C isn't implemented at ALL, and the two lines that would actually send pulses from the mother board on what would be I2C to the stepper override pins, crazy huh?
So i'm pleased for a moment that the LEDs are flashing, except one.

I hooked up my DC motor with filter and on the side that had just one LED flashing, the DC motor did nothing, on the other h-bridge on the extruder board, it worked fine.

Another thing was, just in case, I put on a new 644p on the motherboard and removed the Sanguino 1.0 that I had bodged on, and using a specific command for AVRdude, which HAS to be run in the location of the hex file (something that people keep forgetting to mention) I was able to successfully program the bootloader, as was an old old problem where programming the virgin chip directly through Arduuino IDE first would always fail. However using AVRdude to program it the first time, Arduino IDE programs the bootloader just fine thereafter, weird. Another reason I hate Arduino, but not Atmel.

AVRdude come with the latest WinAVR install

The command I used, which I also posted on the wiki is
avrdude -c usbtiny -p m644p -U flash:w:ATmegaBOOT_644P.hex

Run under the directory

C:\Program Files\RepRap\arduino-0017\hardware\bootloaders\atmega644p>

Though with AVRdude, you can only use it through the DOS command terminal

There is a program that does it through GUI, I tried it, but it crashed and has not worked since
AVRdude-GUI

Even though I can't justify the expense of buying a replacement h-bridge chip for the extruder board, as local supplier Farnell is out of stock and means that i'll have to import it from far away, means that for a ~NZ$7 chip would cost upwards of over NZ$50 in shipping alone, but I still need my RepStrap done ASAP. Fortunately I bought a V1.2 stepper driver, essentially a L27/L298 combo that everyone knows and loves.

The H-Bridge chip is removed and modded the extruder board in a way that I can use the screw terminal to attach Step and Direction to the V1.2, though I have forgotten that I will also need power for it as well, and I have no spare plugs on my power supply, i'll fine some #8 wire somewhere and bodge it.

Monday, January 18, 2010

Annoyed

I'm quite annoyed from this past weekend, I still cannot get my extruder board to recognize commands sent from the host software to turn on the extruder.
My thinking is that I may have a dud chip, but I can't totally believe that, especially when I use Zach's test code which puts ADC signals to various parts of the board, yet though, when I insert my own code, which is simple digitalWrite, the extruder h-bridges are at 1.8V.
No one i've asked either cares or knows what is going off.

It is however entirely possible that I got a dud chip, I got one for the 644p, found the tx line 100 ohm internal short, how the hell does this happen.

I was going to post some pictures, but there is virtually nothing to see yet to make it worth while, all I have is a wooden frame, with the Y axis sitting loosley on top of the wooden frame, same with the x axis, though its lower down.
Both the X and Y axes are old, mismatched A4 flatbed scanners that I scored off www.TradeMe.co.nz for $5 for both.


I did buy another demijohn last week, hoping, and failed in the weekend, to transfer my wine to a clean and sterile demijohn so that all the dead yeast at the bottom won't affect the 3rd and final fermentation cycle, which could take 6 months or more, for my plum wine. Why plum wine? Cause I have a very large plum tree that fruits an amazing amount of fruit over every Christmas week, though last year it was 3 weeks early, great for getting me started for the first time on wine making.

Hmm, my blog posts seem to be rather long.