Friday, June 26, 2009
reliably repeatable positioning
First off, I'm writing from my olpc, which does not have the most typist-friendly of keyboards. Please excuse any typos.
I've been fascinated for some time by the idea of using cheap optical mouse inards to augment or replace repraps' existing methods of determining tool location. The main problem with existing designs doesn't seem to be accuracy (a 1.8 degree stepper, half-stepping, with a 10 turn-per-inch lead screw achieves 1/4000th inch / step granulaity), but repeatability. After hundreds of movements in various directions, how can we ensure we are in _exactly_ the same place as before?
Steppers and servos go a long way toward solving the repeatability poblem, but both are expensive.
A few days ago, I read a charming article about a simple binary pattern used by some pediatricians (via stadiometers) to measure height. (1) The pattern is called the Gray Code. It's essentially a highly accurate, fault-tollerant way of encoding position into a black-and-white pattern, easily printed on an axis (or a sheet of paper later glued to an axis) and it only requires an optical sensor with a few pixels resolution to read - simple enough for even our lowly Atmega microcontollers to do the required image processing in real time.
In short, it's a printable pattern perfectly suited for granting an optical mouse repeatability. Numerous people have extracted the graphical data from an optical mouse's ccd... see: http://www.contrib.andrew.cmu.edu/~ttrutna/16-264/Vision_Project/
A 600dpi laser printer could print a Gray pattern with 0.01 inch granularity, with each binary digit of the pattern encompasing a 6x6 dot square - 36 dots. Just an educated guess, but that seems like it should be granular enough for an opical mouse image sensor (which can do about 32x32 pixels at a time) to resolve.
Thoughts?
1: http://blog.plover.com/
I've been fascinated for some time by the idea of using cheap optical mouse inards to augment or replace repraps' existing methods of determining tool location. The main problem with existing designs doesn't seem to be accuracy (a 1.8 degree stepper, half-stepping, with a 10 turn-per-inch lead screw achieves 1/4000th inch / step granulaity), but repeatability. After hundreds of movements in various directions, how can we ensure we are in _exactly_ the same place as before?
Steppers and servos go a long way toward solving the repeatability poblem, but both are expensive.
A few days ago, I read a charming article about a simple binary pattern used by some pediatricians (via stadiometers) to measure height. (1) The pattern is called the Gray Code. It's essentially a highly accurate, fault-tollerant way of encoding position into a black-and-white pattern, easily printed on an axis (or a sheet of paper later glued to an axis) and it only requires an optical sensor with a few pixels resolution to read - simple enough for even our lowly Atmega microcontollers to do the required image processing in real time.
In short, it's a printable pattern perfectly suited for granting an optical mouse repeatability. Numerous people have extracted the graphical data from an optical mouse's ccd... see: http://www.contrib.andrew.cmu.edu/~ttrutna/16-264/Vision_Project/
A 600dpi laser printer could print a Gray pattern with 0.01 inch granularity, with each binary digit of the pattern encompasing a 6x6 dot square - 36 dots. Just an educated guess, but that seems like it should be granular enough for an opical mouse image sensor (which can do about 32x32 pixels at a time) to resolve.
Thoughts?
1: http://blog.plover.com/
Monday, June 22, 2009
RepRap Source

There's a new kid on the block supplying parts for RepRap builders. They're based in Germany, so any orders from within the EU don't have to pay import duty. Checkout their site here.
Sunday, June 21, 2009
Roosevelt High School RepRap
A quick progress report on the RHSR RepRap/RepStrap and a group of high school students that I have been coaching.
Due to my business travel the group photo is a little bit abbreviated since it was taken the last day of the school year and three hours after everyone was let out for summer break! There are another five boys who have been contributing time to the project who will remain nameless for now LOL!
Pictured are their instructor Mr Ruff, my self, Ben and Ryan standing next to a Pro Light 1000 mill that we are using as a repstrap motion platform.
Progress is not over as Mr Ruff has kindly offered to come in Fridays (on his own time) to allow the boys to continue working on this project over the summer break.
We had a number of false starts and blind alleys that we went down. But the boys have learned how to design and cut acrylic parts with a laser cutter in the lab. They have cut a full set of Darwin Ponco acrylic parts that they hope to ultimately make into a standalone Darwin. Funds and time in the normal school year ran out to complete this effort.
The students have access to a Pro Light 1000 mill which is used in a lot schools here in the states. It has an attached interface box that has I/O ports that are controllable with M codes that we will use to interface to the extruder controller.
They also have an Epilog laser cutter which is an amazing precision machine; which after seeing it used I can understand why Zach was able to form Makerbot and go into production of the CupCake with it.
The lab also has a Z-Corp’s powder printer that has not been reliable in a school setting and was the inspiration for building a RepRap for the group. It also takes up significant space in the lab which could be put to better use.



