Names for LED Driver

April 21st, 2010 by Keith Neufeld

The LED driver board is nearing its final configuration (I need to convince EAGLE that the mounting hole has a hole in it; and don’t worry, those aren’t really the headers I’m using) and I’m about ready to send it off to be manufactured. But I’d really like to come up with a great name for it, to have silkscreened on the back side.

Rendering of LED driver PC board

I’d like something whimsical but which still relates to its function as an LED driver. Fun hobby electronics names I love: Adafruit, MintyBoost, BlinkM, SparkFun, MakerBot, and CupCake.

I’ve considered Illumerator, Illumifier, and variations Lumerator and Lumifier (which is probably TM and a bad idea). Whatever I settle on will have -3L appended, to distinguish this 3-string linear driver model from the -1S switching model I want to do next.

So I welcome suggestions for great names. I’ll be happy to send you a couple of drivers if you’re the first person to suggest something I end up using.

Warning: I don’t care for variations of my name that feel like they came from the “makin’ copies” sketch.

Glastherm HT: Not So Good for Insulating Hotplates

April 19th, 2010 by Keith Neufeld

Two pieces of Glastherm HT for aluminum hotplates

I got a care package this week from my friend Scott in San Diego. Half of it was two pieces of Glastherm HT that he cut to fit my soldering hotplate and my MakerBot CupCake heated build platform. Scott and his buddy Ben Wynne are building hotplates and were also planning to use Glastherm to insulate them.

Last night I pried the warped acrylic off the underside of my platform, cleaned the surfaces with alcohol to ensure a good stick, and affixed the Glastherm to the heater PCB with kapton tape. I then set the assembly on edge on another piece of Glastherm and ran it up to operating temperature.

Testing Glastherm HT insulation on MakerBot CupCake heated build platform

The Glastherm was not nearly as good an insulator as I expected. The “cold” side of the sandwich lagged only 25°F behind the hot side as I was heating it from room temperature and once it stabilized at 250°F, (at which point the “cold” side reach equilibrium around 225°F).

I’m surprised that the Glastherm provided so little insulation. Perhaps it’s not intended to be used in direct thermally-conductive contact with a hot surface — although the diagram on their web site certainly suggests that it is.

At any rate, the “cold” side of my sandwich is still far too hot to be in contact with my acrylic mounting plate. And since Glastherm is supposed to be pretty good stuff, I think I’m resigned to finding a way to assemble my sandwich that leaves an air gap between the heater and the mounting plate, which I hadn’t wanted to do.

Replacing a Broken Power Jack on a DBX 266XL Compressor

April 11th, 2010 by Keith Neufeld

I recently bought a DBX 266XL audio compressor/limiter on eBay. The seller described it thus:

Has light scratches, small amount of rack rash, in perfect working condition- no issues whatsoever. Has been used in my guitar rig for the past several years with no problems.

Broken C-14 power jack on DBX 266XL compressor

It arrived oddly but adequately packed and … as you can see, not in perfect condition. I would go so far as to say it had issues. I suspect had I tried to use it, I would have had problems.

Well … I could complain to the seller, who would tell me it was damaged in shipping, and then I could try to deal with the USPS who I don’t think broke it, and I could spend a lot of time and frustration and maybe get some money back and probably end up with no compressor. Or I could just fix it myself and have a little fun in the process.

Read the rest of this entry »

What Is This Thing?

April 11th, 2010 by Keith Neufeld

I bought this at a surplus store a long time ago (twenty years?) thinking it was cool.

Front side of mystery plug strip

The front side has what I hoped would be lights but appear to be sockets. Positions 050 and 056 have broken off pins in them.

Back side of mystery plug strip

The back has wire-wrapped pins and Babcock PS-1224 devices, which I can’t identify. Fron context, I assume they’re some kind of matrix scanners.

I can’t decide whether it’s a patchboard (my best guess) or some kind of matrix input device — insert conductive pegs to connect rows to columns and indicate which of a thousand positions should … something.

Anyone?

Threaded Pulley for MakerBot CupCake Extruder

March 29th, 2010 by Keith Neufeld

