Friday, January 28, 2011

First successful test print from file - it works!

Since I was continuing to have extruder problems, I decided to check my hypothesis that the drive gears in the MK5 simply didn't line up properly with the plastic. Sure enough, the teeth didn't line up at all. The Makerbot instructions I used are wrong. However, that's how I installed it. So, the intermittent behavior I saw was when the Allen bolt would occasionally catch the plastic & the gear would work for a bit. Then, it would work very poorly since plastic was against the smooth part of the gear. I'm surprised it worked at all. After reversing the drive gear and re-installing the motor with a washer on each motor bolt (for spacers so the gear lines up better) the extruder unit worked beautifully!

Once the extruder could squirt out plastic on demand via the Skeinforge's control panel, I figured it was finally time for the first test print of a calibration cube. So, I used the control panel to manually warm up the extruder to 220c (room temperature 18c). Only the default settings were used since I wanted to establish a baseline of performance.

I tried my first print from the PC. Even though the bot was at operating temperature, there was a significant delay before the print started. The bot first raises the print head to do a test extract (which you grab with tweezers). You then confirm you're ready to print. Only then does it lower the print head to start the job. The first print came out rather nice and was fascinating to watch. The extruded plastic at first was a bit wavy (seen by the raft under the cube) This was solved by adjusting the extruder knob so it pinched the plastic just a bit more.

Due to a better pinch knob setting, the second print came out much better. I tested printing the same design from SD card using the default settings. I also wanted to test that I could launch a print, then disconnect the PC. So, after launching a card print, I hit the disconnect icon in Skienforge, then shut down Linux. The print still continued and the second cube turned out even better! Not bad for an evening's work! No problems having the raft of plastic detach from the build platform either. That might be due to using blue painters tape. The tape seems to give the raft something to adhere to. It also makes part removal much easier.

The object produced did produce some small plastic bumps on the far corner of the cube, probably due to a delay in z-stage lifting. I suspect tweaking some settings might be able to make those bumps go away. If not, some fine-grit sandpaper should be able to remove those kind of defects.

Thursday, January 27, 2011

Test fire! Making sure the extruder works.

The replacement stepper motor board has been installed. As expected, that immediately solved the Y-stage movement problems. Now, it's time for an extrusion test!

So, I go to the control panel in ReplicatorG. Put the temperature up to 220C. The power relays have an audible "click" as they engage, then turn off as temperature is reached. There's also a graph so temperature progress can be seen. It takes around 5 minutes to achieve temperature. The first heat, as expected, vaporized the oil coated parts and that produced a smoking effect. It doesn't last too long but I managed to get a quick photo of it. I then verified by thermocouple that the thermistor was working properly. I noticed my thermistor reading was 2 degrees lower than the thermocouple. Close enough!

Once my reading was done, I manually fed a section of ABS feedstock through the extruder. That worked well. However, tightening down the pinch head so the motor could force plastic through didn't work so well. I suspect my guess on the position of the gripper wheel was a little off. So, ill need to let the unit cool down and take it apart later. Once it's apart, I suspect I'll only need to loosen the hex pin, then push the gripper wheel on the drive shaft a tad bit more towards the motor so the grabby section of the wheel can grip the feedstock better. Ah, problems. Just gotta keep in mind that big journeys are completed with lots of little steps and some of them may be backwards!

Saturday, January 22, 2011

No print today....bad stepper driver board

So, I think I'm ready for my first print. Just a final check of the motors to make sure nothing has changed since I last calibrated everything and then I'll be ready for a dry run, hopefully followed by a test print using plastic!

However, all is not well. The "Y" motor has been running rough on occasion in one direction. Platform movement seems to have almost equal resistance in each direction when I disable the stepper and just use my hand. Just in case, I put on some graphite oil to loosen up the movement anyway. No effect. Upon power-up the movement now only goes one direction in Jog even if Y+ or Y- is selected! This is getting strange. Time to do some reading and basic troubleshooting.
  • Ok, maybe connectors vibrated loose or aren't set properly. Power down & Re-seat the connectors. The motor now only goes in one direction? Re-seat again. Try a jog again. Same effect.
  • Ok, test to see if it's perhaps a communication problem with the PC. Restart Linux. Restart bot. Next attempt, no motor movement at all! Ok, go down a version and try using the "old" way of communicating that the previous release used. Reload firmware. Same effect. X and Z can jog but not Y. The stepper motor circuit lights like other boards but no movement.
  • Ok, let's try a totally different software environment. Let's use the Windows Skienforge version instead. Boot into WinXP instead. Install software & prerequisites. Reload firmware. Still, no movement in the "Y" axis! OK, I still can't totally eliminate software as being a problem since the software is a port. However, I figure if it's something this bad, lots of people would be screaming about it on Google Groups. Try something else.
  • Heyyyy. On the stepper motor board, I see a pot! Maybe it's out of adjustment? Try various positions. No effect. Light intensity changes but no matter what position is tried, no movement. However, I sometimes hear a high-frequency noise depending on the pot position.
  • Ok, let's just make sure the ribbon cable and motor are good by using another controller board to drive the "Y" motor. Now, "Y" Movement is responsive! Looks like I have a bad driver board.
