Archive for the ‘MyRepRap’ Category

Sunday Morning Status

Sunday, May 2nd, 2010

So close!!! So close, and yet, so far. I keep thinking “wow, am I actually almost done?” then I remember a whole host of things I need to do.

…but I am damned close..

So first off, right last week’s post I determined the cause of my recent motherboard problems – the cheap ATX power supply I’d bought from MakerBot in late October had died after 3 uses. I grabbed one out of an old PC, and everything was working again. I quickly recorded these three short youtube videos demonstrating at least some limited X, Y, and Z axis motion:

X-axis motion!

Y-axis motion!

Sickly almost Z-axis motion

While that was fun to do, and showed me that at least the hardware could move (and that I still have a problem with the Z-axis), that wasn’t the ultimate test of the electronics, because I’d only started doing the electronics modifications required for all of the circuit boards, and they’d have to be retested later. So, I dug into that task, and proceeded to make all of the circuit modifications necessary to all of the boards.

If you do something enough times, eventually you get good at it.

What a strange new skill I’ve aquired – removing RJ45 connectors from circuit boards. I’ll never use that skill again, but I’ve become pretty good at it.

Pulling out RJ45 pins

Again, I’ve found it helps to pull the still-soldered-in wires to the front of the plastic RJ45 enclosure (out of their slots), use pliers to break off the black plastic tabs holding it to the circuitboard, grab the RJ45 connector with the pliers and then bend up 45 degrees off the board (on the wires), then down, left/right, etc, then you can get it off first – and desolder the pins later.

Far tougher was the molex power connectors.. The whole bit in the instructions about melting one bit of solder, prying that part of the connector up a bit, letting the solder harden, then moving to the other side really did work.

Here are the three stepper driver boards, with everything removed.. (the one on the left already has its new 3-pin header for the opto-endstop connection, which I used for last week’s post).

So it turns out the 2-way screw connector I obtained for power for the stepper driver boards had 4 pins instead of 2. There’s no harm in that, it just means I have extra (live) pins hanging in front of the board. I decided not to order new ones and wait, but rather press on with these.

In my eagerness to solder something on, despite careful attention to other details, I can’t believe I actually soldered on this screw terminal backwards:

That meant that now once again I had to use that same melt-one-bit-of-solder-then-pry-that-side-up-and-let-the-solder-cool-to-add-tension-then-move-to-the-other-side trick that I’d just learned on something that I just soldered onto the board. Here is the fixed board with the screw terminals facing the right way (the blue silly-putty looking stuff behind it is called Blu-Tack, a silly-putty-like reusable “adhesive” that I’d never heard of before the RepRap project, which I found myself using to hold circuit parts in place before soldering them, which mostly worked well except the putty would get hot).

Here’s the final state of the modified stepper controller board. In the 3rd picture you can see the two live pins hanging over the end of the board, which I’m not too worried about.

The screw terminal I bought for power for the extruder controller board had 2 little plastic pegs on it that also were going to get into my way. I cut those off.

Here’s my modified extruder controller board. On this one basically I replaced the RJ45 jack with a screw terminal and a 2-pin header:

One of the toughest things for me to get off was the ATX power connector on the motherboard. I’d read that I needed to use forceps to reach in and pull out pins as I melted the solder on the other side of the board. The closest I could find to forceps one night while driving home was two different tiny tweezers. Neither could reach the pins well. Then I realized that I didn’t care about the ATX connector at all, so why not just butcher it with my dremel, cutting around the entire side all around, so I could expose the pins more. That worked out well.

Here was the resulting butchered plastic after I successfully removed all of the pins:

With all of the circuit board modifications complete, I mounted them all onto the two pieces of MDF that would hold them.

The bottom MDF also holds the power and USB connectors. I mounted those next.

I then mounted those boards onto the Mendel.

Unfortunately, I’ve now come to realize that it seems that two of my three stepper driver boards aren’t functioning properly. The three videos at the beginning of this post were all done with one stepper driver board being connected to one stepper motor after another. The other two boards won’t cause any motion in a stepper motor at all. Their green power LEDs come on, but that’s it.

That’s left me in a state of debugging. Here are some messy pictures, with wires everywhere, of what my Mendel currently looks like, with the boards mounted and cables running everywhere.

And on THAT note, I’m done with this post, and aside from any remaining RepRap work I may get done today, I’m probably done with progress for the next 16 days or so, as I’ll be otherwise occupied. So close! Certainly way closer than I thought I was a while back. Which statistically probably means I’m not as close as I think this time either. 😀 Either way, this is a fun ride!

Ups and Downs

Monday, April 26th, 2010

