More iPhone progress

December 3, 2008

Yesterday I was able to borrow an iPod touch and verified that it was able to control servos (or R2D2) as well so that theory is confirmed. I was able to use a iPhone and the iPod touch at the same time and it worked just fine. Also I was able to remove a computer from the setup. In the video below, a computer was acting as a OSC message translator. The message path would be something like this:

iPhone –> wifi router –> computer –> wifi router –> microcontroller –> servo (or motor)

The iphone would send a message like

/mrmr/accelerometerX/44/iPhone 450

the computer would translate that message into this and send it to the microcontroller

/servo/0/position 450

Simple but effective.

Recently I was able to do the same without the computer and have the microcontroller do some internal translation of the message.

Now the message path looks like this:

iPhone –> wifi router –> microcontroller –> servo (or motor)

Yes the R2D2 will have a wireless router inside it and will be power from battery.

I am also working on controlling a vmusic2 module in order to produce the sounds R2D2 makes. I am also planning on controlling other parts of R2 with this setup as well including:

  • Dome motor
  • Feet motors
  • Holo servo
  • door panel servos
  • JEDI system control (lights)
  • Periscope (eventually)
  • Lifeform scanner (eventually)
  • and more

Another nice aspect of this setup is that I can add microcontrollers and remotes (iPhones or iPod touch) to extend the system.

Remote control with an iPhone

November 18, 2008

I found a way to remote control my R2D2 with an iPhone. I’ve got minimal control working now. Once I perfect it, I will share more details, but for now this will whet your appetite. In the videos I demonstrate controlling a servo and the dome motor using an iPhone using the accelerometer (tilting the iPhone controls it) and using a slider control on the touch screen. Other touch screen controls are possible too such as rotary controls, buttons, XY controls, and multitouch as well as gestures. I should be able to interface with my J.E.D.I display as well and type in text messages in the iPhone that will scroll across the front or rear logic displays.

(Cue evil mad scientist laughter ) Muh ha ha ha ha!!

Installed dome drive and speakers

November 17, 2008

Attached the legs and dome

October 29, 2008

I got my legs attached to the frame and the dome as well. It’s really starting to look like R2D2 now and not just a pile of parts. Next step, attach the skins to the frame.

Got my COM-8 frame

October 27, 2008

I picked up my COM-8 frame on Friday and was able to put it together Saturday. I actually made some of the pieces myself including all the spacer rods and the shoulder rings (not pictured).

Birthday for my son

October 13, 2008

We had a birthday for my son over the weekend and I asked him what kind of cake he wanted. Guess what kind he asked for?

R2D2 cake

R2D2 cake

Dome progress

October 6, 2008

Made some big progress on the dome. Just need to polish it and attach the dome panels.

Here are videos and pictures in its current state.

R2 Cake Pan

September 28, 2008

My wife went to a garage sale yesterday and found a cool R2D2 cake pan, so R2 will have a birthday cake for his birthday ;)

Awesome Aluminum Parts

September 28, 2008

I just got my parts from David Shaw today which included the utility arms, front and rear logic surrounds, and totally cool holo projectors. Here are some pictures to get an idea. It was like Christmas today :D

I had to file one of the dome cutouts that was painted blue in order to get it to fit over the front logic display. I guess I could have painted it instead, but oh well.

Leg assembled

September 18, 2008

Got one of the legs assembled yesterday and it turned out nice.


Get every new post delivered to your Inbox.