So, I try to order a replacement from Makerbot. Crap...the gen3 boards are out of stock. Whoa! So are ALL the gen3 electronic boards! Apparently, since the Cupcake is an end-of-life product, they ran out of boards! They say they are having more manufactured for a final run but they don't say a date other than "sometime in the spring". Fortunately, Ebay came through for me. So, this bad board incident is a small delay rather than a major setback.

Ok, but what if I didn't happen to find that replacement board on Ebay? In theory, I could etch a PCB board, find the parts and eventually make my own board. However, this is very expensive in terms of shipping and time. Fortunately, I don't need to go down that road right now.

Saturday, January 15, 2011

A SCARY ELECTROSTATIC MOMENT

While taking a voltage measurement on the relay board, I saw a little electrostatic shock happen off my meter probe The whole system then abruptly shut off! Power cycling the power supply didn't cause the fan to turn on. Pressing the little switch and even the "reset" button on the motherboard didn't fix it either.

However, there were some interesting symptoms. Although the motherboard didn't power up, it did sometimes flash some red lights near the USB connector when "reset" was pressed. I suspect this was due to USB having power from the PC.

So, here's the first attempt at solving the problem. Maybe the power supply was confused. Unplug the connector from the motherboard. Short the green & black wires together. All boards other than the motherboard then came back to life. This was good.

Second attempt. I read that even though the power supply FAN wasn't working, the motherboard may indeed be getting power from the supply. If so, it might just need it's firmware reloaded. So, I figured, what the heck. Give it a try. So, I found the "update firmware" option in the menus. Tried the latest edition. The blinking light changed to a steady red & I got a notice that firmware reload was successful. Whew! Amazing as it seems, that recovery procedure worked.

Friday, January 14, 2011

First power on!

Just a few more connections to go. The blue cable connects the extruder RJ45 to one of the RJ45 connectors on the motherboard. (why they have 4 connectors is a mystery since they all are the same, but it was handy since space was kind of tight). Then, the USB connector cable was plugged into the 6-pin connector on the motherboard. The only clue to it's orientation is that there is a "bk" on one side which I take to mean the black wire on the connector should go to that pin. So, black to the right, green to the left.

The green Ethernet cords are for end-stops. They aren't needed right now. However, they will be handy in the future in case a wrong command is given that causes the platform to move beyond it's designed range.

Now, plug in the AC. Hit the toggle switch on the power supply. Then hit the tiny slider switch on the motherboard. The fan powers on, all the boards have tiny lights on them!

Now, here are the steps I did to install replicator G previous to this power-on moment.
Download ubuntu iso image ver. 10.10 then Burn image to CD & set PC to boot from CD.

CD boots & gives a choice between running from CD & installing. I found I needed to use an older PCMCIA WiFi card since the internal WiFi wasn't recognized.

Once I established linux would work on that PC, I decided to install. Inspecting the pull down menus, Ubuntu gives a choice of using the whole hard drive or a multi-boot install. Amazingly, it auto launches into a partition utility and installs itself WHILE STILL RUNNING in CD EVALUATION MODE!

After install, I decided to install "blender" as my CAD program. This has the ability to generate a .stl file. But where to get it? Simple, from a repository! From pulldown menu --> Administration --> synaptec package manager. Then do a search for "blender"

Finally, let's get the software for the makerbot! Go to makerbot site. It used to be that skienforge and ReplicatorG were two separate programs. They are now one program. Skienforge slices up .stl file and ReplicatorG generates tool path code.
Written in JAVA so the program is cross-platform (Linux, Windows, Mac)

Prerequisites for Linux are JAVA 1.5 and Python 2.5 or higher.
Again, go to the repository to get those two programs installed.

Finally, use firefox to download REPLICATORG-0022 package.
Once downloaded, auto-archiver will automatically open the file. Drag to a spot on the desktop & put in an uncompressed directory.

Inside directory structure, there is a file called 'replicatorg'. Double click to start file. Can either 'run in terminal' or just 'run'. You can also select an .stl file. Then simulate!