The design goal is to be able convert the mill to a repstap by simply placing a drop on platform that holds multiple extruders for potentially doing multiple colors or building duplicate objects at the same time. The base design holds three heads and has provision for wingman extruders out to each side for objects that are less then 140mm in width.
Ultimately the front plate will be obscured by the PCB boards for the electronics. More to come!
Due to my business travel the group photo is a little bit abbreviated since it was taken the last day of the school year and three hours after everyone was let out for summer break! There are another five boys who have been contributing time to the project who will remain nameless for now LOL!
| From Roosevelt High School RepRap |
Pictured are their instructor Mr Ruff, my self, Ben and Ryan standing next to a Pro Light 1000 mill that we are using as a repstrap motion platform.
Progress is not over as Mr Ruff has kindly offered to come in Fridays (on his own time) to allow the boys to continue working on this project over the summer break.
We had a number of false starts and blind alleys that we went down. But the boys have learned how to design and cut acrylic parts with a laser cutter in the lab. They have cut a full set of Darwin Ponco acrylic parts that they hope to ultimately make into a standalone Darwin. Funds and time in the normal school year ran out to complete this effort.
The students have access to a Pro Light 1000 mill which is used in a lot schools here in the states. It has an attached interface box that has I/O ports that are controllable with M codes that we will use to interface to the extruder controller.
![]() |
| From Roosevelt High School RepRap |
They also have an Epilog laser cutter which is an amazing precision machine; which after seeing it used I can understand why Zach was able to form Makerbot and go into production of the CupCake with it.
The lab also has a Z-Corp’s powder printer that has not been reliable in a school setting and was the inspiration for building a RepRap for the group. It also takes up significant space in the lab which could be put to better use.
The design goal is to be able convert the mill to a repstap by simply placing a drop on platform that holds multiple extruders for potentially doing multiple colors or building duplicate objects at the same time. The base design holds three heads and has provision for wingman extruders out to each side for objects that are less then 140mm in width.
| From Roosevelt High School RepRap |
Ultimately the front plate will be obscured by the PCB boards for the electronics. More to come!
Labels: Prolight 1000, reprap, repstrap
Thursday, June 18, 2009
McWire Build: Cut your own x stage.

First I would like to say hello. My name is Charles Gantt (scphotog on the forums) I am in the process of building a McWire Cartesian bot. I am building it with the intent of printing Darwin or Mendel parts and then converting it into a small mill. In the 2 weeks I have been planning and building my McWire I have ran into only 1 major problem. The Stages would not print to the right size. I would like to make a note that only the X,Y,Z stages were not printing right. All the other files printed to the correct size.
I tried printing them from 3 different computers, 4 different programs including autocad 2006, and 5 different printers, one of which was a professional Roland plotter. The same problem every time. The drawing was scaled too small. So I came to the conclusion that I would be better off reverse engineering the stages and creating new technical drawings. The first one I have finished is the X stage. I would like to post a .jpg of that drawing so you at home can reference it if you decide to cut your own plexi for your McWire. I will also edit this post and post the source file in .dxf format for those of you who want to play with the design.
Please take note that this design will most likely not match up with the laser cut acrylic stages from rrrf. I did not design it to be compatible because I will not be using the laser cut parts. This might not be as pretty but it sure is cheaper. Each stage is costing me less than $4 in plexi as I am cutting them from scrap I get from a local scrap shop.
For those of you who would like to follow my build which has a complete uptodate list of parts you need to build a modern date McWire you can find it on my web site The Makers Workbench. Please feel free to sign up and post comments or ask questions.
Here is a .jpg of my revision. A much larger version can be found here.


