element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Movers and Shakers
  • Challenges & Projects
  • Project14
  • Movers and Shakers
  • More
  • Cancel
Movers and Shakers
Blog Walky the Biped Robot - WalkyII is learning to walk again!
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Movers and Shakers to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: genebren
  • Date Created: 10 Aug 2018 10:52 PM Date Created
  • Views 1571 views
  • Likes 12 likes
  • Comments 6 comments
  • robotics
  • moversshakersch
  • project14
Related
Recommended

Walky the Biped Robot - WalkyII is learning to walk again!

genebren
genebren
10 Aug 2018
image

Movers and Shakers

Enter Your Electronics & Design Project for Your Chance to Win a $100 Shopping Cart!

Back to The Project14 homepage image

Project14 Home
Monthly Themes
Monthly Theme Poll

 

Previous post in the sequence:

Walky the Biped Robot - The prequel

Walky the Biped Robot - Power pack

Walky the Biped Robot - Oops, Walky has an accident!

Walky the Biped Robot - A new hope (actually a new body and battery)

Walky the Biped Robot - WalkyII gets some eyes.

Walky the Biped Robot - WalkyII gets his legs

Walky the Biped Robot - WalkyII gets a new brain

 

As I start typing this, WalkyII is recharging his battery.  After a long debug session, WalkyII started getting wacky.  If I started to command the servos, WalkyII's status LEDs would start flashing erratically and then stall mid step.  So it was time to take a break and give WalkyII a little recharge time.  Here is some of his recent photos/videos:

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image
imageimage

So far, I  have integrated the R/C receiver and front and rear sensors.  WalkyII currently understands the simple commands of Forward and Reverse, with a speed modifier.  Senor wise, WalkyII is using his front and rear I/R distance sensors to avoid table edges and obstacles (he will not start walking if something is in the way and he will stop if something gets in his way while working.

 

Update:  Oops the erratic LED flashes turned out to be a glitch in WalkyII object/edge detection logic (not a near dead battery).  I needed to hold the object/edge detected flag set until the R/C command went back to idle, otherwise WalkyII kept entering and exiting the walking routine.

 

Programming and debugging WalkyII takes a little support and a lot of tools.  Here are some of the tools that I use to teach WalkyII some of his stuff:

image

 

Here WalkyII all connected during a debug session.  The 'red' circle shows the AVR ISP MKII programmer that is attached to WalkyII.  This allows me to 'burn' new firmware, view/modify EEPROM (holding configuration data) and issue a reset, should things go astray.  Below that (in a 'blue' circle) is a old project (IR motion detect/Light switch), that has been re-purposed into a USB to serial bridge.  I used the bridge to send and receive serial commands, used to exercise WalkyII's low level commands or to read/modify variables.  In the background (green circle) is WalkyII friend, who helps out with all the complex math that helps WalkyII to walk.

 

I had also fabricated a sling, that allows WalkyII to be suspended while exercising WalkyII's servos without him flopping all over the desk or toddling off the edge (before his sensors were active.

 

Up next is WalkyII's debug panel.

 

 

 

 

 

 

 

 

 

image

 

The debug control panel allows me to interact with WalkyII's program without interfering with the generation of PWM waveforms and interrupt driven pulse measurements.  From the panel I can control/view the following:

1) set servo positioning pulses on all channels.

2) read I/R distance readings (live, baseline averages, and limit values for obstacle/edge avoidance).

3) read PWM pulse width from the R/C receiver and the command determined from these values.

4) read and modify WalkyII step parameters (Tilt and Stride)

5) Enable override of WalkyII servo settings (as well as filter rate variables)

6) Write current servo positions to default positions (to EEPROM).  This was used to trim out the WalkyII's servo positions.

7) View all data sent/received to/from WalkyII

 

(Note: Oops!, there is some left over startup commands being sent to Walky, which he ignores.  This panel was hacked together from a previous job, or two).

 

 

 

 

 

 

 

One issue that I am still working on is the fact that WalkyII walks like a drunken sailor (not there is anything wrong with that).  I have tried several things to help WalkyII walk the straight and narrow, but so far we are not there yet.  there were several recommendations early on, improvements to WalkyII's feet that might help, thanks jw0752 , mcb1 , ntewinkel and balearicdynamics for the ideas.  So far, I have tried a couple of different pads on WalkyII's soles, but still he is quite wobbly.  Here is WalkyII's latest footwear:

 

