Shop OBEX P1 Docs P2 Docs Learn Events
Wally — Parallax Forums

Wally

ajwardajward Posts: 1,130
edited 2013-11-29 11:43 in Robotics
Hi All...

I tried starting a blog about building a bipedal 'bot, but for the life of me I couldn't figure out how to get jpegs to display, so i'll put things here in the forums.

The idea came about while surfing eBay looking for a robotic arm. I saw some of the walking robots and thought "This is cool!". Starting out, I'm using six Tower Pro MG996R servos controlled by a Stamp BOE with a BS2P through a Prop Servo Controller USB. The design started out to have 6 DOF (Hip, knee and ankle 1-dof each / hip and knee rotate in pitch and the ankle rotates in roll) but the more I researched, the less I liked the gait. It was a lot like the walk of the Penguin and I hoped to achieve something a tad more human like. That said, I want to add pitch to the ankle... this will add another servo/bracket set to each leg (have to order more brackets because of my short sightedness :-| )

Wally, initially, will look like this guy:

6dofimg.jpg


The differences? This 'bot goes for $299.99 on eBay, but you get free shipping! By picking and choosing my parts sources, I'm just bit over $100 into the project. It helped to have a couple of bracket sets and a Stamp board with two Prop Servo Controllers already on-hand.
Other things... I'm using hi-torque servos with metal servo horns and ball bearings in all joints.

The majority of parts are scheduled to be delivered tomorrow and I'm anxious to get started!!!!

@

Edit: Well Pooh! Tomorrow is a holiday with no mail delivery.
600 x 715 - 71K

