R2-D2

All things related to R2-D2

Fixing a wobbly leg

Hurrying a build will always come back to bite you later!

When I originally built my R2, I was in a building frenzy. In a way, it was almost therapeutic for me, as I needed to get my mind off things, and really focused as much as I could into the build.

The legs was one of those first things I made, and I did not let the fact that I did not have a drill press stop me!

So, instead of .. I don’t know .. ask any of my friends if any of they had access to one, I basically drilled the holes in my ankles freehand. I know for a fact, that these holes have not been straight.

The symptoms of this, has been that my R2 always drifts towards the left when I drive him, and even though I can compensate, as soon as the drive power stops, and he rolls a few decimeters, he always steers off to the left. This has really been a pet peeve of mine, even though it is something only I was aware of, but isn’t that the definition of a pet peeve anyway, more or less? 😉

So, armed with a plan, I took R2’s legs to my friend Anton’s work (where they have a proper drill press) and got to work.

This is the problem area: (and no it isn’t dirty. It is only painted that way)

IMG_6888

IMG_6889

A few years ago, I did have the foresight to protect the existing ankle holes, so I had drilled the holes slightly larger and inserted a piece of aluminum tube to not let the threaded bolt eat into the plastic. When the foot was removed, I got proof that my ‘protection plan’ had worked as it should: The threads from the bolt had really eaten into the aluminium bolt! Just imagine what could have happened if it had gone straight into the plastic ankle?

IMG_6890

 

So, the force has been strong enough to not only impress the threads into the aluminium tube, but also to slightly deform the hole!

My plan was to make a new hole, a straight hole this time, and rather than the existing tubes, I would insert some sort of bushings into the hole.

I had these linear ball bearings that will do just fine for the job at hand:

IMG_6891

First step was to affix the leg to the drill press… and slowly drill through both ankle and the existing aluminium tube to straighten up the hole..

IMG_6893

 

Since the aluminium tube was only fixed with E-6000 inside, it soon pushed out the other end, while the drill made a straight hole through..

My friend Anton did the first one:

IMG_6892

 

.. and I drilled the second hole. Scary but a VERY quick fix in the end. The new bushings were pushed in to place …

IMG_6894

A much better solution, and a more solid contact area towards the plastic!

I also took the opportunity to attach the new motor holders (as seen in “Fixing a hobbled droid” and “Fixing a hobbled droid, part II”). Yes, even though I had made these new motor holders way back, I had to abandon them due to a motor dying on me, but this has since been fixed, and this seemed like a great opportunity to put them in action!

Since fixing this, I have not yet had time to do a proper event with R2, but I’ve got a two day event in September that will be a perfect test. I will bring along my backup motor holders just in case… you never now.

 

By |2016-12-06T00:00:14+01:00August 25th, 2015|R2-D2|Comments Off on Fixing a wobbly leg

R2 meets Snel Hest

(This is a silly Swedish in-joke, sorry)

Earlier this summer, me and R2 (well, only R2, really, I just tagged along) was invited to iis.se, that is responsible for all Swedish .se top domains and is the Internet foundation in Sweden when they changed name and logo to bring a smile to the faces of the employees.

IMG_5042

A quick little visit, but fun and met a lot of fun people.

Background about the title: There is an old image from the net, a meme before meme’s were known as meme’s. Supposedly it dates back to around 2004.

snel hest

Basically, the caption translated would be something like “I are niec hoarse”.

So, since iis decided to have a lot of things about “vintage meme’s”, they had someone walking around with a horrible horse mask..

IMG_5052

 

The morning ended weirdly when R2 got thrown off a bus..

Evidently the driver was not a Star Wars fan…

IMG_5053

By |2016-12-06T00:00:16+01:00August 24th, 2015|R2-D2|Comments Off on R2 meets Snel Hest

Disaster, Recocery and moving along…

Last week, I took R2 out to a gaming/cosplay convention in Uppsala, Birdie Expo!