Now, back in the present world, here's the fun bit. Boot up the Linux system. Then plug in the USB cable from the makerbot.
On the pull down menu, select
Machine --> Driver --> Cupcake basic
Machine --> Serial port --> /dev/ttyUSB0

Then, on lower toolbar, find the "connect machine" icon.
Then from pull down menu select Machine --> control panel.
You now see a menu which allows you to manually control the stepper motors and extruder temperature!

Make sure the stepper motors go back and fourth under manual control. When "enabled" the motor driver boards light up. The motors will also be a bit noisy when moving. Speed and distance can be set in the GUI. Motors can also be disabled. When this is so, the driver circuits are not lit. Disable the motors if you need to move the build platform by hand. Otherwise the motors will resist any movement as they try to keep that platform in place!

Wednesday, January 12, 2011

Plastruder attempt2

My thermistors arrived earlier than I expected. So, I tested the two that arrived before rebuilding the extruder. These components also appeared to test open. Three bad components? No way. Then I noticed my ohm meter was set at the high range. Ok, expensive lesson learned here. After switching to the lower range, they tested fine. Even the "bad" one.

So, I re-wrapped the extruder assembly with one of the new thermistors. (Hey, might as well use good looking components) As an experiment, I also added a "K" type digital thermometer probe to the other side of the extruder block. This is from a Harbor Freight digital thermometer (cen-tech 92242) to calibrate or at least be a real-time check of the extruder assembly's temperature.

Post construction note: I'm really glad I installed a separate thermocouple thermometer. Although the software control panel can show temperature when in the control panel window, I can't display that window when I do a build. By having a separate digital readout, it's possible to "see" what the bot is doing. This is handy to establish if the bot is simply waiting to get up to temperature or if there is a problem.

Sunday, January 9, 2011

Installing end-stops

The end stops didn't come with the kit but they seem like handy little things so I ordered 6. However, unlike the main boards, these need to be soldered together. The four for the X and Z end stops are pretty straightforward. Just solder them together & connect them to the stepper motor boards with pre-made Ethernet cords. When mounting to the side walls, I found they mounted straighter if I used some tiny rubber washers as spacers since the back of the boards were a little lumpy due to my lack of soldering skill. So, mount them to the walls of the bot & run Ethernet wires to the stepper boards. Each end-stop is for a specific side rather than stopping movement entirely. So, experimenting will quickly show which end stop goes where.

The two end stops for the "Y" stage are much more interesting. Due to size constraints, the "Y" stops don't use RJ45 connectors. Instead, the instructions say to connect the alternate 3-pin connector in the end stop kit. The Wiki even shows the nice photo on the left which shows what wires go where. The first problem I found was that none of my end stop kits came with the nice blue connectors featured in the photos nor the male connectors either! So, I had to make my own. First, I soldered on connector pins I had left over from a previous project. For female connectors, I again look to my junk drawer. Fortunately, I have a pair of 3-pin connectors that are normally used to connect an old style IDE CD drive to a PC motherboard. Yipee! They fit good enough.

So, the problem seems solved. However, just as I was going to connect the other end of the wire to an Ethernet male connector, I decided to double check the Ethernet colors. After all, there are two types of Ethernet cables (type A and type B). My worst fear is confirmed. Inspecting the colors shows that green isn't always green!

So, checking the rep-rap site & inspecting the board suggests that for my T-568B type cable, it will be fine if connect my type-B Ethernet cord using the color order as the Makerbot Wiki photo suggests. (If I was using a "T-568A" cable, the green would be orange) As for the orientation of my connector (up or down), Looking at the board circuit & comparing it to the end stop schematic on the rep-rap site, it looks like Brown is ground. This then tells me to make sure my connector is plugged in so brown traces out to ground on the end stop board. Fortunately, the ground is noted on each end stop board.

The yellow arrows show the end stops installed. As for neatly running wires along the Y stage, bent paperclips come to the rescue again! Here, you can see how 3 hold the wire with the help of some X-stage bolts, then join the Y-stage stepper motor wires which go out the side. I experimented with wire-wrapping everything in a big bundle but found that the wires look less likely to jam if they are just left loose.

The Y and X stage provide slots for end stop triggers. I read that some people use Popsicle sticks for triggers. So, after a quick Popsicle eating orgy, I gathered enough sticks for the task. Here, you can see that i had to extend the X stage sticks (note hex nuts) and cut down the Y stage sticks. The Z-stage doesn't have ready made slots for installing end stop triggers. I'm thinking the bot could probably fabricate some glue-on "L" brackets at a later time. Meanwhile, the Z-stage works fine without them. Also, the little white squares on the Y stage are just spacers that I'm using to level the platform.

