Deathblades: Race to the Finish, Part 1

First off, I would like to thank Adafruit Industries for graciously donating a small flock of XBee radios and breakout boards. I can now start an XBee farm and isolate true-breeding strains of particular mutations.

Go buy stuff from them because they’re awesome!!

Over the past roughly 2 days, I blitzed through the Double DEC’er boards and put both units together (with the left side still without magnets, so it just freewheels). I’m proud to say that I have successfully test piloted the ‘blades and am not currently suffering from severe cranial trauma. They’re actually quite tame, but there is plenty of room to tune and refine.

Here’s the rundown.

I got all the special and SMT parts I needed from Digikey in massive quantities because the rest of MITERS could also use them. This build would also be my first foray into using surface mount parts of any type. Before now, I couldn’t see SMT parts out of principle, but I think my vision is slowly getting sharper. 1206 components now register as one pixel.

A preliminary height check using only the tallest components shows that the board would need significant compactification in the vertical dimension if I was going to actually fit them into the frames.

I briefly considered soldering the DECs directly to the boards, but elected to go ahead and make one board that had every expensive component (read: XBee and DECs) be removable and see if I could make that fit. If the tallest board does, then any other possible layout would also fit.

oh god surface mount fffffffff

It wasn’t that bad at all, actually. At least not with SOT223s and 1206 packages, which, for surface mount, are comparatively huge. A very, very clean soldering iron tip helps immensely. Up until this point, I was used to flying with completely grunged tips.

Tweezers are also handy.


All the discrete components are loaded and the board passes its power-on check! 5 volts and 3.3 volts all appear at the correct places.

I noticed the 5 volt regulator heating up quickly when an Xbee was loaded into its socket. This is due to it having to drop 24 volts (or thereabouts) to 5, all while flowing 50 to 60 milliamps. The 5v linear regulator itself was a last minute addendum to the schematic because I thought the DECs’ onboard 5 volt supplies (rated at a paltry 35 milliamps each) could not hold up the XBee and the motor sensors alone.

However, with both DECs in, it appears to be fine. Anyone know what the hell actually happens when you have 2 switching and one linear regulator all paralleled?!

Here’s the hookup for a bench test with one motor. In a serendipitous discovery, the 2.3mm male bullet connectors slip right into the motor phase output connections for convenient testing.

Maybe a two motor test is actually better…

Here’s the test video of what essentially amounts to a full Deathblade power unit, just strewn out on the table. I moved over to a location with a bigger power supply for this test because the MITERSupply was current limiting too hard, but I lacked the confidence to throw it on the full 6S lithium pack.

A closer view of a finished Double DEC’er board.

Alright, so here are the problems. The board in the “100% reversibly assembled” configuration doesn’t actually fit within the confines of the skate frame if the battery pack lies vertically. Additionally, the battery turned out to be several millimeters wider than its specification, which meant that it could not lie horizontally without either modification or severe machining of the frames.

The root problem, of course, was the battery. I ended up taking both ways out.

Step 1, the meche way out.

Using my longest 3/4″ roughing endmill, I thinned down the walls of each frame about 1 millimeter each. This operation turned out to be painless because of the ridged cutter surface (one of the advantages of roughing mills). I had otherwise expected such a long depth to chatter uncontrollably.

As long as I had Lady Bridgeport warmed up, I bored a power switch hole in the side of each frame. While I normally just disconnect the battery for most of my creations (even RazEr), I thought it would be more slick to have an Epic Switch on these.

The aforementioned Epic Switch. I found two of these haunting the Media Lab, and they were the only square switches I located which did not also require a square hole (harder to drill, you know).

I wouldn’t have minded (mound?) a round switch, but couldn’t locate two matching ones.

Hey, the battery now fits in!

Kind of. The main power leads exit out the side of the back, and they are very securely soldered…

To accommodate these, I’d have to slot out a section of the frame. This would horribly compromise the structural integrity, unfortunately.

So this calls for step 2: the EE way. I’ve moved wires on batteries before, so I didn’t hesitate to rip apart the pack to investigate that possibility here.

For what it’s worth, once the shrinkwrap comes off (it’s thin and nonstructural), the batter actually fits completely into the back of the slot where the endmill couldn’t reach.

Hey Hobbyking, do I still have a warranty on this thing since I didn’t violate the sticker? :>

Tearing deeper into the pack (yup, warranty is definitely gone…) reveals the power and balancer connections. The packs are very well made and all connections are on PCBs. Many early lithium polymer packs had direct-soldered leads.

