Posts Tagged ‘MANOI’
Giving in to the ATmega328
Today I’m going to give in to the 30K of memory in the ATmega328.
Yesterday I was trying to compile the code I wrote for MANOI, and it’s always a few hundred bytes too big.
How am I supposed to do anything if it’s too BIG?!
I hope that the modified version of Arduino 11 will work okay on my Windows XP machine… why do I get this feeling that it won’t …
Those XMAS decorations that I was making the other day I had to put a pause on since I couldn’t find a hole puncher. The XACTO knife wasn’t XACTLY doing its job
. I think that the hole punch will be too big for the LED, so I’m not sure yet what I’ll do. Hmmmmm!
Oh yeah, if you didn’t notice- I fixed the smilies
… but I also accidentally deleted all of the links from the sidebar. I’ll have to re-add them by hand AGAIN! Grrrrrr…
EDIT: Nevermind… they weren’t deleted
Hockey MANOI + Wii Nunchuck
Today (Thursday) I got my MANOI working with my Wii nunchuck!
It was super easy since I already had the configuration ready because of my other robot.
Here are some pictures:
The SSC-32 is barely visible anymore!
The big transformer powers the battery to give it 12-13V (constantly). The small transformer is for the Arduino, cause I couldn’t find a 9V battery
MANOI’s back- the battery and Arduino are attached to tape using velcro
The way it works is the Wii nunchuck has an i2dc interface with the Wave Shield, which is on the Arduino. Using the Nunchuck library, you know what button is being pressed and values of the accelerometer.
I already made functions to determine if the nunchuck is tilted home, left/right or up/down. Soooo, I just added the “skating” functions to that, and the condition that the C button has to be pressed. There’s more control this way.
To shoot, it’s just the Z button.
The most surprising part of all of this was when I realized that MANOI “skates” better when I added all the stuff to his back. I guess it adjusted the center of gravity just right!
There’s a video here:
I still have some more stuff to do… like add a few more motions and sound.
Friday Night Robotics!
This is my Hockey MANOI work in progress robot. It needs a lot of improvement before I actually take it outside (hopefully there won’t be snow by then). It’s using a plastic stick that I found lying around (check out the pics)

So far it’s going okay, I guess. Trying to make a robot balance with many moving parts is difficult though, and really exhausting. There’s lots of things that I’ll need to fix… The program is basically a sequence of movements:
- Forward 6 times
- Shoot 3 times
- Backward 6 times
- Shoot 3 times
The Forward and Backward movements do vary slightly, but they both result in the robot going backwards. I’m trying to think of a way to fix it that will be the best way, like attaching a few heavy rocks to the front of the robot won’t be the best way in this case. Once the robot shoots after going Backward, there’s too much movement and it falls over.
I’ll probably have an if statement in the Shoot movement asking what was the last movement. If it was backwards, the shot will be more slow and less intense so it won’t tip over.

