Shadow Bot: Simple Robotic Arm
Oldbitcollector (Jeff)
Posts: 8,091
Gramps had me convert and upload this video for your inspiration and enjoyment! [noparse]:)[/noparse]
BASIC STAMP Shadow Bot: Simple Robotic Arm Mimics Moment
www.youtube.com/watch?v=Cnr10g4-jiU
Neat Idea!
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Are you Propeller Powered? PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
BASIC STAMP Shadow Bot: Simple Robotic Arm Mimics Moment
www.youtube.com/watch?v=Cnr10g4-jiU
Neat Idea!
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Are you Propeller Powered? PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
Comments
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Parallax Tech Support·
Building “Shadow Bot” might be a good exercise as a first project for beginning Basic Stamp users.
The code is from Activity #4 “Controlling a servo with a potentiometer,” and was tuned up by changing the scaling and offset numbers.
(Thank you P J Allen! “Try different values in the two math operations (scaling and offset determinations”[noparse];)[/noparse])
The “Shadow” is cut from cardboard and mounted on the servo with bent paper clips.
The base is constructed from scrap wood and slanted to the same angle as the student’s forearm.
The most difficult part was mounting the tiny pot that came with WAM on the plastic knife, (part A) and ruler, (part . (any thin plastic strips can be used for the controller arm.)(see photos)
Drill a small hole in the side of the plastic shaft of the pot to receive a paperclip.
Drill three small holes in part A and insert the pins of the pot and bend them over.
Solder two wires on the pot, one connected to the center terminal, and one connected to one of the side terminals.
Drill a hole in the end of part B to receive the shaft of the pot. It needs to be a loose fit.
Assemble part A and B and slip a paper clip through the hole in the pot shaft securing it to part B.
Adjust the pot to a center setting and tape the clip to part B to keep it from moving.
We thought we needed a more robust pot then the one that came in WAM, but couldn’t find an electronics supply in Korea, so we cobbled the one we had.
I was surprised how well it held up even after 10 English students tested the demo.
Duct tape was used for the control arm straps.
The “Shadow” tracks arm movements well and might be further developed into a user controlled robot arm.
Any questions, drop me a line.
Gramps
Post Edited (Gramps) : 5/4/2010 10:00:24 PM GMT
Clearly related to your earlier post about how to get 90 degrees of servo travel from 90 degrees of pot rotation. Well done, Gramps & OBC!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
Jim
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Whit+
"We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
Why didn't I think of that?
If I’m reading the literature correctly, it looks like you can get the BS2 to "record" potentiometer moves and "play" them back using an on-board digital pot. “Walking” an arm through a series of moves in “record” and using “playback” sure would beat typing in all that code.
Am I correct?
Gramps
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'What is your life?"
Saint James 61 A.D.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
Post Edited (erco) : 6/2/2010 4:11:15 PM GMT
"Easy enough for a smart cookie like you to code from scratch.."
LOL!!! (rolling on the floor)
Seriously I was sure it would work.
Yes! Please post your code. That would be a great help to me.
I've been reading ch 6 of the Prop book, "Dance bot" Great project.
You guys are going to make a "prop cog" out of me yet!
Gramps
-
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'What is your life?"
Saint James 61 A.D.
http://www.botmag.com/source-code/Retrobot.zip··
and
http://www.botmag.com/source-code/Retrobot-Software-Descriptions.docx·
Check out the Pathfinder routine (pretty basic format) and ask away if you have any questions.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"puff"...... Smile, there went another one.