I would like to thank Dr. Bowyer for letting me join in on this discussion.
Labels: McWire, technical drawing
Thursday, June 11, 2009
BitsFromBytes extruder
Reading a comment on the RepRap forums I *finally* realised that BitsFromBytes had a Forum and a separate Blog. Since I've got an older v2 kit, I hadn't checked back there for a while.
While catching up on the blog, I found a really useful post by Tony (copied below):
MK2 extruder
I was able to get some very nice results from the original GM3 powered BFB extruder, all the same principles apply, keep the melt zone short and support the PTFE close to the heater. Stability of the motor speed and the quality of the motors were the only slight issues. I ran both single and twin motor versions for many months without a problem. I still believe this original extruder design is very good and it certainly proved itself reliable over that time.
For those who had problems getting them to work I strongly suggest you blueprint the design exactly as it should be, by all means sharpen the thread and undercut it with a hack saw if you must but this should be the limit of the mods. The most common error I have heard about is the omission of the small reaction washer behind the main feed screw. Miss this out and you will never grip the filament tight enough. Build the extruder exactly as the instructions and it works, mess with the PTFE add custom heaters and coach bolts for the drive screw(what!), and you are in unknown territory. Run it how it should be first, get some experience in printing, you will then start to see where modifications would pay dividends, the original one works very well and starts reliably from cold.
Coach bolts? Who would do such a thing! :-)
Time to re-check. If it's only me and one or two others having problems with the BfB drive, then it's probably either my setup or incorrect assembly.
Re-state the problem.
Initial problem: heater/motor control worked fine, but extruding at 250C and any speed only resulted in 2-3mm/minute, almost too slow to see. Tried various temps and speeds, same result.
Removing heater, I was able to manually pull the filament through (screw thread not biting).
Tightened all the bolts - still no change to extrusion. Tightened to the point the acrylic started to crack (on the 2mm plate holding the bolt/filament roller). No change. Springs fully compressed. (reaction washer in place)
Disassembled, sharpened bolt thread with die. Better grip, but no better extrusion.
Examining the heater and drive separately, found that the heater required a reasonable force, but extruded OK, but the drive system still wasn't strong enough - although it seemed more than strong enough during testing, it still wouldn't extrude.
I then experimented with some different nozzles and drive systems. I found some nozzle designs needed less force, but needed careful machining to be reliable.
Replacing the m8 thread with a coach bolt , which had a much larger, sharper thread really gripped the filament very well - but still didn't extrude. WTF?
I think the problem is the thread is very grippy - but the pitch is about 4 times larger than the m8 thread. The coach bolt drive is very strong, but drives faster than the m8 thread - a few mm per revolution. I think pushing too fast chokes the extruder, stalling the filament, and stripping the filament (confirmed by examination). It might work very well, but needs to be geared slower (or driven by a stepper).
OK, so after reading the BfB forum and posts, I stripped down my extruder to have a closer look.
A careful inspection of the extruder parts revealed this:
The heater bolts are *slightly* too large for the channels in the extruder drive, causing a gap between the plates. This meant when I removed the heater to check the drive system, it closes up - and the drive works properly. When I screwed in the heater to check the extrusion and bolt to the reprap, the bolts screw in - the gap opens - and the pressure is taken off the screw thread. The screw doesn't bite the filament, and doesn't pull it through.
Bugger.
I'll file the channels out, reassemble to the original BfB extruder, and try again. I think it *might* just work this time (famous last words...)
As we say in computing, PICNIC (Problem in chair, not in computer)....or should that be PIANID (Problem in Assembler, Not In Design)...
While catching up on the blog, I found a really useful post by Tony (copied below):
MK2 extruder
I was able to get some very nice results from the original GM3 powered BFB extruder, all the same principles apply, keep the melt zone short and support the PTFE close to the heater. Stability of the motor speed and the quality of the motors were the only slight issues. I ran both single and twin motor versions for many months without a problem. I still believe this original extruder design is very good and it certainly proved itself reliable over that time.
For those who had problems getting them to work I strongly suggest you blueprint the design exactly as it should be, by all means sharpen the thread and undercut it with a hack saw if you must but this should be the limit of the mods. The most common error I have heard about is the omission of the small reaction washer behind the main feed screw. Miss this out and you will never grip the filament tight enough. Build the extruder exactly as the instructions and it works, mess with the PTFE add custom heaters and coach bolts for the drive screw(what!), and you are in unknown territory. Run it how it should be first, get some experience in printing, you will then start to see where modifications would pay dividends, the original one works very well and starts reliably from cold.
Coach bolts? Who would do such a thing! :-)
Time to re-check. If it's only me and one or two others having problems with the BfB drive, then it's probably either my setup or incorrect assembly.
Re-state the problem.
Initial problem: heater/motor control worked fine, but extruding at 250C and any speed only resulted in 2-3mm/minute, almost too slow to see. Tried various temps and speeds, same result.
Removing heater, I was able to manually pull the filament through (screw thread not biting).
Tightened all the bolts - still no change to extrusion. Tightened to the point the acrylic started to crack (on the 2mm plate holding the bolt/filament roller). No change. Springs fully compressed. (reaction washer in place)
Disassembled, sharpened bolt thread with die. Better grip, but no better extrusion.
Examining the heater and drive separately, found that the heater required a reasonable force, but extruded OK, but the drive system still wasn't strong enough - although it seemed more than strong enough during testing, it still wouldn't extrude.
I then experimented with some different nozzles and drive systems. I found some nozzle designs needed less force, but needed careful machining to be reliable.
Replacing the m8 thread with a coach bolt , which had a much larger, sharper thread really gripped the filament very well - but still didn't extrude. WTF?
I think the problem is the thread is very grippy - but the pitch is about 4 times larger than the m8 thread. The coach bolt drive is very strong, but drives faster than the m8 thread - a few mm per revolution. I think pushing too fast chokes the extruder, stalling the filament, and stripping the filament (confirmed by examination). It might work very well, but needs to be geared slower (or driven by a stepper).
OK, so after reading the BfB forum and posts, I stripped down my extruder to have a closer look.
A careful inspection of the extruder parts revealed this:
| From BfBExtruder |
Bugger.
I'll file the channels out, reassemble to the original BfB extruder, and try again. I think it *might* just work this time (famous last words...)
As we say in computing, PICNIC (Problem in chair, not in computer)....or should that be PIANID (Problem in Assembler, Not In Design)...
Labels: bfb, coach bolt, extruder, reprap
Sunday, May 31, 2009
Tips, Tips and more Tips
I've recently ended up with a whole bunch of welding tips and some tattoo tips.
I thought it might be interesting to compare them.
Sources:
Halfords are the smallest : an M5 thread, and a short body (18mm). B&Q have a larger M6 thread and are nearly 24mm long. Both welding tips are copper, and the tattoo tips are stainless steel. The tattoo tips have a long barrel, but a huge hole for a rubber band in the side. (white line is 3mm standard ABS filament)
The nozzle holes are all similar sizes. the first two are 0.6mm Halfords. The next two are 0.8mm from B&Q. The tattoo tips come in various sizes. These are the two smallest round holes: I think they're designated R1 and R2, and look to be a similar size to 0.6/0.8mm. Some of the tattoo nozzles are much larger.
The shapes are very different: the Halfords tip has the 'best' shape, a 45degree taper. The B&Q has a flat tip - it might cause the extrudate to stick, although it would be easy to reshape with a drill and file.
Both the welding tips need to be carefully drilled out - typically 3mm - to within a whisker of the exit hole - so that the thin section is as short as possible.
The tattoo tips seem to be made by drilling a 6.8 or 7mm hole, then a 2mm? hole right through - then a tube of the required dimension is (brazed?) attached to bring the diameter down to the exit hole, and the tip shaped(guessing). From visual inspection, it looks like the 2/2.5mm hole extends almost all the way to the tip.
I think that if the excess tube is 'trimmed' it will form a good nozzle shape internally.
The tattoo tips need to be attached and/or the big hole in the side sealed. a few initial thoughts are:
Of course, if 0.6 or 0.8mm is too big for you, you can always use the nichrome wire/high temp solder trick to get a smaller exit hole.
Since solder is a generally softer, has anyone tried blocking the hole and drilling the solder with a small drill bit to get a 0.4 hole?
I thought it might be interesting to compare them.
| From RepRap_bits |
- Halfords SIP Welding tips, 0.6mm or 0.8mm hole, M5 thread - 5 for £4.99
- B&Q, MIG Contact tips, 0.6mm or 0.8mm hole, M6 thread - 5 for £4.99
- Ebay, Tattoo tips, various sizes, no thread - 18 mixed for approx £10. can be bought singly.
| From RepRap_bits |
| From RepRap_bits |
| From RepRap_bits |
Both the welding tips need to be carefully drilled out - typically 3mm - to within a whisker of the exit hole - so that the thin section is as short as possible.
The tattoo tips seem to be made by drilling a 6.8 or 7mm hole, then a 2mm? hole right through - then a tube of the required dimension is (brazed?) attached to bring the diameter down to the exit hole, and the tip shaped(guessing). From visual inspection, it looks like the 2/2.5mm hole extends almost all the way to the tip.
| From RepRap_bits |
I think that if the excess tube is 'trimmed' it will form a good nozzle shape internally.
The tattoo tips need to be attached and/or the big hole in the side sealed. a few initial thoughts are:
- tap the internal diameter and screw in a standard reprap drilled bolt
- cut an 8mm thread in the outside and screw into a coupling nut or threaded block
- drill a 'heater block' like nopheads to 8mm and press-fit/solder/braze the tube to form a good seal.
Of course, if 0.6 or 0.8mm is too big for you, you can always use the nichrome wire/high temp solder trick to get a smaller exit hole.
Since solder is a generally softer, has anyone tried blocking the hole and drilling the solder with a small drill bit to get a 0.4 hole?
Labels: nozzles, tattoo tips, welding tips
Wednesday, May 27, 2009
Sourcing low-cost parts for RepRaps/RepStraps
The key to finding RepRap or RepStrap parts: keep your eyes open, and don't be afraid to ask: experiment, try things out, and tweak your design to what you can find. I've found a few useful bits over the last couple of months.
I wanted to add an encoder to my GM3 drive motor, but I've previously blown my three spare opto-switches.
Asking around at work, I found an old ball mouse with a broken USB plug, and got permission to take it home from sysadmin.
Logic dictated that running off USB (5v) it might contain some opto-switches that I could recycle. Taking it apart, a quick inspection revealed two components either side of a slotted wheel that looked right:
I desoldered them, ripped out the broken IR sensor from the x-max endstop board, and just soldered them in.
Hooking it up to the arduino, it works perfectly! (even the pins are the same)
Other extruder bits:
I found some thin-walled alumininum an brass tube in a Model shop in Westbury. It's imperial (5/32) but the internal diameter is exactly right for my 3.1mm filament. (£4.50 for a pack of 4)
I think it might work well to make vik's no-lathe/ariel extruder, or to make a Nophead-style thin-walled extruder. I've got a large heatsink from a core2 CPU to go with it.
I've been looking for a block of metal to make nophead's resistor heater for a little while - it's not something you can buy in B&Q, and I don't happen to have aluminium bar stock in my garage. :-)
In the middle of Bath, down by Sainsburys, I walked past a little tool shop that was selling scrap metal outside. I went in and asked, and...
Hey presto, the chap disappeared out the back and came back with a 10mmx30mm bar - and cut me off a couple of 30mm lengths from it. The best bit : cost 25p. So, a shout-out to the guys at Avery Knight and Bowlers, Bath - thanks guys. They've been consistently helpful and the shop is full of tools and other useful bits. I also grabbed some m6 coupling nuts (50p)- might be useful to attach nozzles - and a 7.5mm drill (£3.24), which is the right size for my resistors.
I've thrown a few quid away on some tattoo tips from a dodgy overseas company (
like these ones). I wanted to have a look to see if they would be useful to turn into nozzles. When (if) they arrive, I'll post some measurements and photos.
Edit: half-hour after posting this, I noticed a big split in the mains cord insulation for my wife's hairdryer. 'It's not safe, we'll have to you get a new one' - of course, nothing to do with the fact it's full of nichrome wire....
I wanted to add an encoder to my GM3 drive motor, but I've previously blown my three spare opto-switches.
Asking around at work, I found an old ball mouse with a broken USB plug, and got permission to take it home from sysadmin.
Logic dictated that running off USB (5v) it might contain some opto-switches that I could recycle. Taking it apart, a quick inspection revealed two components either side of a slotted wheel that looked right:
| From RepRap_bits |
I desoldered them, ripped out the broken IR sensor from the x-max endstop board, and just soldered them in.
| From RepRap_bits |
Hooking it up to the arduino, it works perfectly! (even the pins are the same)
Other extruder bits:
I found some thin-walled alumininum an brass tube in a Model shop in Westbury. It's imperial (5/32) but the internal diameter is exactly right for my 3.1mm filament. (£4.50 for a pack of 4)
| From RepRap_bits |
I think it might work well to make vik's no-lathe/ariel extruder, or to make a Nophead-style thin-walled extruder. I've got a large heatsink from a core2 CPU to go with it.
I've been looking for a block of metal to make nophead's resistor heater for a little while - it's not something you can buy in B&Q, and I don't happen to have aluminium bar stock in my garage. :-)
In the middle of Bath, down by Sainsburys, I walked past a little tool shop that was selling scrap metal outside. I went in and asked, and...
| From RepRap_bits |
Hey presto, the chap disappeared out the back and came back with a 10mmx30mm bar - and cut me off a couple of 30mm lengths from it. The best bit : cost 25p. So, a shout-out to the guys at Avery Knight and Bowlers, Bath - thanks guys. They've been consistently helpful and the shop is full of tools and other useful bits. I also grabbed some m6 coupling nuts (50p)- might be useful to attach nozzles - and a 7.5mm drill (£3.24), which is the right size for my resistors.
I've thrown a few quid away on some tattoo tips from a dodgy overseas company (
like these ones). I wanted to have a look to see if they would be useful to turn into nozzles. When (if) they arrive, I'll post some measurements and photos.Edit: half-hour after posting this, I noticed a big split in the mains cord insulation for my wife's hairdryer. 'It's not safe, we'll have to you get a new one' - of course, nothing to do with the fact it's full of nichrome wire....
Labels: sourcing parts