image

The black pads are textured vinyl.  They help a little in preventing him from slipping, but I think that he is getting caught up in the side to side momentum of the tilt phase of his gait and generates a bit of a pivot.  I have filtered out some of the fast slew out of the servos, but I think I will need to try a ramp-up, constant velocity and ramp-down servo profile to calm down some of the violent swings to his gait. Also, during testing, WalkyII broke one of his short, lower control rods that drive the stride portion of his gait.  The new control rods that I built, don't move quite as smoothly as the old ones (some binding and such).  I will need to investigate a new lower control arm set (to bad I could not re-solder the brass control arms, darn lead-free solder would not stick, or maybe I should braze it???).

 

Time is getting late, as the deadline is approaching.  I still need to finish up a few thing and produce the remaining documentation, so a couple of my initial goals (like I2C communication to the battery pack to get battery voltage, get mode setting, and perform remote shutdown on inactivity), might fall to side and be addressed later.

 

In the meantime, dinner and a cold beer.....

 

Thanks for following along on this crazy adventure.

Gene

  • Sign in to reply

Top Comments

  • ntewinkel
    ntewinkel over 7 years ago +2
    Great progress! > One issue that I am still working on is the fact that WalkyII walks like a drunken sailor I say embrace it and give him a pirate's hat and parrot.
  • jw0752
    jw0752 over 7 years ago +1
    Hi Gene, Have you experimented with only one or two pads on each foot at different corners? John
  • balearicdynamics
    balearicdynamics over 7 years ago +1
    Hi Gene! Thank you for the video, I experienced a small delusion as seeing the video I was expecting to see the guy walking but nothing. To be honest, I think you can also show the not yet perfect milestones…
  • genebren
    genebren over 7 years ago in reply to ntewinkel

    Nico,

     

    Thanks!  I think an eye patch would be cool too! Oh, wait that would defeat the I/R sensor.

     

    Gene

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren over 7 years ago in reply to balearicdynamics

    Enrico,

     

    Thanks for the Video clip.  I have seen similar robots before, but seeing the construction was an added bonus. I do think that my single biggest issue has to do with the center of gravity.  In my prior design, I had center mounted battery pods (one on each side), mounted slightly lower (just above the leg pivots).  In that design, the robot was far more stable, but still a little wobbly and not quite able to walk straight (boy, I wish I had a video to study).  For now I am embracing my drunken sailor and having another beer.  Soon, I might find that it walks just fine image.

     

    Thanks again,

    Gene

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 7 years ago

    Great progress!

     

    >One issue that I am still working on is the fact that WalkyII walks like a drunken sailor

    I say embrace it and give him a pirate's hat and parrot.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 7 years ago

    Hi Gene!

    Thank you for the video, I experienced a small delusion as seeing the video I was expecting to see the guy walking but nothing. To be honest, I think you can also show the not yet perfect milestones, it's a very good project and I (and not only me, I am sure) appreciate a lot your updates.

    You say:

     

    One issue that I am still working on is the fact that WalkyII walks like a drunken sailor (not there is anything wrong with that).

     

    For this "issue" I can give you some suggestions, serious and not too serious. First of all, I think that the drunken sailor walks it's not so bad. Sure it will be better than the Boston Dynamics robots falling down during a worldwide demo image

    When I was young there was a sort of small four-legged puppets moved by a small cotton wire and a weight; the weight was training the puppet moving down (for example) to a border of the table and the puppet was walking with this curious walking style.

     

    By a more technical point of view, instead, the point is that a different walking needs one more node. But I think there is another possibility that will solve the issue. It is not a node for the movement (a knee....) This is a Walky robot, so I suppose we can accept a straight motion as desired without the need to humanize it. The two feet can move better following your design of the two legs, but adding an eccentricity near to the moving engine.

    The video below is a very primitive prototype but shows what I mean. Hope this will be helpful.

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren over 7 years ago in reply to jw0752

    Thanks John, but no I have not tried that yet.  I will have to try that.

     

    There seem to be so many forces working against me at the moment.  On of the things that I implemented was a speed control, which allows me to watch WalkyII walk in slow motion.  I have already found and fixed a bunch of looseness in the various linkages.  One of the thinks that I noticed is the WalkyII is walking on his heels, as his center of balance is skewed by the battery.  Maybe this might lead me to where to position that pads.

     

    Thanks again,

    Gene

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube