BASIC STAMP 2 - Newbie trying to figure out what bits I need
Hi folks ... I've played around with the BASIC STAMP before, but now I'm ready to try something a bit more complicated ... problem is I'm not sure where to begin.
I have a friend that is creating a puppet for me that will be servo actuated, as well as having lighted eyes and smoke effects (it's a dragon). He's built the servo's into the body, as well as the componets for the lights and the smoke and now I need to figure out how to hook it up to a BASIC STAMP 2 (I think) to make it work.
The things I'd like to do are:
1) Head Up/Down (SERVO 1)
2) Head Turn Right/Left (SERVO 2)
3) Left Wing Up/Down (SERVO 3)
4) Right Wing Up/Down (SERVO 4)
5) Smoke On/Off (3V required, power = on)
6) Lights On/Off (3V required, power = on)
7) Remote Controller (that can work from any direction if possible, so not sure that IR will work) to control functions 1-6 (and 10-11 below if possible)
8) Automatic Actions for functions 1-6 (and 10-11 below maybe) that can be overridden by 7 (I think I'll need a fair amount of memory to write all the code required, 4000 lines should be enough I think)
Items NOT in the puppet (but in the base and controlled from the same STAMP)
9) Motion Detector so that the puppet can follow a person (base rotates)
10) Base Rotate Left/Right (SERVO 5)
11) Speaker that can play a "ROAR" sound (not sure how to store/generate that yet)
I've been combing the store for pices I can use to make it happen but I was hoping for anyone's more expert advice on pieces they'd recommend (or problems they see with my project) before I commit to buying anything.
Any and all assistance will be greatly appreciated.
I have a friend that is creating a puppet for me that will be servo actuated, as well as having lighted eyes and smoke effects (it's a dragon). He's built the servo's into the body, as well as the componets for the lights and the smoke and now I need to figure out how to hook it up to a BASIC STAMP 2 (I think) to make it work.
The things I'd like to do are:
1) Head Up/Down (SERVO 1)
2) Head Turn Right/Left (SERVO 2)
3) Left Wing Up/Down (SERVO 3)
4) Right Wing Up/Down (SERVO 4)
5) Smoke On/Off (3V required, power = on)
6) Lights On/Off (3V required, power = on)
7) Remote Controller (that can work from any direction if possible, so not sure that IR will work) to control functions 1-6 (and 10-11 below if possible)
8) Automatic Actions for functions 1-6 (and 10-11 below maybe) that can be overridden by 7 (I think I'll need a fair amount of memory to write all the code required, 4000 lines should be enough I think)
Items NOT in the puppet (but in the base and controlled from the same STAMP)
9) Motion Detector so that the puppet can follow a person (base rotates)
10) Base Rotate Left/Right (SERVO 5)
11) Speaker that can play a "ROAR" sound (not sure how to store/generate that yet)
I've been combing the store for pices I can use to make it happen but I was hoping for anyone's more expert advice on pieces they'd recommend (or problems they see with my project) before I commit to buying anything.
Any and all assistance will be greatly appreciated.
Comments
If you're going to move only one or two servos at a time, the Stamp can handle that by itself, but you'll need something like a couple of ServoPals or a Propeller Servo Controller if you want more complex movement.
Thanks Mike ... if I use one of the "faster" Stamps would I still need the addtional ServoPAL's or Controller? I would definately want to be able to move the head and wings simultaniously (so up to 4 servo's in motion at one time).
I did an animatronic owl with four servos (PAN, TILT, BEAK and WING). This required the use of the Servo Controller. The BS2 just couldn't handle input detection, four servos, and playing an MP3 file.
This was the MP3 player I used:
http://www.digikey.com/scripts/DkSearch/dksus.dll?lang=en&keywords=vmusic2&wt.term=vmusic2&wt.mc_id=Programmers, Development Systems&wt.medium=cpc&wt.campaign=Programmers, Development Systems&wt.srch=1&wt.content=text&wt.source=google&cur=USD
Of course, the Propeller Servo Controller could be programmed to do all the operations you require without the use of a BS2. This would require programming in Spin language.
http://12blocks.com/
Thanks for the comments and suggestions (both of you) ... I'm not familiar at all with the Propeller controllers so I'm going to have to do some more investigation on that for sure.
Publison, do you have any experience adding RF control to your owls? They sound very similar in control to what I'm looking at doing with my dragon, so any helpful suggestions you have would be greatly appreciated.
Mike ... I know that cross-posting is discouraged on the fourms, but would I be able to start a similar discussion on the Propeller forum to investigate further going down that route, instead of using the STAMP. At this point I'm still not sure which way to go, the only controller I own currently is the BS1, so buying a BS2 or Propeller doesn't really make much of a differance to me as a next step, just need to be sure I can do what I want in either case
Thanks again!
Do you really need RF or would IR remote be good enough?
If RF, what is your transmit device? PC?
I'm assuming I'd just use the servo pin's and jumper out to a bread/proto-board where I could attach my components (since there isn't anywhere on this board to connect them)? And then just use the SPIN programming to configure those I/O ports for the communcations required?
Since the puppet sits on one shoulder and my hand with the controller is in a pocket beside me IR isn't going to work (just don't have line of sight) ... I have a BS1 that I was going to configure to be the transmit device by building the controller using a 5-way pad for the head, 2 rocker's for the wings and a couple of buttons for the eyes and smoke on/off. (at least that's the current plan). ... alternate suggestions welcome
But there is development tool that uses a Propeller and OpenCV:
http://hannoware.com/viewport/
Yah, I've pretty much put the motion detection/following out of scope for now ... what I'd read so far wasn't too encouraging on making it happen
I have not done anything it the realm except for standard R/C airplane Transmitters and Receivers.
I wonder if the Parallax RF Transceiver or the Xbee Transceiver would fit the bill.
2 - 433 MHz RF Transceiver
1 - 4x4 Matrix Membrane Keypad
1 - BASIC Stamp Activity Kit - Serial + USB (Text v2.2) (amazing cheap price currently)
1 - Board of Education (USB) - Full Kit
1 - Parallax Multi-Board Enclosure - Blue
1 - Propeller Servo Controller USB (or 2 of the ServoPAL's)
Transmitter will use the BASIC Stamp Activity board with intergrated BS2, with one of the transciever's and the Keypad ... will have to find/build a case for it as they don't have one that fits the board.
Receiver will use the BOE Board with the plug-in BS2, the other transciever and the servo controller (or the ServoPAL's) ... will all be located in the Blue Enclosure (for now until I can find/build a smaller one).
Servo's, smoke and LED eyes are already built into the puppet so I don't need those and the kits come with a variety of resistors etc. so I shouldn't have to go out and get to many more of those.
I'd like to avoid having to run secondary power for the servo's (since I'd like to keep the receiver "package" as small as possible, it's a shoulder mounted puppet) ... but I'm not sure if a 9V battery can power everything for long. ... I might purchase both options and if the pal's don't work then move to the servo controller and auxillary power.
So ... do you have any other comments that I should be aware of before I go and purchase it all?
Keith
It's not the money, but the requirement for additional battery power for the servo's and the addition of another board on a pacakge I need to keep as small as possible so it can be hidden that is concerning me ... I agree the Servo controller is a much better route, I'm just wondering if I can get by without it for this particular application by using the servoPAL's.
Thanks for the reply and opinion though, always willing to learn
https://www.parallax.com/Store/Accessories/PowerSupplies/tabid/165/CategoryID/39/List/0/catpageindex/2/Level/a/ProductID/758/Default.aspx?SortField=ProductName%2cProductName
I've noticed that I've now got 3 boards to stack in the receiver controller, and they are all differant sizes ... are there brackets and posts for using in cases that deal with situations like this? If so where would l find them so I can get all these things together in one box.
Thanks - Keith
Edit: Nylon Standoff's ... that might do the trick, I can use those as long as I'm not placing them on any "hot" parts of the boards below I think ...
If all else fails you could design and make something that will work for you specific application. It's amazing what can be done with a drill, a saw and a Dremel tool!!!!