Well it’s been almost two weeks since my last update, and a lot has happened. Most of it great, with a few setbacks. Lots of pictures.

Up front, the two unresolved setbacks:

Leadscrew problems
Ugh.. Motherboard flashing green briefly then just red

[Edit: I resolved the second problem.. It was a bad power supply. See first comment of this post.]

If you know of anything that can help me with either of those, please let me know.

Ok, so let’s start with two weeks ago. I’d said that it was finally looking like a Mendel, but it wasn’t even close to that yet! NOW it looks like a Mendel! Here are pics I took going from last week until now.

First, I screwed through rods on the bottom, connecting the leadscrew bases to each other and the z-motor bracket to the z-tensioner.

(you can see the mistake bolt on top of that leadscrew base in the last picture, which I talked about in a previous post)

Here’s the same picture taken with a flash, for what it’s worth.

Then, I screwed in the two rods that go in the front two frame vertex pieces, which go through the y idler bracket. As you can see there were additional nuts/washers that I had to have in place for holding the y axis later.

Here’s a quick picture of the bottom of the z-motor axis and a z-leadscrew-base (the entire mendel is turned 120 degrees, resting on one of its sides). You can see the geared pulley at the top on the stepper motor shaft. More on that later.

Then I screwed through the bars on the rear frame vertex pieces, including the y-motor-bracket. Same deal with the additional nuts and washers.

Next, I turned it on its side again, rested the X-axis-assembly that you’ve seen in previous posts inside the frame near the top, and screwed both leadscrews through the z-leadscrew-base assemblies. In this picture, looking at the bottom of the Mendel, on the left and right you can see the oreo-sandwiched rims and gear on the bottom of the leadscrew. The top of the leadscrew is way down in the back, screwed into the x-axis.

Here began one set of problems I ran into. First, when I’d screwed the left leadscrew into the x-axis (into the vert-bearing-360 piece), the bottom of the leadscrew “wanted” to be off-center.. I had to push the screw to the side to get the bearing to fit into the leadscrew base (you can’t see the bearings in the above picture – they’re behind the rims/gears). This caused the left leadscrew to not turn easily.. The one on the right turns fine, but not the left one. This is a major problem. I tried adjusting the z-bar-top-clamp pieces on the left to one side or the other, with limited success. I even purchased a new smooth rod in case somehow I bent the previous one via cutting, but experimentation with that shows that the original rod was probably fine The closest I have to something that works now is if I have the z-bar go all the way down then not actually get clamped in at the bottom.

But anyway, at the time I didn’t realize that was as big a problem as it was, so I pressed on (constructing things that I may have to disassemble later, especially if I have to take apart the vert-bearing-360 piece of the x-axis).

So the next problem with the leadscrews were that they were now the bottom-most piece on the Mendel, which is wrong.