Well, that was simple. A giant soldering iron and some leaded solder later, the wires point into another axis.

Of course, these two joints are now metallurgically indeterminate. The packs are made with non-leaded solder, but Lead-Free is for Losers™… and I only had normal solder anyway, so some of it got mixed into the glob.

I wouldn’t send it into space, but for now, I think it’s fine…

While I had the soldering iron heated and the battery’s wire leads detached, I changed the XT60 bullet connectors to some Deans connectors in order to standardize my battery packs. Who knows – eventually, they might be part of a Super Deansbus.

A spur of the moment rummage through one of our many capacitor bins unearthed some 470uF, 50 volt capacitors that were narrower in diameter than the buscaps I ordered. In fact, they fit exactly into the dead space that the DEC modules overhang!

The response was obvious. I knocked about 3mm of height off the board and gained some capacitance!

After all the modifications, I’m still almost stepping on the XBee. There’s maybe 2 or 3mm of normal distance between its edge and the nearest boot surface.

I’m not concerned, however. Even if I weigh enough to deform the boot, the whole Double DEC’er board is mounted on double sided, cushy foam tape, good for another millimeter.

I discovered that the mating bullet connectors solder very well to the original output connection pads. So, side-bullets it is. It saves even more vertical space, but I still think a short section of wire pigtail with these on the end would have been better. The bullet connectors require alot of “engagement length”, which was difficult to provide in the space behind the battery.

The Epic Switch was rotated to a vertical orientation for better wire exit points. I’ve also added connectors to the DEC’er boards themselves so they may be readily removed.

And the other motor is mounted…

I had a bit of fun determining the proper orientation of the motor vs. its rotational direction vs. the configuration of its 3 phase inputs, which took about half an hour of guess-check-forget-and-guess-again.  Then I dropped the boot on for good. With Loctite!

This is it. This is Deathblade-R, fully completed. No more mods are necessary, nor parts missing. If I wanted to, I could one-leg-skate my way around. Except I don’t actually know how to do that, so I’ll save the potential for broken limbs and knocked out teeth.

I’m going to go ahead and put together Deathblade-L anyway, but the motors do not yet have their magnets. The order’s been placed, but it could be three weeks (!) or more before they arrive.

The battery connector hangs out the side for easy access when I need to charge them up. I could have taken it one more step and put together a charging port, but I felt that was superfluous for the first revision.

By this time, the garbage trucks were rolling in to empty the dumpsters and facilities personnel were poking their heads in the door wondering who the hell was up this early, so I put Deathblade-R on the charger and called it a night…

Read more “Deathblades: Race to the Finish, Part 1”

Deathblades: Skatroller

That’s it – I’ve cast the die, thrown down the gauntlet, brought the house, and so on. I’ve registered for Otakon, which, besides being a peer cloud adventure, will be a thinly cosplay-veiled ground test for the Deathblades.

That means I actually have to finish and get moderately proficient at the delicate exercise of not getting skullfucked by the ground. Fortunately for me, Advanced Circuits did finally come through:

Check it out – it’s the updated Double DEC’er boards in AC’s nude color scheme. I elected to use their “Bare Bones” service because it doesn’t take very long. From the time I ordered (last Friday) to when I got them (today, Wednesday) was less than the time it took to get the SCHBs printed.

You know what – I don’t care if they have neither solder mask nor silkscreening. They’re conductive in the right places and insulative in the other. I can live with that… or give them a snazzy color scheme myself.

Unfortunately, when I said “waiting on you, Advanced Circuits” last time I actually meant “waiting on you, Digikey”. All the SMT and special parts needed to fill the Double DEC’er boards are in hyperspace at the moment, but they should rematerialize soon.

Here’s the consequence of designing in the lithium battery packs and then finding out they only fit in the “tall” configuration. I’ll be practically stepping on the Xbee the way things are turning out – and this isn’t even with the DECs in headers. They will have to be permanently attached to the carrier boards. Only a real fit will tell whether or not I’m truly space constrained.

In the worst case, I’ll make some spacer plates for the boot to be mounted a few millimeters higher.

Meanwhile, as I await the LAST PARTS SHIPMENT!!!!!!!!!, I will de-breadboard the hand controller and mount it to the wristpads. Here’s the fun part for today:

We begin with a Lilypad protoboard.

While I could have used any random-ass protoboard, the Lilypad boards just looked more elegant. Nothing will look in place zip tied to a skating accessory, so it might as well be cute, right?!

On the board I have already mounted a 14 pin socket for my favorite op-amp, the LMC6484.  Additionally, I’ve already set up the resistor divider and a connector to attach the FSR in the glove.