Saturday, January 8, 2011

extruder assembling - attempt#1

Finally! Here's what I anticipate would be the hardest part of the build. Fortunately, the instructions are very good so I have very little to add. It takes a while. Also, I used silver solder on the resistor heaters rather than regular solder. Hope it holds! Once done, this assembly looks like it's all ready to bolt into the plastic arch I constructed earlier. But wait! Let's do a final electric test. Resisters test as they should. Darn! The thermistor tests open! After cutting the Klapton tape off and carefully removing the white insulation strips to inspect the component, I concluded the solder joint was fine but the component is dead. So, I need another. Since I have a habit of breaking delicate parts such as these, I ordered two more & I figure I might as well also order a motor mount insert kit too since shipping is such a large part of the order. Hopefully, the law of spares will prevail and I will only need one of the two thermistors.

POST CONSTRUCTION NOTES:
  • Upon testing, I found that plumbing solder (with silver) worked great for connecting the heater resistors. Higher temperatures (even to 260c) were no problem.
  • It turns out I didn't need to order another thermistor after all. After ordering, I discovered that I had my multimeter Ohm setting set to the high range! Setting to low showed all thermistors working fine. Doh!
  • Also, there is ONE change to the extruder instructions for the MK5 to be aware of. It is the orientation of the drive gear. In the instructions, it MIGHT have a photo of the gear installed backwards. If so, that's wrong. See photo below as to why (click to enlarge).

Some wire connections and installing the relay board

Time to connect all the stepper motors to their relay boards. One issue I ran into was with the Y-stage stepper motor wires moving with the X-stage. It looks like the wires would get caught under the X-stage as it moves back and forth. So, using a bent paperclip, I made a wire holder to raise the wires out of the way as the X-stage moves back and forth.

The relay board (green board, upper right) will accept a signal from the plastruder board & energise one of two relays that then allows a much greater current to go to the plastruder. The relay next to the plastruder relay will eventually be used to power the automated build platform. Soldering together and mounting the board was uneventful. However, when it came to connecting the power, the remaining power supply connector would not reach! No re-arrangement seemed to help. What to do?

Fortunately, I happened to have a power supply extending cable that I salvaged from a dead PC from years back. I'll admit that my habit of salvaging useful looking parts from dead equipment rarely pays off. However, when it does, it's nice.

When it came to making the ribbon cables connecting the motherboard to the stepper controller boards, I divided the provided rainbow wire into equal 3rds so all cables are interchangeable with each other. I also noticed the connectors I was provided with have no strain reliefs. So, I'll need to be extra careful not to wiggle those wires too much! I also discovered that spinning the stepper motors causes indicator lights to illuminate on the stepper motor controller boards even though I haven't applied any power yet. I take this to be a good sign.

Wednesday, January 5, 2011

Assembling the filament spindle

I decided to splurge and get the makerbot filament dispensing kit too. Although I could have made something similar, I didn't want to have this step be a project stopper.

Just like previous parts of the kit, you get a box of wood and some hardware to put it together with. Since I really didn't want to take a lot of time on this step, I didn't bother finishing the wood before starting.

I found I had to sand a few tabs to pre-fit some of the parts. Unlike the instructions, I decided to construct the main box first. After screwing it together, I also decided to put hot-glue on the joints which might help reduce dust and moisture that could cause problems later.
After assembling the main box, I assembled the bottom part of the reel, then did a test fit inside the box. Perfect! Testing the reel top, I found I had to sand the rib tabs before the top of the reel would would pre-fit. Even using sticky tape to hold nuts in each of the reel ribs, it took a while to line all the pieces up for a test fit. Finally, the plastic coil was put on the reel, ribs lined up, bolts put in. Then the whole assembly was lifted into the box and bolted in. The steps I took are shown below.
Before the final step of screwing the cover on, be sure to feed some plastic out the top (see upper right where plastic comes out the brass fitting). And....we're done for tonight!

Sunday, January 2, 2011

Makerbot assembly moved to Auburn

I've decided to move the Makerbot back to it's home base in Auburn. It was a difficult decision but my January schedule just won't allow me to make it to the Syracuse Hackerspace. I really like the space but my schedule just won't allow it this month!

So, time to unpack and resume assembling. Now, it's time to peel off the protective paper from these plastic bits to put together the plastruder! These pieces are sandwiched together with bolts - all quite clever. The Makerbot site has really good photos of how all this is put together.


Here's how it looks so far.