It’s supposed to rest on the frame vertex pieces, yet my leadscrews were lower than that (which apparently others have run into, leading to
this alternate frame vertex piece with feet.

Frankly I’m stunned that this works for anyone, as I followed the instructions to the letter. Perhaps the thickness of M8 nuts varies? Or maybe it’s implied that I should remove some of the washers in the leadscrew assembly? Whatever – for now, I have to prop the four feet up on 4 small scraps of MDF.

So with the x-axis assembled, I rotated it upright to take a picture or two. Note that the x-axis stayed up because it was incredibly difficult to turn the left leadscrew, so I couldn’t even lower it at first.

If you’ve got a keen eye, you might have noticed that in two of the last four pictures you could see that I also installed the z-axis belt on the bottom, connecting the two leadscrews. That’s more visible here:

and you can see it clearly here:

I’m gonna jump ahead in time a bit now. What didn’t help there, nor did it help on any of the axes, was that all of my pulleys were wobbly. I’d had a hell of a time getting them on the shafts in the first place, and they were all off-center. I posted a question about that here, and someone suggested buying actual purchased pulleys from McMaster, which would fit the belt but would have 10 teeth instead of 8, providing less torque but more speed. At $7 each I figured why not, and bought some – I can always print more pulleys once I have this working. (I also read confirmation from others that the firmware could be adjusted to accomodate the larger pulley size). The purchased pulleys (McMaster part# 57105K11) look like this:

They come with their own set screws.  So once I removed the y-motor, removed my printed pulley, and tried putting on the McMaster pulley, I suddenly realized why I’d had such a tough time putting the printed pulleys on my filed down stepper motor shafts.. They were the wrong diameter!! Originally I’d purchased 4 MakerBot Kysan stepper motors, then incorrectly thinking they didn’t have enough torque, I bought 4 more on a whim along with another purchase I was making at sparkfun.com. When I finally got around to deciding which motors to use and calculating their actual torque, they were just about the same, with the sparkfun motors having sliiiightly more torque, so I used them. They seemed to be NEMA 17 size, screwed in fine, etc. But apparently the shaft was slightly larger, because when I tried putting the McMaster pulley on the filed down stepper shaft it wouldn’t fit, but it did fit perfectly on the Kysan motor.  Doh.

Ok, jumping back to where I was..

So next up was the Y axis. I took the y-axis pieces, threaded two y-axis bars through them for show, and placed them where they’re supposed to go on the “frog” piece of MDF. Now that I see how they’re supposed to fit, I think the frog layout was pretty damned cool.. The pieces fit in snugly even before I screwed in anything.. Excellent design!

That’s the piece that hangs below the y-axis bars and slides back and forth.. Above that is mounted the actual bed that we print on. In the above picture you can also see two belt clamp pieces that will hold down the y-belt, so the y motor can pull the whole assembly forwards and backwards.

The next pictures I took were after screwing down those pieces, tearing off all of the guide paper, screwing on the extra little plate for excess plastic, mounting the y-axis bars in the mendel (with this assembly in place), putting on the bed springs, and screwing on the bed:

Here you can see the bed springs on both sides:

and the z-belt y-belt connected to the frog:

Here’s a picture showing how the frog just barely clears the rods below it.

I tried recording video showing how sporadic the movement along the Y and X axes were because of wobbly pulleys (remember, this is before I received any McMaster pulleys). I was using Laurie’s camera and wasn’t even sure that it was recording audio, so sorry about the poor sound quality and length. Around 0:12-0:16, in the back on the y-motor, you can see what I’m talking about when I use the term “wobbly pulley”.

Ok.. So later I realized that by pushing the left leadscrew to the right a bit on top, I was able to at least manually turn the leadscrew, which while not a real solution at least let me lower the x axis for a nice picture:

Next up was the remaining MDF pieces. They had a ton of holes and ovals to be cut out of them. Standing at my drill press for a while, I drilled all of the holes, including multiple holes where ovals were supposed to go, then used a jigsaw to cut out the oval pieces. It’s not exactly pretty, but it’ll work for mounting circuit boards, and I didn’t have to go ask anyone for permission to use a laser cutter.

Next up, circuit boards.  First, I soldered the UM232R USB-to-serial UART development module onto a piece of stripboard, cut a length of 6-wire ribbon cable, soldered that to the board, and solder/crimped the other end of the cable into a header with insert-able pin receptacles. (I later redid some of the header connections, as I got better at soldering/crimping these by hand with a vice grip tool).

Using that board, I was able to load the RepRap Mendel FiveD firmware onto the motherboard and extruder controller board. After crimping two IDC connectors onto a 10-way ribbon cable, I was able to connect the motherboard to a stepper driver board, connect that to a stepper motor, and make the motor turn with the RepRap host software. Note the green lights on all of the boards in the picture, and sorry that the youtube clip is 100% blurry.

So with that working, I proceeded to start on the modifications that I need to make to these pre-assembled boards to make them compatible with the Mendel RepRap (they’re currently built for the MakerBot, and there are a bunch of modifications you need to make for Mendel).

First, I removed one of the cat5 connectors from one of the stepper controller boards (which wasn’t for ethernet – it was just a wiring choice), and instead replaced it with a 3-pin header. I found that after pulling the wires to the side, it was easier to remove the black plastic first, then desolder the pins and remove them, but your mileage may vary.

I made a 3-wire ribbon cable to connect an opto-endstop board to this header:

and after soldering another 3-pin header onto the opto-endstop board, I was able to connect the opto-endstop to the board, and verified that when blocked by a piece of Coke can (my opto endflags), the motor wouldn’t turn in the “down” direction, but when clear, it would.  Woohoo!

(the flash kind of hides it, but that green LED on the opto-endstop board is lit).

Everything’s great, right?  Well, no.  I’d tried the same test with a kysan motor in the y-motor-bracket with a mcmaster pulley around it (after removing the bed so I could adjust the belt clamps to fit the motor), and was able to successfully move the bed along the Y axis both forward and backward.  I wanted to film this but my iPhone has been full for around a month, which is why these and last week’s pictures were taken with my wife’s camera.  So I went upstairs and finally carried out the last steps in getting all 5100+ pictures off of my iPhone (a boring torturous story not worth going into here). The good news is I successfully cleared off my iPhone:

My iPhone is empty!

The bad news is that when I went back downstairs, nothing worked anymore. [Edit: Again, happily I figured out this problem. It was a bad power supply. See the first comment of this post for more details.]Originally, after loading the FiveD firmware, a red light would flash on the motherboard when the power supply was on but the motherboard power switch was off. Upon turning on the motherboard switch, the board would light up green instead (as would other connected boards). Sadly, now when I turn on power, each connected board flashes green for like a hundreth of a second, then goes back to red.  (I’ve tried having nothing connected to the motherboard, and it still fails).

I’ve wracked my brain trying to remember anything that might have gone wrong. The closest that I can imagine is that there was one point where I clicked the HOME button and it made the y-axis move forward very fast (but it was moving in the wrong direction), and it rammed into the other side before I powered it off.  This kind of thing had happened with the MakerBot all the time, so I wasn’t worried that it had caused any problem.  What I don’t clearly remember now (because I’ve also been very sick over the past few days) is whether I got it working after that or not. I do remember switching the stepper motor plug around (which I remembered being suggested by the MakerBot crowd a long time ago, so I knew the pin layout would be ok), and I imagine I MUST have tested that afterwards, so I don’t believe that’s when it “broke”.. The ONLY thing that has me worried is that I did replace the cat5 connector with the 3-pin header, doing some of the modifications, but not all of them.. The USB connector is set to get power from the computer, but yet the motherboard is unchanged, getting power still from the PC power supply’s 24-pin rectangular connector.

Agh.  Anyway, at least now I have the documenting part out of the way. MakerBot’s store is out of stock on motherboards, so if indeed it’s broken, I suppose I’m waiting on that now. I wish I knew if the rest of the boards were ok.

Maybe I’ll try reloading the FiveD firmware and trying again, or loading the MakerBot firmware on and using Replicatorg.  I’m certainly open to suggestions.

Thanks for reading!

p.s. As a bonus, as if there weren’t enough pictures in this post, I figured I’d throw in seven almost-artistic shots since I’ve ended this post on such a down note. Enjoy.

Weekend Progress, Part 2 (it actually looks like a Mendel now!)

Wednesday, April 14th, 2010

Ok, I moved the rest of the pictures off of my wife’s phone, so here’s part 2 of the progress from this past weekend. Despite the fact that these are large 9-megapixel pictures, they should all look much smaller than normal since I’m uploading them via the web, so I’m able to use the thumbnail feature of wordpress. Click them for stunning detail. 🙂  (actually it looks like you have to click twice to get the full resolution.. me no like..)

The y motor bracket assembly:

The y-bearing-360 (left) and y-bearing-180(right) assemblies:

Then, I skipped part of the Y axis steps and put off affixing the Y axis components to the MDF and frog, moving on to the frame (I couldn’t help myself). Here’s the first side that I assembled, with the first piece that I’d printed for my Mendel on the top:

This is the Z motor bracket on the bottom, along with one of the z-leadscrew-base assemblies (this is the one that I had a stray extra bolt stuck in, from the last post):

The Mendel rests on the edges of the bottom frame vertex pieces. At some point I’ll probably put some foam padding on the bottom of the feet.

Once I built the second side (the next triangle, with another z-leadscrew-base and the z-tensioner assembly), I stood the two of them up next to each other (with the X axis behind them) to see what the tent-shape will ultimately look like:

Here’s a closeup of the base of that second triangle, showing the upside-down z-tensioner piece made out of PLA, and the z-leadscrew-base that had the opto spring mounted on top of it with the long screw (described in the last post):

Immediately after that I proceeded to put the two sides together. This involved taking a long threaded rod, putting it in the chuck of my hand drill, slowly feeding it through the pieces on the top (ensuring the proper distances the whole way, and placing washers and nuts on as I went). It was actually kind of fun. Here is the way-cool result of all of that work:

There ya go. Wow that doesn’t look nearly as good with those tiny thumbnails.  🙁

So there’s one last picture from last weekend.. While slowly drilling/driving one threaded rod through on the bottom (after the above pictures), once it made it through the z-tensioner piece (made out of PLA), the rod started to jam up and wouldn’t turn any further. Once I unscrewed it and looked at the rod, I saw the threads seem to actually have been changed/warped somehow.. Here’s the picture – the strange threads on the left are thicker than the normal threads on the right:

Yeah you can’t see that at all unless you zoom in. At first I thought maybe the metal from this rod scrapped against the metal from the crossing rod inside the z-tensioner piece, but I don’t think that’s it. Then I thought maybe the threads were caked at some very very fine level by melted PLA.. I tried screwing nuts onto the rod with two wrenches, but could only get so far before it became almost impossible to move. I also tried my tap and die set on the rod, but didn’t try for long before I gave up. I’ll have to take another look at that and see what I can do. Not crazy about being held up by that.

Hopefully more progress soon!