Birdie is also one of very gracious sponsors of the VERY nice R2 Builders backdrop we (now) have!

IMG_3892.JPG

Anyway, day 1 went by well, I managed to get some time in hooking up a servo, rerouting some cables (the quick and dirty version) and doing some code on both my receiver and the new arduino I placed inside R2.

Since I was doing most of this on the fly, with a lot less tools that I usually use, the result was… well .. let’s call it “less than optimal”.

Sure, I got R2 working GREAT with both the new code and the new panel and some of the extra tidbits in it (still not finished with the code, but that will be done at a later time), but .. the results are quite horrible.

The insides of my R2 body now look like this!

IMG_3884.JPG

The extra amp, speakers, arduino and servo, without any properly done cabling at all, has turned my once so tidy R2 inside to a gigantic web!

So what was the results? .. well … this!

So, end user result is great, and I’m really happy. It is also the FIRST motorized servo in R2 I’ve done code for, so it marked a milestone!

For well over a year, I’ve had servos in the dome hooked up with no place to go. Now, this will change..

Second day of the Expo started out great.

I thought I’d get some time doing some tweaks in the control board when times were slow, but after a quick update, something went terribly, TERRIBLY wrong!

R2 started jerking, moving by himself and seemed really weird!

A little debugging told me that the communication between the bluetooth wireless Wii Nunchuck I was using, and my controller board had gone bananas. Instead of receiving real world values, it started receiving random signals.

Turns out that the old libraries used (third party) had not been upgraded in the past 3.5 years, and the later versions of arduino seemed to rupture something. (I did try and reinstall an old version to no avail).

So, I had to sit down and focus and see if I could fix the issue.

It ended up with me programming an arduino library for the nunchuck myself from scratch. I had no idea how or what to do when starting out.

About two hours later, R2 is back and moving again! PHEW!

Good thing though, is that now I can throw out the buggy code, and maybe even get more third party nunchucks working with better resolution!

Back at home after the ordeal, I’ve spent a few evenings looking in to the updated controller code, and will soon move over to the whole new branch of code I’ve written and improved upon from the original R-Series code to various contributions form other people.

Not wanting to sit and just do coding, I decided to get the hooked up servos in the dome moving.

I decided to not use the small Adafruit breakout board for 16 servos that I had, mostly because I cannot detach the servos at will, like I can with normal Arduino coding.

Said and done, I found a Servo shield at a local hobby place, bought it, took it home, only to realize that it was the shield version of the same Adafruit PWM board.

Now, that board could work great, if only I knew how to detach a servo in it, and unfortunately I don’t.

Instead, I purchased an empty shield and did some soldering. An hour or so later it was time to make the cables for it (which is a really fidgety job that takes way longer than people think, cutting, peeling, crimping, removing bad crimps, peeling, crimping again, realize it is not sitting tight, remove the second bad crimp and make a third one… and so on.

Once that was in the head, I started hooking things up and got really weird results from the first servo. First servo alone. It wasn’t supposed to be doing anything… yet.

I removed all code that would make any servo move, and still I got really weird results from a servo. Why? what’s going on?

I pulled everything out again and started writing from scratch… turns out that after a bit of googling on what I found, pins 0 and 1 on the Arduino are earmarked for Serial connection, so you have to disable the serial in order for them to work as a normal pin….

Once I found that out, I managed to get a sketch going, and started setting max and min values on the servos.

Not having a lot of time, I did not have time to investigate why one of the servos are not moving. The pie panel not moving in the video is not moving since the nut and bolt that was holding the piano wire that connects to the servo, fell out. Something to fix later on when I investigate why my servo on the 3rd panel doesn’t work.

Here’s a quick video I took after setting the max and min values. I’m not done yet by a long shot, but at least it is a start!

That’s all for now!

more updates next week!

By |2016-12-06T00:00:18+01:00May 19th, 2015|R2-D2|Comments Off on Disaster, Recocery and moving along…
Go to Top