All along, I’ve been having trouble with the filament feed on my CupCake extruder. Regardless of how closely I position the idler wheel to the drive pulley, the slightest blockage at the extrusion nozzle (even sometimes removing the text extrusion with needlenose if I get too close) causes the timing pulley to ream out a pulley-sized divot from the soft ABS.

There’s then no way for the extruder to move the filament — forward or backward — until I get pliers and apply considerable force to the filament at the intake to move the divot past the pulley.

Brass pulley with threaded groove

In April last year, nophead tested different drive methods and found the threaded pulley (as above) to provide the strongest grip on ABS. (Search in page for “The final test was a threaded pulley” to see his technique and results.)

nophead isn’t the first to use this technique to manufacture a threaded pulley and I’m not the first to copy his notion of using it on a RepRap, but I’ve lost my links to many of those who have done it before.

At any rate, I installed one on my CupCake this weekend and the results are considerably beyond my expectations. Here’s the story.

Read the rest of this entry »

What LED Currents Should I Offer?

March 27th, 2010 by Keith Neufeld

The MAX16823 that my LED driver is built around uses current-sense resistors to set the LED strings current to .203V / R.

So for the maximum 100mA, R = 2.03Ω; for 20mA, R = 10.15Ω.

PC board layout for LED driver

I’ve laid out the board to accommodate both SMT and through-hole sense resistors. I’d like to offer boards preassembled for at least 100mA and 20mA and boards without sense resistors so you can provide your own resistors for custom currents.

Should I offer other preconfigured currents besides 100mA and 20mA? Do I need to bother with 15mA?

Let me know in the comments what currents you’d like to have. Just because you ask for something doesn’t mean I’ll provide it; but if enough ask for the same thing, I very well might.

Opinions Wanted: Connectors for LED Driver

March 20th, 2010 by Keith Neufeld

The long-languishing linear LED lighter is back in my “get it done” pool. I have the parts sourced, the design refined, and a big bag of utterly failed attempts to print an acceptable case for it on my CupCake. Fine. Forget the case. No case.

The project, to refresh your memory, is a linear driver for three strings of LEDs, up to 40V and 100mA per string. You supply your own power (5-40VDC), LEDs, and wire.

After spending two hours looking through 250 pages of connectors in the Digi-Key online catalog (I am not kidding), I’m distressed to discover that the least expensive connectors I can find are going to cost about $2 per board. Feh! But I want the power and LED connectors to be polarized, and that’s more expensive than plain ol’ .1″ headers.

LED driver board and connectors

Here’s a mockup (clickable for the big pic, like all the photos here) of an early prototype PCB with product photos of the connectors I’m leaning toward. On the right, a six-pin header for three LED strings and a representative two-pin plug that’s polarized by virtue of the semi-latching bump. On the left, a two-pin header for power and definitely-latching matching plug.

Note that the male connectors are on the board to reduce the opportunity for shorting what’s on the ends of the wires while they’re unplugged and flailing around.

Questions:

  1. Is it reasonable to expect people to plug three two-pin connectors into the right places in a six-pin header?
  2. Is it worth making the power connector different from the LED connectors, to make it harder to misconnect things?
  3. How many people are going to crimp pins onto the wrong wires and have to start over?

Opinions in the comments, please.

If you think you can find me less-expensive polarized connectors with .1″ spacing (I want to offer the driver with straight male headers for breadboard friendliness) that I can buy from a supplier as reputable as Digi-Key, please provide direct links to at least the header and ideally the plug and crimp pins. Free LED driver if you actually come up with something I like better.


Addenda 21-Mar-2010

Thanks for the responses so far! A few additional notes:

Connector Cost

The connectors I show above come to about $2 total per board, not $2 each. That’s still a larger fraction of the electronics cost than I’m happy about.

Connector Size and PCB Size

The current iteration of the board layout is much smaller than that shown above:

LED driver board layout

I’m trying to make it as small as possible (A) on principle, (B) to save on board manufacturing cost, and (C) to make it easy to “hide” the driver within whatever you’re building. I have a little more optimization to do; but you can see that the board size will very soon be determined by the size of the connectors.

Because of this, I would really rather not leave extra “key” pins in the LED string connector — they’d widen the board. (Arguably I could then shorten it, but I’m not convinced I could really make that happen, given the distance I need to fan traces out from the TSSOP. The TQFN pinout doesn’t make things significantly better, either.) I’d also rather not use connectors with “walls” between the two-pin pieces, as they’d increase the PCB width (height?) by at least .2″.

