Saturday, March 1, 2014

Starting to get back together

Update for my L3-G0 build, the full size Lego R2-D2.

It's like cleaning where things get worse before they get better.  Finally he's starting to get back together WITH his frame!

He was upside down a bit while I tried to figure out the skirt (built back on "Day 3", but haven't had anything to attach it to until now.... and now it's not right :(
 
And unfortunately the shim that the dome's bearing is on didn't fit once the body was bolted together.  The original shim was hand cut, but now the body is in a laser cut 12-sided shape.  Apparently without a frame it had more play.
 
Even worse, the (@*&#()*%& bearing didn't come with properly spaced holes, so I had to get at the bearing to transfer the bolt holes correctly.  And the bearing was on the bottom of the dome.  I almost got away with having the dome upside down, but it didn't survive :(


I'm hoping to get the dome back together for the Sealug meeting tomorrow, but it might not happen.  He obviously isn't complete, but I'm hoping to see how well he transports.  I'd rather mess up tomorrow with weeks to fix it than mess up on the way to Emerald City Comicon and have a few hours to fix it!.

Friday, February 14, 2014

L3-G0's Frame Test Run!

Warning:  Reader Discretion Advised.  This post contains discussion, photos and video of the naked interior of a Lego model as filmed by my wife.  (People who searched for some of those keywords may be disappointed by this post.)

This part has been a bit tricky, so it's been a while since I posted.  But it's starting to get there.

For Brickcon we pretty much had L3-G0's entire body built and ready, head moving, computers making noise, etc.  All that is pretty cool, but he was just sitting on a table, and we want him to move, run around the room, scare the cats, and all that.

To do that, we need some sort of "frame" to hold all the Lego together.  Something that won't shake apart on a rough sidewalk.  We investigated using Lego, like Technic bricks, but L3-G0 is pretty big and heavy.  The original model had a single Technic pin connecting the ankles, which clearly wouldn't work.  So we settled on wood and aluminum.



This is from a test run of the frame.  He's jury-rigged to move so that I can test how sound the design of the frame is.  Hopefully I'll shake out any structural issues before he gets his skin on.

He's RC controlled, like a model airplane, with 2 channels being mixed using the radio's v-tail mode to control the left & right motors.  So he ends up driving like a tank, though the control is with a single stick.

The motors are like what you'd use in a kid's electric scooter, and he's 8 wheel drive!!! (which actually isn't great).  The RC receiver outputs for 2 & 4 go to the motor controllers, which can be configured by computer.  There's a tiny acceleration/deceleration delay so that he doesn't slam the chains, which seems about right.  The motor controllers are also throttled at about 1/2 power because I didn't want to have a short or something and have the frame got out of control.  That'll have to be increased for real.  The speed's about right on smooth floor, but on carpet it's a bit slow, and it'll be even slower with another 30 pounds of Lego bricks on it!

Gory Details

The frame is mostly aluminum t-slot, with some brackets and stuff to help out.  I want him to eventually do "2-3-2", which is going from two legged mode to three legged mode and back.  Because of that his shoulders have a round bearing.  The insides are connected to a huge t-slot beam, and the outside edges have a smaller bar connecting them (to keep them in sync - theoretically).

Along with that theme, the center leg would need to retract, so the center foot is on a single t-slot rail, hooked up to a linear bearing (above the middle plate, behind the battery in the video).  At that point there are two fixed rails that go up (the ones sticking out the top).  The center foot bearing can slide all the way to the top.

However, I've put a stop on the center leg for now, and the bottom ankle hinge is fixed.  The outside legs are hinged in the middle, but they've got lots of wheels, unlike the front foot.  With the current single wheel, the front foot would fall over if the ankle wasn't rigid.

The single foot was really loud when I hooked it directly up to the battery, but the noise on the frame isn't bad at all with both motors regulated and running more slowly.

The ankles are currently 3 layers of plywood glued together.  Originally the front ankle was a single layer, but that snapped pretty quickly and I rebuilt it.  There's a brass collar through the wood where the ankle pivots on the foot.

With the flexible ankles I figured I needed front & rear wheels, and for various reasons I chose 3" roller blade wheels. Of course, it's more stable if the foot has 4 wheels, so I did that too. And then I powered both axles. The chain runs under the foot, so I probably don't want to get on very rough or dirty surfaces.

What I realized a bit belatedly is that with 4 wheels in the corner of the foot, it's kind of "hard" to make him turn like a tank. Quite a few wheels have to slip sideways for a tank turn to work. It seems "good enough" for now though, and isn't too bad if I make wide turns. OTOH, if I rapidly switch directions, he wiggles like when Kenny Baker throws R2 around.

Test Results

I took it to work twice to see where the problems were.  Astromechs have a terrible problem with the front foot and bumps.  He did OK at first, but the impact seemed to weaken the joints, so he started folding up the legs.  If the front wheel stops, the power of the side legs is pretty impressive, they try to keep pushing. 

The first day, I'd zip-tied the beam connecting the outer hubs together to the top, so that he'd be stuck in three legged position.  However the beam is actually 3 parts because it has to avoid the center mount for the center foot.  Those joints proved weak on repeated banging into sidewalk cracks, and eventually the legs started folding up. 

In the car I'd tied him down with bungies to a tie point in the middle, which worked going to work, but on the way back I basically (gently) turned a corner and the bungies pulled all the feet together, his legs folded up and he fell over.

That also knocked the battery loose and trying to get him back upright I bumped one of the wires into the other terminal.  Fortunately it was only a momentary contact (melting the wire helped), but I probably want to do something about capping the terminals.  I'll have a better mount when I do it "for real", but better safe than sorry (it's an 18 Ah 12V lithium iron phosphate battery, like Tesla uses, but tinier).

2nd Test

I drilled a hole in the shoulder hubs and bolted them together to keep the feet from rotating.  Because the hubs are currently wood, it didn't work too well, but it helped my zip-tie thing.

The rear feet frames are also laser cut, and seem OK that way. The Lego brick shell fits nicely over the frames, almost perfect on the first try (close enough I'm not going to fix it). The wood's a tiny bit flexible, but way lighter than aluminum.  I put one of the Lego foot shells on for the second test to make sure that the Lego didn't vibrate apart.

I zipped by the company store to our makerspace to show off the parts I'd made on the laser cutter.  Even when he's just a bare frame people stop and gawk, and most recognize what he'll eventually be when he gets his skin on!

The second test seemed to go way better, but I noticed that the legs "wander" in and out a little (toward and away from the body). 

I'm not quite sure what happened, but on the way back to the car, one of the outer shoulder hubs cracked and he started doing the splits.  That was sort of expected, we've planned to replace the plywood with aluminum there, but it wasn't great timing, he was in the driveway, and a delivery truck chose that instant to start "beep beep beep" backing up.

I didn't really want the frame run over, so I picked him up to carry to the sidewalk, and the other leg fell off!  The four bolts near the hub had worked themselves loose a tad apparently.  That's not really a problem, but I'm clearly going to have to find a better way to secure it.  I'd noticed that several other bolts seem to have vibrated themselves a tad looser.

At home I took a closer look, and the brass inserts in the ankles are also working their way loose in the wood.  I'd already thought about making the ankles out of aluminum, but that seems more likely. 

I don't quite get chills watching the naked frame run around, but my wife thinks he's already getting a personality.

I can't wait to get the bricks on and get him back together. I sure hope I can make ECCC in March.

Tuesday, January 28, 2014

Wait, I have an extra month?

Here, I've been thinking that ECCC (Emerald City Comicon) was at the beginning of March  (last year it was), it's at the end of March.  We've got an extra (almost) month.  Phew, L3-G0 *might* actually make it.

So you there!

Thursday, January 2, 2014

It's been a bit

The last post might be more interesting if you're new to this blog.

(Reader discretion advised.  This post is the kind of discussion that causes some Lego fans to become apoplectic.)

I've sort of run into some structural challenges that make it tricky to get L3-G0 onto his feet. Similar to the way Legoland sticks steel framework in their models, L3-G0's going to need some internal structure. I've been working on some of those challenges, and part of that's been learning about 3D printing and laser cutting.

Here's the kind of thing I'm working on, aluminum T-Slot "bones" and 3D printed "bricks" to attach the Lego "skin" to the "bones."
 

I'll have more to post in a bit, but it's still in progress.  If you want a preview of some of the parts I'm working on for his skin, I've posted several to My Thingiverse Things

Saturday, October 5, 2013

Brickcon 2013 L3-G0 Setup

L3-G0 Made it to Brickcon!!!

Whew, that was way more complicated that I expected.  Especially since the new! lights blew up at 1:30 AM. 

But he made it, here's a quick clip of L3-G0 doing his thing and some of the other MOCs at Brickcon 2013 (Oct 6/7).


 

Robotics

Right now L3-G0 is using FOUR computers:
 
  • Perhaps counterintuitively, a Lego EV3 Mindstorms to make his head spin
  • An Arduino for the blinking lights.
  • A Microsoft Surface for the sound effects (looping audio track)
  • And a Surface Pro that programmed the Arduino and the EV3, at the moment needed to trigger the EV3 (start button's buried), and was using it to tune the dome program for the conference today and tomorrow.

Wednesday, October 2, 2013

L3-G0 is Ready for Brickcon!

Yippee!  All ready for Brickcon 2013 (October 5-6 at the Seattle Center)  He's not going to have feet at Brickcon because that's going to be another very huge undertaking.

 
I didn't have a ton of time to post, so a lot happened.  The dome sits on a bearing, so that had to be mounted and bolted on.  The dome also basically fell apart and had to be rebuilt... better... stronger... faster... (yes faster, and it didn't even cost me Six Million Dollars).
 
Nikita helped test the dome:

 
The bearing and dome base rest on a support that is made from the hinges that hold the panels together.  There are two motors for the Lego EV3 Mindstorms (this is the largest Mindstorms robot I've built by far).  Two because they push a lot better than they pull.  The wheels will rest on the inside of the bearing, attached to the dome of L3-G0.  On the right, near L3-G0's blue front you can see a color/light sensor.  The light sensor is used so the EV3 knows when he's facing forward.
 

And here it is with the dome base on.  You can see that the plates on the base of the dome ring are bolted to the aluminum bearing.  The bearing has a plastic support ring on top of it, also to keep it from dragging the dome bottom on the static side of the bearing.
 
The bottom of the bearing is mounted to 1/4" plywood, seen here from inside the body, before the dome ring was installed on top. 
 
 The dome itself has been strengthened, and stays together much better now.
 
Also finally got the shoulders finished.  Lots of bits weren't perfectly aligned in the Lego Digital Designer (LDD), and LDD also doesn't show you how to attach 12 pieces from different directions at the same time!  Getting everything to snap together right was a bit challenging.


I like the detail on the shoulders, and also I like the "Under Shoulder Detail" (R2 Builders Club Lingo):
 
 
I show his dome spinning at the end.  I'll have a better video of that later, but here's what I have so far:

Sunday, September 22, 2013

Building the 2nd Dome Panel Row

Hosik, a Korean foreign exchange student helped out this time, thanks Hosik!

Hosik and Darius also helped make sure the cat (devil cat?) got some cameos.

It's sort-of days 11-12. Sort of because sometimes I only get an hour or two, so I try to get those into a "day" unit, whatever that is. This part of the dome's being really hard because of the multiple curves. At least the plan is mostly working, however the incomplete sections are fairly fragile. I also took time to build up some plates where the dome will rest on the Lazy Suzan bearing. Since the dome was already partially built, I did that from the bottom.


Also got the eye done!  The eye was challenging because the shapes don't align very well to actual brick sizes and shapes.
 
The logic display also looks particularly nice with a flashlight behind it.  This was fairly challenging to get all of the panels to fit next to each other and provide enough structure for the panels above and below.  It was rebuilt several times.
 
Its starting to get there.  I'm so focused on the detail that I miss the big picture sometimes.  A few times L3-G0's gotten my skin crawling when I walk into the room after stepping away.  Then it's like "who put that R2-D2 in my kitchen?"


Time Lapse Video for the Middle Dome Layer