Comments

  • ajwardajward Posts: 1,130
    edited 2013-11-10 12:04
    Reserved for images and building notes.

    Introducing Wally!

    IMAG0609.jpg


    This is kind of where I'm starting with my biped 'bot. This is just a test fit looking for clearance/alignment problems.

    The metal servo horns still haven't arrived so I'll be tearing him down to install those as well as rejiggering the layout a bit to allow for adding an upper torso and =possibly= a couple of arms.
    I mechanically centered the servos before this assembly, but that didn't work very well. (Okay I was in a hurry to see him assembled. I'm one of those nerds who buys some toy at the geek store and walks to the car unwrapping it so I look at everything as soon as possible!!)

    I need to fabricate something to mount the electronics and I'm still looking for a small, powerful battery pack. I'm not sure running 6 servos from 4xAA is the best plan. :-|

    @

    The Aluminum servo horns arrived today...
    IMAG0610.jpg


    I test fit one on an old servo with a metal output shaft. Wow! Do they fit tightly. Took a serious bit of BFFI to get it back off the servo. Don't think you would really need the mounting screws to hold them on.
    I think when I put them on Wally, I'm going to put a bit of lithium grease on the spline.
    1024 x 1712 - 141K
    1024 x 612 - 59K
    1024 x 1712 - 177K
  • ajwardajward Posts: 1,130
    edited 2013-11-10 12:05
    Reserved for programming issues.
  • kwinnkwinn Posts: 8,697
    edited 2013-11-10 13:02
    Try using Paint if you are running Windows or the Open Office Drawing program for Linux to open JPEG's or JPG's.
  • ercoerco Posts: 20,256
    edited 2013-11-10 18:38
    Wally the WAL-ker? As in Ted Tread? Could have also been Myped the Biped! (Mulva...) Or Myrun, if you get it running... I got more!

    Can't WAIT to see your GAIT!
  • jazzedjazzed Posts: 11,803
    edited 2013-11-10 19:24
    Looks great Amanda.
  • NWCCTVNWCCTV Posts: 3,629
    edited 2013-11-10 19:39
    Seems like a great project. I thought about doing one of those myself but right now other things are keeping me busy. Keep us posted.
  • ajwardajward Posts: 1,130
    edited 2013-11-11 01:25
    erco wrote: »
    Wally the WAL-ker? As in Ted Tread? Could have also been Myped the Biped! (Mulva...) Or Myrun, if you get it running... I got more!

    Can't WAIT to see your GAIT!

    Yup. All my critters have to have names. Trying to think of a good project for Oglethorpe! ;-)

    @
  • ajwardajward Posts: 1,130
    edited 2013-11-21 07:12
    This is =kind of= the final configuration for my intrepid biped buddy. I have more parts on order... some pan/tilt kits, servo horns and a gripper kit.
    IMAG0616.jpg


    Even having to disassemble the legs, I managed to install the aluminum servo horns with almost no harsh language. Okay... there was that one point when I realized I'd reassembled two left legs, but that's all... I promise! :-)
    Managed to get the servos to make a couple of basic moves, but nothing near actual walking. This project makes me appreciate the complexity of the human body =:-|
    First problem... the servos move =way= too fast. I've tried adjusting the 'ra' value in the PSC commands, but it doesn't seem to make any difference. Anyway... more work ahead.
    A short video of Wally standing up. Not difficult, just centering the servos on power-up. (Wish I had this much energy getting started in the morning!!!!)
    1024 x 1712 - 177K
  • ercoerco Posts: 20,256
    edited 2013-11-21 13:14
    Cool beans. Before you get too far in perfecting your walking routines, throw a bunch of simulated weight up top to represent your batteries and PCB. That weight will change your CG, balance, and pendulum timing for walking/swaying.
  • ajwardajward Posts: 1,130
    edited 2013-11-21 15:24
    erco wrote: »
    Cool beans. Before you get too far in perfecting your walking routines, throw a bunch of simulated weight up top to represent your batteries and PCB. That weight will change your CG, balance, and pendulum timing for walking/swaying.

    Right you are!!! :-) For the moment though, I'm dealing with repeatability issues. That is, each time I energize the system I'm not exactly sure what the servos are going to do! I have the PSC centering the servos on power-up, then if I run a BS2 program to center the servos, they =might= not move OR they =might= move to some other position.
    Then, I have the servo ramping speed set to 32... a mid range value that should force the servos to move at a "kind of" slow speed. Not so much... Sometimes the servos move slowly and other times they =snap= into position like into my video clip.

    This is so much fun! :-)
  • ajwardajward Posts: 1,130
    edited 2013-11-22 14:17
    A report of some small success! I got Wally to take about 2/3 of a step. Not film worthy as yet. The whole process took about an hour an' a half... figuring out the various codes to send to the servos, rewriting the sections of code identifying the servos (I'm sorry, all those servos look just the same :-> ), taking =lots= of notes and realizing this code needs a =LOT= of comments, a lot of them!!!!
    Now working on creating all the subroutines to (hopefully) turn all these notes into one smooth step!

    @
  • ercoerco Posts: 20,256
    edited 2013-11-22 14:49
    My least favorite thing about analog servos is how they randomly twitch on powerup, especially when there's a sizeable load on them, like Wally's weight, or a robot arm. That's gotta hurt the gears. Best solution I've found is to home everything to a safe position on powerdown and powerup, turn on electronics first, wait a second or two for the servo signals to start, say a little prayer, then apply power to servos.

    The smartest thing I did lately was a small but crucial detail on my four-flamethrower project for Halloween. A 9-gram servo blips each aerosol can with the servo horn. I tested the servos and found that on powerup, they all twitch clockwise. To avoid undesired firing on powerup, I purposely oriented the servos so that they fired from counterclockwise motion, and the clockwise powerup twitch would move the servo arm away from the firing position. http://www.youtube.com/watch?v=mHKNzyjM228
  • shimniokshimniok Posts: 177
    edited 2013-11-23 00:07
    Cool project! Looking forward to updates. This is another one of those "man I wished I had some time to do something like this" :)
  • ajwardajward Posts: 1,130
    edited 2013-11-23 03:21
    erco wrote: »
    My least favorite thing about analog servos is how they randomly twitch on powerup, especially when there's a sizeable load on them, like Wally's weight, or a robot arm. That's gotta hurt the gears. Best solution I've found is to home everything to a safe position on powerdown and powerup, turn on electronics first, wait a second or two for the servo signals to start, say a little prayer, then apply power to servos.

    The smartest thing I did lately was a small but crucial detail on my four-flamethrower project for Halloween. A 9-gram servo blips each aerosol can with the servo horn. I tested the servos and found that on powerup, they all twitch clockwise. To avoid undesired firing on powerup, I purposely oriented the servos so that they fired from counterclockwise motion, and the clockwise powerup twitch would move the servo arm away from the firing position. http://www.youtube.com/watch?v=mHKNzyjM228

    Yeah, I've found Wally's servos exhibit the same clockwise twitch... took me a bit to figure out what was going on. I have the PSC set to center the servos on power-up, but there is a difference between applying power to the servos and actually having the PSC send them a command. Also I may have to rethink the "center on power-up" thing (which is probably fine for smaller projects). That snap to attention action gives me a warm feeling as commander of my robot army, but on a crowded desktop, not so much. He's managed to knock over several things including my coffee cup which was, thankfully, empty at the time. And... if start adding an upper 'torso", well that's going to be a whole lot of hardware flailing about at high speed.

    I think the biggest thing to overcome for walking is going to be balance. Right now shifting weight to lift one foot off the floor, requires both feet rolling in the same direction to move the center of gravity far enough to balance on one foot. There's gotta be a better solution!

    Anyhow, 'tis late and sleep beckons.

    Amanda
  • ajwardajward Posts: 1,130
    edited 2013-11-23 03:32
    shimniok wrote: »
    Cool project! Looking forward to updates. This is another one of those "man I wished I had some time to do something like this" :)

    Thanks shimniok!

    This is easily one of the most complex things I've tried to build and it's demanding quite a bit of my time. Fortunately, I'm mostly retired and time isn't the issue it used to be.
  • ajwardajward Posts: 1,130
    edited 2013-11-23 17:12
    Walking activities have been suspended for a bit. Seems rt2ser has died. That's the servo for Wally's right ankle.While trying to integrate all the walking movements, there were several random excursions that sent the servo to max deflection against the lower leg. There is nothing in the code that that should have caused this.Not a major issue, I have more servos... It's just darned annoying! May be a bit before I get re-motivated to re-install a new servo. Amanda
  • ajwardajward Posts: 1,130
    edited 2013-11-27 04:22
    Sigh... In an unexpected turn of events, Wally's little brother has arrived. Several days back, I ordered a small robot kit because it had most of the parts I thought I would need to start building Wally's upper structure. Well, the package arrived yesterday afternoon and to my surprise this is what I got...

    IMAG0621.jpg


    Not several bags of nerdy bits and pieces, but a fully assembled and (almost) ready to run little robot. Dang it, I just can't force myself to take him apart! I shall name him "Scooter"! :smile:

    @
    1024 x 612 - 87K
  • ercoerco Posts: 20,256
    edited 2013-11-29 08:07
    How much was Scooter?
  • GordonMcCombGordonMcComb Posts: 3,366
    edited 2013-11-29 10:19
    I see some stuffed animals in the background of Scooter's photo that need some Erector set armatures and miniature servos crammed inside them. Time to make Teddy talk.
  • ajwardajward Posts: 1,130
    edited 2013-11-29 11:39
    erco wrote: »
    How much was Scooter?

    He was like $100 with $6 shipping. A list of what was included:

    Robot full bracket 1 set (with 4 aluminum servo horns)
    4 MG996R servos
    32-channel servo controller
    USB cable
    Lithium Battery
    High-power charger
    IR Sony PS2 controller 1 (with IR receiver)
    Rocker Switch
    Cable Ties
  • ajwardajward Posts: 1,130
    edited 2013-11-29 11:43
    I see some stuffed animals in the background of Scooter's photo that need some Erector set armatures and miniature servos crammed inside them. Time to make Teddy talk.

    Heh... my roommate made the same suggestion, but none of "the kids" seem to want to be the "6 Million Dollar Bear". Still, I have to admit a robotic teddy bear with laser eyes would be pretty darned cool! :-)
Sign In or Register to comment.