Also if I go with the six-pin connector idea, the female headers need to have thin outer walls so they can fit side-by-side between adjacent pins.

LEDs and 6-Pin Connector

By my read of the MAX16823 datasheet, if you misplug an LED string one pin off, it simply won’t light, nondestructive to both the LED and the string. I assume you would then look at the plug and see you had misplugged it and replug it correctly — so this should not be a catastrophic event.

I also intend to indicate the correct divisions of the 6-pin connector in silkscreen.

I know people will still get it wrong occasionally, but since it won’t hurt anything — good enough?


Addendum Noon 21-Mar-2010

Asmodeus has found the connectors I want to use and pointed out the (obvious) way to space them to meet my board criteria.

If I need further input, I’ll mock up another picture with the latest plan and start a new post. Thanks to you all, and comments are now closed!

MakerBot CupCake Heated Extrusion Bed Part 4: Putting It All Together

March 20th, 2010 by Keith Neufeld

Thanks to nophead’s discovery that kapton tape makes a perfect ABS extrusion build surface, I knew that I wanted to cover my heated MakerBot CupCake build platform with it. While Scott was milling me a plate, I ordered a roll of 4″ kapton tape and a roll of 1″ double-stick kapton tape from eBay seller mn-vac, whom I can’t recommend highly enough. He had some long-running auctions that he had updated to indicate that he was out of town and wouldn’t be able to ship for a couple of weeks, but still responded immediately to my questions and had the package shipped to me well before he was even scheduled to return.

Acrylic base and aluminum plate for MakerBot CupCake heated build platform

I had my acrylic insulator from Ponoko that press-fits perfectly onto the Y stage and the aluminum plate from Scott.

Acrylic base and milled aluminum plate for MakerBot CupCake heated build platform

Scott had even milled a recess into the underside of the plate for the SMT thermistor Tom put onto the heater PC board; but because I wasn’t sure exactly what other features would need recesses and where, Scott left them for us to mill.

Two weeks ago Tom and I finally got together to assemble the heater, aluminum plate, and insulator into a tasty heater sandwich.

Tom McGuire milling recess in aluminum

First I marked on the aluminum the location where the wires would connect to the PCB. Tom milled a recess into the aluminum to provide clearance for the solder joints on the top side of the PCB.

Milling recess in aluminum

Tom did quite a nice job of milling a trapezoidal recess by hand without any CNC assistance, and was careful to protect the surfaces of my milled plate.

Heater PC board with double-stick kapton tape

Tom soldered wires to the heater PCB. After confirming that the heater resistance was still about 4Ω at the far end of the leads (the same as the resistance of the heater trace on the board) to make sure we hadn’t shorted anything, we covered the PCB with double-stick kapton tape.

Aluminum plate attached to PC board heater for MakerBot CupCake build platform

The PCB was slightly oversized, so I had fit the pieces together first to mark the correct alignment. I set one edge of the aluminum into place on the double-stick tape, leaned it down and rechecked alignment against my marks, then pressed it into place.

Besides holding the pieces together, the tape insulates the PCB traces and the thermistor from shorting on the aluminum. We re-measured the heater resistance at 4Ω just to be sure we hadn’t shorted anywhere.

MakerBot CupCake heated build platform underside showing wire routing

While Tom was milling the aluminum, I had marked, cut, and filed a notch in the acrylic to route the wires out the back of the heater assembly.

We attached the acrylic to the sandwich in similar fashion and put a little piece of kapton over the wire recess, more for show than because it actually provides much holding power. I could fill the recess with a heat-safe gasket compound, but the wires have been doing okay so far and I like knowing I can disassemble this for repair or upgrade.

Note how Tom peeled the copper off the back side of the PCB around the wires’ through-holes.

MakerBot CupCake heated build platform with sloppy kapton tape surface

