Shop OBEX P1 Docs P2 Docs Learn Events
Educational robot arm - Page 2 — Parallax Forums

Educational robot arm

2»

Comments

  • ercoerco Posts: 20,254
    Sure, but I want to you to move the disks with your ELEV-8...
  • WhitWhit Posts: 4,191
    Nikos 511 steps would wear most people out!
  • WhitWhit Posts: 4,191
    edited 2015-09-21 19:14
    erco wrote: »
    @Phipi: Two subtleties I just realized from seeing Nikos' pics :

    1) No peg is required, each disk stacks on the previous disk's knob.
    2) Each disk's knob is the same size, so the gripper opening never changes.

    I think the peg adds a bit of dramatic flair, but the disk knob is exactly what I loved about Phil's design too!

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2015-09-21 19:49
    Very nice, Nikos!

    Mine is much slower than one per second. With 9 disks it would take more than a half hour, I'm afraid, and my students would be sleeping, texting or surfing Reddit. :)

    -Phil
  • Wow, that is taking tower of Hanoi to the next level.
  • ercoerco Posts: 20,254
    Martin_H wrote: »
    Wow, that is taking tower of Hanoi to the next level.

    Yup. If PhiPi wasn't such a friggin' genious, I'd accuse him of showing off, especially concerning his OP comment: "I've never built or programmed a robot arm before". :)



  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2015-09-22 00:45
    Today was the day: show 'n' tell with the new crop of students. I challenged a volunteer to race the robot arm, using a manual set of disks and pegs. First student barely won; second won handily in about half the time! (Should've put six disks on the student peg! :) )

    Okay, kid, how did you do it? Can you formalize your success with an algorithm? It's gonna be an interesting, fun semester! (Once they've struggled with it, they'll kill me when they see the simple recursive solution.)

    -Phil
  • ercoerco Posts: 20,254
    Recursive? Is that a fancy way to say:

    Move the small disk, every other move, in the same direction, and make the only other legal move allowed in between?
  • WhitWhit Posts: 4,191
    This is a nice video...

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2015-09-22 02:53
    erco wrote:
    Recursive? Is that a fancy way to say: Move the small disk, every other move, in the same direction, and make the only other legal move allowed in between?

    By recursive, I mean that the move method can call itself:
    PUB start
    
      move(5, 0, 2)
    
    PUB move(how_many, from_peg, to_peg) | other_peg
    
      if (how_many == 1)
        Just do it.
      else
        other_peg := 0
        other_peg -= other_peg == from_peg
        other_peg -= other_peg == to_peg
        move(how_many - 1, from_peg, other_peg)
        move(1, from_peg, to_peg)
        move(how_many - 1, other_peg, to_peg)
    

    Somehow, it just works!

    -Phil
  • WhitWhit Posts: 4,191
    Phil - Amazing! I have to think about this for a while!
  • ercoerco Posts: 20,254
    @PhiPi: Oh, that's very different. I thought recursive was when I kept swearing.

    Phil, are you going to Robothon? That would help sway my decision to attend.
  • WhitWhit Posts: 4,191
    edited 2015-10-06 21:12
    Phil - went back and looked over the whole thread - didn't realize you had posted the code earlier. This is a brilliantly created solution IMO.

    That is what makes you the Master and me the student! Thanks for sharing.
  • NikosGNikosG Posts: 705
    edited 2015-10-01 16:12
    I'm in then process to create the U-arm with my 3D printer. However I couldn't resist to make some changes in order to make it better.
    So I changed the bearing (I chose one bigger) and some parts, making the kit simpler and stronger. Here are the changes in red circles
    https://dropbox.com/s/wdxvrh481fgk7vc/Nikos_arm_changes.jpg?dl=0

    Nikos_arm_changes.jpg?dl=0

    The changes in more detail here:

    https://dropbox.com/s/9xgo0ser0bl7o8b/Nikos_arm_changes_detail.jpg?dl=0

    Nikos_arm_changes_detail.jpg?dl=0
  • PublisonPublison Posts: 12,366
    edited 2015-10-01 14:06
    Not sure why the images got garbled, but here are the direct links.

    NikosG wrote: »
    I'm in then process to create the U-arm with my 3D printer. However I couldn't resist to make some changes in order to make it better.
    So I changed the bearing (I chose one bigger) and some parts, making the kit simpler and stronger. Here are the changes in red circles

    https://www.dropbox.com/s/wdxvrh481fgk7vc/Nikos_arm_changes.jpg

    The changes in more detail here:
    https://www.dropbox.com/s/9xgo0ser0bl7o8b/Nikos_arm_changes_detail.jpg



  • Publison wrote: »
    Not sure why the images got garbled, .....

    Thank you Jim,
    I also fixed my post.
  • ercoerco Posts: 20,254
    I just realized that while this uArm gripper (always parallel to the ground) is perfect for this ToH challenge, the fingers would need small projections underneath to pick up the golf tees in the triangle puzzle challenge. That is, to grab a tee behind another tee or between two tees, something small must stick down in between tees. Nothing PhiPi couldn't have figured out on his own!
Sign In or Register to comment.