First I would like to say “HI!” 2 everyone! since I’m new to this forum.
I recently got a school asignment (finishing year) , that involves building a robot from scratch. My teacher gave me 1x BOT BOARD II, 1x BASIC STAMP 2IC , and 4x servos ( HS - 5645MG ), the bot board and basic stamp came with the “Basic stamp Syntax and reference Manual” - some yellow book, and 5-6 pages describing the Bot Board II.
Using my pre-electronics “skill” I managed to power up the BOT Board with the BS 2IC, downloaded stampw.exe, used the “Identify” feature and got a “Found BS2-IC (firmware 1.0).” message. My engineering senses tell me that it’s all well 'till now.
This is my description of the current situation.
Got all the hardware, controlling unit, servos, a programming software and a programming book.
My target:
I need to make a TRI-POD in about 4-5 days. I decided to use some light weight metals (from PC PSU - if you got any other suggestions please tell me) and some plastic.
As a first try I would want to connect 2-3 servos and make the work 1 after another :
1st servo moves 40degrees
2nd servo moves 40degrees
3rd servo moves 40 degrees
after this,
1st and 2nd servos moves 40degrees
3rd moves…smt
doesn’t have to be exactly 40degrees, I just want to know how I can program them to work simultaniously or 1 at a time.
After I learn how to control the servos I will begin building the robot.
So, if someone could give me a CODE SAMPLE that can get PROGRAMMED INTO the BBII using a BS2-IC and moves 1 servo, 2 servos or heck even 4.
This way I can see how it all works, modify stuff, make some calculations and make different sequence of movements.
Thank you all in advance,
Adrian