I hadn’t realized how difficult it would be to apply 4″-wide tape to a square platform. The 1-mil tape is really schlimmery and hard to align straight where it first touches and grabs onto the aluminum, hard to squeegee down without bubbles, hard to press down straight without creating wrinkles, etc. I’m pretty good at squeegeeing screen protectors onto PDAs straight and bubble-free using a credit card, but the kapton tape was having none of that. An edge of the tape also tore coming off the roll. (It looked like it was bunched up where it had been sheared at the factory.)

Oh, and it didn’t help that the aluminum was still hot from a test firing and Tom and I were both halfway juggling it trying to hold it and the tape. :-)

Printing on the Heated Platform

Many folks building heated build platforms are powering them from the extruder and hacking the firmware to control the platform temperature. I’m not averse to this idea in the long run; but for expedience, I brought a variable power supply and we used it to power the new heater.

Tom ran the supply up to about 24V to heat the platform quickly and then dropped it back to 12V to maintain a fairly steady temperature somewhere in the 180-200°F range. (It wasn’t varying that much; I just don’t remember exactly where Tom set it.) The power supply’s current meter showed a reassuring V / 4Ω the whole time.

Partial pulley extruded onto heated build platform showing pliability of raft

The first printing attempt was Zach’s idler pulley. I have other settings wrong (the perimeter density is too low), but the raft adhered perfectly to the kapton. The lifted corner is where I started to peel up the still-pliable ABS without having let the platform cool quite enough.

Tom added the blue tape, by the way, to create a non-specular surface for the IR thermometer we were using.

Fob case extruded onto heated platform -- no warping!

Skeinforge had some wacky ideas and my densities were off again, but a fob case built perfectly flat with no lifting or warping as well. I let the fob cool longer than I had the pulley before trying to remove it, and it popped right off the kapton with only slight deformation in the corner where I wedged the knife blade (still too soon).

reflections off raft bottoms

As nophead did on his initial tests, I got delightfully smooth and reflective surfaces where the ABS conformed to the hot kapton.

Next Steps

Living in Times of Raft-Free Printing

As zaggo described in Living in Times of Warp-Free Printing, I no longer need to print a raft under my builds. I’ve not yet installed the Skeinforge Raftless module, which prints a leader into the first layer to give you time to fine-tune the nozzle height (and amount of extrusion squish) and slows down the feed rate of the first layer to help smoosh it onto the platform. But with judicious live Z-axis tweaking, I’m getting reasonably good results.

Flatness and Leveling

The aluminum plate appears to be dead flat, as it should be (and as I had hoped). It is not, however, dead level with (parallel to) the X and Y axes, causing the first layer of large objects to be tightly smooshed at one edge and not quite sticking to the platform at the other edge.

Copper tape on underside of MakerBot CupCake heated build platform

Tom and I stacked copper tape scraps on the underside of the platform in a quick and dirty attempt to level it, but the copper tape appears to be just squishy enough that it probably won’t provide reliable leveling.

Worse, you can see that the heater gets a bit too warm for the acrylic and my “insulator” is starting to warp after only a few hours of use. I’ll need to add a sheet of real insulating material between the heater PCB and what I believe I shall rename the acrylic “mounting plate.”

Warped MakerBot CupCake Y stage

Also the left edge of the Y stage plywood is not fastened down to the walls, so there’s more play in the height / level of the left edge there. I’ll probably glue that together to make it rigid enough to use as a good base.

I’m thinking that nylon set screws in miniature T-nuts set into the Y stage may be the best way to level the platform. There’s not a lot of room to spare in the Y stage; I may have to cut a larger, replacement stage top. (Ponoko again.)

Thermistor, Power Supply, and Enclosure

I had assumed I’d use the thermistor for closed-loop feedback, but at Tom’s house 12V seemed like the perfect supply to keep the plate at the desired temperature and I considered wiring it straight to the PC power supply.

Since then I’ve used it in my colder utility room and had to turn the supply higher than 12V to get the plate warm enough. That suggests both that I will need to use the thermistor and that the CupCake’s PC power supply may not be an adequate power source for this heater. We may need to make a second PCB heater with slightly lower resistance — although I’m leery of increasing the heater current too much, lest the lead wires start heating up too.

MakerBot CupCake

Alternatively, rather than cranking up the power, I’m considering making plexiglass doors or panels to cover the CupCake’s openings and retain more of the heat from the platform. It seems like a more efficient approach; and it would also help warm the whole chamber, which should further reduce warping on objects that are both tall and wide.