this is where it stopped being cute.

The Lilypads are “anti-perfboards”, which mean all the holes are connected together by a tiny trace which you can selectively cut to create conductive paths.

this is quite possibly the worst idea ever

The problem is that if your circuit is even moderately complicated, it takes forever to remember which little traces you forgot to cut or which traces, Robot Jesus forbid, shouldn’t be cut

it is much slower than point-to-point’ing with kynar wire or just bending component leads into eachother

After trace-snipping (which is not easy, I assure you, because it essentially involves digging up the fiberglass substrate) the op amp socket and the resistor divider, I had enough.

what the hell i dont even

I took the dullest razor blade we  had and, over the course of half an hour, scraped up every single trace in a grid pattern, leaving me with a normal perfboard and possibly contributing more to developing carpal tunnel syndrome than 3.5 years of build report typing ever did.

Then I continued.

“Rename N-dollar-sign-1 to ground? Of course.”

See, this is how I roll. Cranking the soldering iron to 850 degrees, its maximum, lets the tip melt instantly and cleanly through 30 gauge Kynar insulated wire-wrapping wire (which does not burn or smoke). It makes a quick and clean joint wherever I need it. Borrowing the concept of nets and buses from Eagle, I just connect one wire point-to-point-to-point before cutting off at the end.

Here’s the part where I have a brilliantly horrible plan and go nuts with it. I cut up a set of wire-wrapping sockets and used the legs as conductive spacers between the XBee Lilypad and the protoboard. The socket legs fit snugly into the Lilypad’s external connection holes.

The XBee’s 3.3 volt, ground, D0, D1, and V+ pads are all soldered to the protoboard’s pads below. One additional pad (“NC”) was secured just for more structure.

The result? A small, adorable Lilypad stack with the XBee on top and the glue circuitry on the bottom.

I couldn’t refuse the temptation of adding a power status LED in bright nuclear reactor meltdown blue. Hello, my name is excessive power consumption.

The XBee Lilypad’s onboard 3.3v regulator supplies power to all the logic.

Here’s the 100th build picture of the Deathbldes. Unfortunately not very dramatic. After verifying that the circuit still worked, I drenched the backside in Automotive Goop for insulation.

Goop is one of my most favorite adhesives because it’s rubbery and flexible (yet stiff in thin coverage),  dries and sets fast, and bonds everything.

After a few minutes, I remembered that Goop was in fact a glue and, thinking fast, shoved a piece of hook-side Velcro onto the Lilystack.

The entire top side of the wristpad is covered in fuzz-side Velcro, so this facilitates mounting without resorting to something more permanent, like sewing (AAAAAAAAHHHHHHH)

The battery holder got much the same treatment. Two CR2032 lithium coin cell holders are Goop’d onto a small piece of scrap aluminum. Another chunk of Velcro is attached to its back.

The system will run on 6 volts. This is subject to change, since this may be more drop and power dissipation than the very small regulator on the Lilypad can handle. I may change to a single high-capacity lithium polymer cell.

Here’s how the whole thing goes together!

Notice the other LED I’ve added to the top board. It’s connected to the ASC (associate) pin of the Xbee, so it blinks annoyingly and brightly if the XBee is powered and active.

From the side.

The two trimpots set the force response slope of the FSRs and the “enable threshold”.  It turns out that 25 to 20% is a better threshold than the 30% tested previously. I highly doubt the skatemotors will even produce enough torque to matter at 25% throttle anyway.

and it glows

That’s the important part. Green ASC blinkenlicht, and a blue steady power light.

Trying out a different configuration now. This is where having a huge Velcro surface comes in handy.

And a third. This one keeps the electronics out of the way of the wrist straps so I don’t have to remove all the electronics first before taking the wristpad off.

I’m very satisfied with how Skatroller turned out. The only problem turned out to indeed be power consumption. The two bright LEDs run straight off 3.3 volts, along with the XBee’s relatively strong hunger for power, meant the poor CR2032s went flat within 10 minutes.

Lame.

So expect the ASC light (at the minimum) to come off and the blue power light to get a resistor. Additionally, I’ll probably take myself up on the single cell lipo challenge. Three AA cells at 4.5 volts would make a good high capacity power source, but that’s extremely bulky.

Can XBees take a straight single cell Lipo (3.0 to 4.2 volts) without death?! Perhaps an A123 cell (2.7 to 3.6v)…  I mean,we totally don’t have any of those lying around at all.

digikey where are you