The stick also has to be mounted better… it moves WAY too much =P (those tie wraps serve no purpose)
Despite all of the falling over, it’s fun to be trial’ing and error’ing to see how the robot can balance
And it’s working off of an Arduino! I plan to add the Wave Shield, with some hockey sounds/songs that MANOI can play — there will also be a FSR on the stick so the robot will know if it should shoot or not
SOFREEZINGCOLD
ITS SO FREEZING COLD! I think I’m gonna transform into an ice-cube!! ZGG!
Speaking of cold… You know when you first start to skate, you pretend you’re walking? You hardly go anywhere, but you do go somewhere because of the friction… My robot can now do that! I was playing around with MANOI, gave him some roller-skates (actually: lego wheels), and programmed it in. After a few trials and errors, it works! MANOI now can look like a goofy Canadian newbie skater. SWEET!
I’m trying to find a small hockey stick that I can tape to its hands, but I have a feeling Ill have to make one myself. Carving it will be okay, I’m just worried about how I would make it thin- like half an inch. I’ll probably use one of the sanding power tools to do that (since I don’t want to saw my hand off (or fingers (but then again, they may just fall off because I’m SOFREEZINGCOLD (wow this is a lot of nested brackets (LOL))))).
I hope to play hockey with my ‘bot on Saturday… this will be interesting!
I updated my blarg to Wordpress 2.7 B2, and stylized a new theme! I’m not sure what I should name that lonely RSS elephant over on the right though. Syndie, the syndication elephant? LOL!
Shuffling Robot
Instead of having my humanoid completely lift its foot off the ground, it “shuffles”. At least one part of the foot remains in contact with the ground. (It does work when there is no ground underneath the foot, though)
I finished the right leg on Tuesday… I worked on the left one today, and will hopefully finish it off tomorrow so I can spend some time on it on Saturday
(and make an insightful blog post for once)
What I’m interested in seeing is what is the maximum speed the robot can go at, without tipping over. Since I’m coding it in slow-motion, I may not account for all of the possible moving parts when the robot is going faster.
Robot motion is pretty cool stuff- it looks easy, but it really isn’t
I’ve also been working on a few other things…
More on that (hopefully) tomorrow or Hallowe’en.
Humanoid Walk
This entire week I have been working on MANOI! (and iPhone apps)
I discarded the idea of having a separate TX line- as the SoftwareSerial stuff never worked properly. ![]()
Right now I’m in the process of mapping out a way for the humanoid to walk. It’s intensely difficult… So, I’m doing it with pencil and paper… then I’ll code it into the Arduino, and find a protractor to double check all the angles.
(Hey- my plan sounds FANTASTIC in theory! I guess this will mean I will end up doing everything BUT the plan
)
I’ll probably make a back-dated blog post on Wednesday as that is when I got the robot to balanced, and it’s a pretty significant milestone ![]()
My “jello world” iPhone app is coming along nicely. I like it a lot, hopefully I’ll be putting it up in the App Store in the middle of next week
Prizes? For me? Wow!!!
Apparently I won a prize for placing 10th in the DVICE MAKE Cylon competition!!
I got a MAKE the FIRST YEAR (autographed) boxed set of 4 zines, and a 1 year sub to SciFi mag! :D!!
The SciFi mag has Chuck in it… coool!!
That made my day! Definitely worth paying the $30 for shipping. At least I got a prize!! (Remember: I wasn’t even eligible to enter this competition) =P!
~~~
So yeah… my robot (MANOI, with the Arduino-SSC-32 to Processing program) WAS working, now it isn’t. I’m not entirely sure what I changed :X! Debugging again and again…
It’s WORKING!
My testing version of my program for Processing and Arduino to control the SSC-32 is WORKING!
I’ll post a video of it later, once I hook up some buttons, and “clean” up the code.
iPhone!!
I got an iPhone yesterday!!! Yay!! (belated birthday present)
…Of course, this happiness if a prelude to a TONNE of hard work that I’m going to do. I’ll be developing apps for it! ![]()
I’ll still be working on MANOI today though… hopefully finish the Processing - Arduino & SSC-32 program. It’s really difficult!
Maybe I’ll be able to have the iPhone control MANOI some day bahaha
More MANOI
I always have problems adjusting MANOI’s feet. It’s kind of cool that all of the balancing of the robot comes down to its feet. Hardly anything else matters, other than the feet!
My blog posts seem pretty boring without pictures, so I’m trying to keep this short…
So what I’m setting up now is a program to code MANOI! It will be in Processing. I’m going to be using the controlP5 library for all the buttons and the sliders ![]()
Hopefully I’ll be able to get MANOI up and running (really) before December! The new Trossen Robotics contest prize is pretty amazing @_@ Imagine winning a Pleo!!
Cuteness!
The contest is going to be tense.
Since we’re allowed multiple entries, you can be sure that I’ll enter a fugly MANOI (with all the wires and ‘gutz’ showing) and a cute MANOI (with its pretty white shell on with necklaces). I don’t really understand why everyone thinks that something that is cute isn’t a robot. It’s kind of weird ![]()
I ordered two of the new ATmega chips. Essentially this will be great for MANOI! MANOI has a Wave Shield on the Arduino, and I’m thinking about getting a shiftOut to control LEDs for a LED necklace. I might even use one of the digital potentometers on the necklace too! BlinkM LEDs would be cool, but it would be a bit over-kill. I’m thinking Blue LEDs.
I’ll also be programming MANOI with many dances… from Thriller to Soulja Boy… seriously.
But, the first step is to get this software programmed up so I can complete MANOI’s home position.