Even though the extruder pokes through the top of the CupCake when at its highest elevation, quite a bit of the CupCake top could still be enclosed — and the Z platform itself nearly spans the CupCake interior, helping trap heat in the part of the chamber containing the heated platform and the extruded model. Again a good thing.

MakerBot CupCake Heated Extrusion Bed Part 3: Ponoko Laser-Cut Acrylic Insulator

March 10th, 2010 by Keith Neufeld

Looking back at my notes, I see I got parts 2 and 3 out of sequence; I actually sent off to have an acrylic insulating plate manufactured before Scott milled me the aluminum bed. No matter; I didn’t receive the package of insulators until well after Scott had sent the aluminum. :-)

Orange acrylic sub-bed on MakerBot CupCake build stage

After Tom offered and built me the McWire PCB heater, I was thinking about how best to attach it to the CupCake’s Y stage. The Y stage has M3 machine screw heads poking out the top, which are actually nice for maintaining registration of the build platform; and it has five magnets embedded in it to keep the platform securely attached to the stage.

Although Tom left clearance in the heater PCB for all of these things, I wasn’t sure I really wanted to have to drill through the PCB and into the aluminum plate to fit the PCB/plate sandwich onto the Y stage. I also didn’t think I really wanted to put a heater directly onto the Y stage. Even at temperatures not intended to melt the extruded plastic but only to keep it warm, I wasn’t sure whether the heater would scorch the wood, cause it to warp, or do something else undesirable.

While puzzling over how to attach magnets to the heated build platform, it occurred to me that I should simply do what MakerBot did in the first place — press-fit the magnets into lasercut holes. And the rest was obvious.

MakerBot CupCake build platform

Ponoko is an online service billing itself as “the world’s easiest making system.” You upload drawings in your choice of a couple of different vector formats, select materials, and confirm what you want done. They laser-cut your drawings and ship you the results.

Out of the wide range of materials they offer, I settled on acrylic. Its melting point is close to that of ABS and the heater isn’t supposed to melt the ABS, just slow its rate of cooling. The heater PCB’s heating traces are on the top side, so there’s a thin layer of fiberglass substrate between the heating element and the lower surface. Acrylic is supposed to be a fairly good insulator, which not only helps protect my wooden Y-stage but also should make handling the heated platform easier. And they had it in 3mm sheets, which turned out to be exactly the dimensions of the magnets. (In retrospect, I’d probably use 5mm next time and let the magnets “disappear” into the interior of the sheet’s thickness.)

To prepare for Ponoko, I downloaded the same CupCake Y-stage DXF file from Thingiverse that I had sent Tom to find the hole spacing for the heater PCB. I installed a demo copy of QCAD and in a single one of the 10-minute sessions its demo allows opened the DXF, deleted everything from the Y-stage file but the build platform, moved the platform to the origin, deleted the lettering from it (because it’s no longer a build platform), and saved it as an SVG. (Whew!)

Rambling sidebar: By the way, I interpret the CupCake’s CAD files’ CC-GPL license as indicating that I may legally copy the CAD files and make derivative works. CC-GPL refers throughout to programs and it’s not clear how it applies to designs for physical objects; but also it takes effect not when you modify but when you distribute modified works. The original MakerBot build platform does not contain a copy of the GPL as it would be required to were it a program being distributed under the GPL, thus I don’t think that my insulators need to contain a copy of the GPL even if I distribute them, as they would if they were programs. However, I want to be true to the spirit of the license attached by the creators; and if this works out, I’m glad to make available the SVG files I created and used.

MakerBot CupCake heated build platform insulator, single

I loaded Ponoko’s “P1″-sized template into Inkscape, imported the modified platform SVG I had saved from QCAD, changed its line color and width to the settings Ponoko uses to indicate cutting (versus etching), and saved a copy. I uploaded it to Ponoko, selected 3mm acrylic as the material, and ran through a shipping quote — which due to an incorrect default setting on my Ponoko account was going to make the part in New Zealand and ship it to me at a cost of about $80.

MakerBot CupCake heated build platform insulator, 3x3

While I was straightening that out, I loaded a “P2″ template and placed nine insulators on it. (Although I left more space between copies than I needed, there was definitely not enough room to get four copies along either edge.) I got my “manufacturing country” set correctly and ran an estimate on the 3×3 P2 version.

size make material shipping total yield each
P1 $.83 $2.50 $5? $8.33? 1 $8.33?
P2 $7.73 $8.66 $9.88 $26.27 9 $2.92

I don’t think I reran shipping on the exact P1 shown above, but I had run another P1 and got shipping in the $5 range. So I could get one insulator for ~$8 or nine for $26.27 ($2.92 each). I submitted my P2 order for nine insulators.

I was shocked to see an estimated delivery time of four weeks — it didn’t seem like it should take that long to slip a sheet of plastic into a laser cutter, run my design, and throw it in the mail. But I think Ponoko is doing well and has a lot of business, so it makes sense that they’d have a backlog.

Ponoko package

Ponoko sent me updates as my order was being validated, prepared, cut, and packaged. It shipped two weeks after I uploaded my file and arrived about a week after that. Opening the package was a bit anticlimactic — the protective paper on both sides of the plastic is rather boring to look at and visually disappears into the shipping cardboard. But I had lovely orange parts inside!

Orange acrylic sub-bed on MakerBot CupCake build stage

I had originally thought that the kapton tape I intended to use on top of the aluminum plate would look oranger than it ended up, so I had tried to find an orange translucent acrylic to match it, but it was out of stock. I picked the orange opaque, which I find rather striking, and probably like better than the yellow translucent I would have picked had I had my tape on hand already.

The acrylic insulator press-fits perfectly onto the machine screw heads — it feels like I wouldn’t even need the magnets to hold it in place!

MakerBot CupCake Heated Extrusion Bed Part 2: Milling an Aluminum Plate

March 9th, 2010 by Keith Neufeld

On January 5, nophead wrote of his serendipitous discovery that ABS sticks well to hot kapton tape and releases well from warm kapton tape. Coupled with difficulties I’d been experiencing with my plexi build platform not being rigid and flat enough, I knew immediately that I wanted the top of my heated build bed to be aluminum plate covered in kapton.

When Tom McGuire built me a PCB heating element, he offered me some sheet aluminum for the top; but although not thin, it wasn’t thick enough to be as rigid as I wanted it to be. I contacted my friend Scott Smith who has taken up machining and he offered to mill me a piece from some 1/4″ plate he had on hand. I sent dimensions and he did the rest, including taking pictures and sending me the following commentary.

February 6:

Having rough-cut a 100mm square piece of polished flat 0.25″ aluminum on the band saw, it’s time to square off the edges.
Milling first square edge on aluminum plate

After one edge is flat, I can flip the piece over and mill the opposite side. Once done, I have at least two sides that are guaranteed parallel.
Milling parallel edge on aluminum plate

When I rough-cut the piece, I left some extra so that I could square the piece off without losing too much material. Now both sides are parallel.
Milled parallel edge on aluminum plate

Next, I lay the piece flat in the vise with the non-parallel edges on the left and right sides. I can run the mill in the Y direction to square these last two edges off.
Squaring third and fourth edges on aluminum plate

Using a macro lens in rather low-light, so I had to crank up the ISO and open up the aperture. Still, my shutter speed was too slow to catch individual chips flying around…
Chips flying while milling aluminum plate

Once the piece is square, I use an edge finder to zero out the CNC at the center. The stop is placed in the vice so that when I flip the piece over, I don’t have to re-center the CNC again.
Aluminum plate in vise with stop

The crosshair is made using an 60 degree engraving bit at high speed.
60-degree engraving bit

To zero out the Z axis, I wiggle a piece of paper back and forth under the engraving bit as I slowly lower the spindle. When the paper stops moving freely, I set the Z position to the thickness of the paper.
Lowering engraving bit to aluminum plate

After engraving there were burrs around the crosshairs. Before I use Scotch Brite to clean it up, I take a red sharpie and ink in the grooves.
Inked crosshair grooves in aluminum plate

The Scotch Brite takes any excess ink off of the surface, but leave the ink in the grooves. Hard to see in this photo, but the crosshair is red.
Deburred aluminum plate with inked crosshair grooves