Shop OBEX P1 Docs P2 Docs Learn Events
"You Really Should Upgrade to the Prop" — Parallax Forums

"You Really Should Upgrade to the Prop"

ercoerco Posts: 20,257
edited 2012-10-16 22:47 in BASIC Stamp
I love this Basic Stamp Forum and all helpful people & posts here. A lot of noobs are in over their head asking for help, and genuinely smart people dive in to help them.

But I must admit, my least favorite response is "You Really Should Upgrade to the Prop". It's so quick & easy to reply. Ideally, we'd all be Prop heads and programming wizards, but not everyone is or yearns to be. A lot of people just want to solve a specific problem and correctly hear that a Stamp is a great place to start. I imagine that many users have their WAM kit or HW board and are quite proud of their newfound ability to move a servo, blink an LED, or beep a speaker. When they ask how to do something a bit beyond more challenging, it's all too easy to say "you should upgrade to Prop". In the real world, that's like telling a kid wanting to cross a busy street on his bicycle to go buy car and learn how to drive. Fairly unlikely in most cases.

Certainly the Stamp can be a stepping stone to the Prop. But God bless the Forumites who take an interest in helping others using the hardware they already have and go on to connect on a personal level to help solve problems (you know who you are, Ken, Mike, Tracy, Phil, PJ, Jon, Beau, Chris, Bean, etc...) Sometimes it's tweaking their code, other times it's redefining the problem or a clever workaround solution. It's directly rewarding for the parties involved, and it's even fun for others to follow threads and see progress, learning, and the vaunted "ah-hah" moment. Ain't nothing sweeter than seeing a happy ending to a "how do I do this" post. IMHO, that's the best incentive for someone choosing to upgrade to the Prop.

Per another thread, Parallax is committed to manufacturing BASIC Stamps for many years to come. I challenge us all to commit to continue helping others make the most of this classic little controller.
«1

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2011-08-24 10:04
    BASIC Stamp Module users should feel comfortable in asking questions here related to their BASIC Stamp projects. I am going to try and devote more time to answering questions than I have been available for and see if we can get some of these questions answered and projects up and running. But a good rule of thumb for this particular forum is that if you're more fluent on the Propeller then perhaps someone more fluent with the BASIC Stamps should answer. This way the answers are directly related and not a comparison to how it would be done on the Propeller.

    That said, code examples often help, but members asking questions should also provide complete details of their issue. Saying, "It doesn't work" doesn't give much to work with. Please provide examples of your code and explain the results you're seeing versus what you expect to see. This way it is clear what you're trying to do and what is happening. I hope this helps.
  • Mike GreenMike Green Posts: 23,101
    edited 2011-08-24 10:13
    It's all about choosing the right tool for the job. The BS1 is a really old design as these things go. It's very slow and very limited in the amount of space available for code and data. On the other hand, it works just fine thank you for simple applications. I needed a timer for a dehumidifier drain pump that would run the pump via a relay for about 3 minutes roughly twice a day. A BS1 was perfect for the job.

    Similarly, a BS2 (of whatever flavor) is very well suited for a lot of tasks. It's easy to learn to program, easy to use, reliable, well supported, etc. On the other hand, forum members continue to bring up proposed projects that have lots of bits and pieces, sometimes requiring different things that have to be done at the same time. In the past, we'd suggest using external "peripheral processors" like a ServoPAL or a Protean Logic's serial buffer or the Propeller Servo Controller. These work well, but cost extra. Sometimes, using multiple Basic Stamps also works for accomplishing a task, but the inter-Stamp communications adds to the complexity of the project.

    I can't speak for others, but, when I suggest "You Really Should Upgrade to the Prop", it's because I think it's a better fit for the proposed project than the Basic Stamp. There are a lot of "tricks" in programming for the Stamps to work around its single-threaded nature or to save memory or speed up some code, but, at some point, the forum member may learn more and better by using another tool better suited to the job at hand. This does work both ways. There are many tasks where a nice clean microcontroller like the BS2 is a better tool for the job than something bigger / faster / "cool"er.
  • CrazyrabbitCrazyrabbit Posts: 116
    edited 2011-08-26 03:33
    In some ways I agree. Massive overtime put my prop education on hold for a while. X Bee is my new short term goal for now. I really like the BS2, but always running out of IO and it is slow.I guess my prop projects will have to wait until winter. I design my robots now to handle any microprocessor thanks to breadboarding.
  • davejamesdavejames Posts: 4,047
    edited 2011-08-26 09:35
    I really like the BS2, but always running out of IO and it is slow.

    My frst ever project with microcontrollers was with the BS2, and I immediately exceeded the number of I/Os by easily 3X. So I brought shift registers and 4:16 decoders into play. I could have switched to the BS2p40, but the cost was prohibitive at the time.

    BS2 speed has not been an issue so far. Memory size has not been an issue, but I can see where it might be in the future.

    The BS2 is not overly difficult to understand in terms of hardware, and the software is pretty straight forward; unless immersion in the math functions is required as noted in a solar tracking thread a couple months back. I was amazed at the capability of "this classic little controller" through that thread!

    Why I don't switch to the Propeller is for 2 reasons: 1) my needs don't require its features, and 2), the S/W learning curve.

    I see the two products (BS2 et. al. and Propeller) addressing different target markets with some overlap (long live both!).

    Considering the BS2 as a "baby step" to the Propeller, somehow demeans the effort of all Parallax employees that brought the BS2 to life - a very, very fruitful life.

    ...my $0.02...
  • LeonLeon Posts: 7,620
    edited 2011-08-26 09:48
    There are umpteen other 8-bit chips which offer a lot more than the BS, such as the PIC and AVR.
  • Mike GreenMike Green Posts: 23,101
    edited 2011-08-26 10:11
    The PICs and the AVRs indeed are cheaper than the BS, they're faster, and have I/O functional blocks that work mostly independently from the microcontroller itself. They're also not as easy to use as the BS for many applications and the beginner level educational information is not as well organized or complete. The available documentation is definitely not beginner material although there are 3rd party beginner books and articles.

    This is also a Basic Stamp support forum in a group of forums sponsored by Parallax. If you're going to recommend competing microcontrollers, you should be much more specific about what sorts of projects might be better served by a competing microcontroller and why including pros and cons. You're not helping anyone by just saying other competing microcontrollers are better.
  • LeonLeon Posts: 7,620
    edited 2011-08-26 12:30
    Anyone interested in using a PIC or an AVR just has to go to the Microchip or Atmel web site.
  • Mike GreenMike Green Posts: 23,101
    edited 2011-08-26 12:48
    That's not true, particularly for beginners. The Microchip and Atmel websites are overwhelming to beginners. Sure there are starter kits, but you have to know enough to hunt one down. Even then, how do you choose a chip to use? There are guides, but they're intended for engineers or at least moderately experienced hobbyists. Probably a better way to begin would be with a hobbyist magazine article on some project whose finished product appeals to the hobbyist. There's also the issue of what programming tool to use. The free ones from Microchip and Atmel are not simple to use. Again, they're not too bad, but a beginner could get lost pretty easily. The documentation is written for a moderately experienced audience.

    The Stamp documentation is written for a raw beginner, particularly if you start with "What's a Microcontroller?" and the "StampWorks Manual" for a slightly more experienced audience.

    With all the fuss and bother over Steve Jobs' resignation, I've started thinking about Parallax much the same way I think about Apple and its focus on the user's experience, ease of use, reliability, etc. and very little focus on the internal hardware details as long as it does the job.
  • LeonLeon Posts: 7,620
    edited 2011-08-26 12:51
    They both have support forums for that sort of thing, and customer support staff. PICs and AVRs have in-circuit debugging, which is very useful for beginners as well as experienced users.

    There is also the Arduino, and the version of it with a PIC32, for complete beginners.
  • mindrobotsmindrobots Posts: 6,506
    edited 2011-08-26 13:05
    I would think the PicAXE (for PIC) and the Arduino varients (for ATMEL) would be the closest to the Stamp but I don't believe there is the concentrated level of support for the broad array of users (PicAXE forum isn't bad) that Parallax offers.

    Mike, I like your Apple analogy.
  • ercoerco Posts: 20,257
    edited 2011-08-26 13:34
    PicAxe did a nice job on their M2 series. I wish there was a Parallax equivalent (or one-up) which would fill the large void between the Stamp & Prop. Faster, more memory, more features, but still beginner-friendly. BS3? Yowza, I'm starting to sound like davejames: WHERE'S MY HOSTESS PIE? :)
  • LeonLeon Posts: 7,620
    edited 2011-08-26 13:55
    A friend of mine works on very high-tech radiation-therapy systems. They use PICAXEs in the test rigs for testing the motors and other mechanical systems.
  • davejamesdavejames Posts: 4,047
    edited 2011-08-26 14:13
    erco wrote: »
    Yowza, I'm starting to sound like davejames

    Careful - there's ramifications in doing so!
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2011-08-26 14:35
    Leon wrote: »
    There are umpteen other 8-bit chips which offer a lot more than the BS, such as the PIC and AVR.

    I think Leon missed the point of this thread. Many of the members, especially those asking for help with BASIC Stamp projects or questions are tired of being directed to other platforms such as the Propeller. Leon, your reply above is doing that very same thing. My inclination was to remove your posts, however I believe they will serve better to show exactly what the problem is that we're trying to avoid. As I said before, if you can't help a member with their BASIC Stamp questions or projects you probably should not answer the thread unless you have questions also.

    Responses directing members to other platforms are counter-productive, serve only the person posting them and tend to discourage new members from asking questions. In the future I will remove such posts if I see them. You can't help a guy with a Chevy by telling him to get a Ford. Likewise, you can't help someone with their BASIC Stamp questions by referring them elsewhere. This board is for support of BASIC Stamps, not other platforms.
  • LeonLeon Posts: 7,620
    edited 2011-08-27 04:15
    What would you recommend to someone whose application has outgrown a BASIC Stamp, then, and doesn't really warrant the use of a Propeller?
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2011-08-27 07:18
    If someone doesn't like his doctor, he knows that he can go see another doctor, but unless the doctor refers a specialist it's not for the receptionist or patients in the waiting room to make recommendations in the office or offer their diagnoses, or court for another "doctor" to barge into the office and take over.

    That's not cricket and I think you get that.
  • LeonLeon Posts: 7,620
    edited 2011-08-27 07:33
    That doesn't answer my question!
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2011-08-27 07:52
    Warrants / Warrants not - Says who?
    Around here, as I see it, it's either BS2 or Propeller.
    If it's too big a job for a Stamp then it's Propeller time.

    The Spin Stamp, the Propeller Protoboard, and even that new "jump the shark" board, of all things, that they're bound and determined to flog (good grief!) at RadioShack, all cost less than any BS2.

    (Oh-oh, I disparaged the "quickstart"; so, I'm bad, too.)
  • graffixgraffix Posts: 389
    edited 2011-08-27 07:59
    Leon, I would have to ask what languages the person was comfortable using.If the only alternative was spin, then thats your approach.Or if you could manage to do a tutorial using an alternate controller.Keeping in mind this is a parallax forum so either the sensors or the controller should relate.IMO
    Also not saying anything is the worst help ever-cricket,cricket
  • Mike GreenMike Green Posts: 23,101
    edited 2011-08-27 12:18
    Although I disagree with Leon on how to address this issue, I think it's a valid question (what to do when a Stamp is inadequate for the task). It's one thing when a forum member asks "can I use a Stamp to do XXX?" where XXX is something clearly that a Stamp can do. It's another thing where a Stamp would be hard pressed to do XXX requiring all kind of contortions in the code to maybe do it and maybe not. I think we've all gotten on the "slippery slope" of recommending the Propeller when a Stamp with some peripheral processors might accomplish the task, but it's legitimate advice when the proposed project would be a mess with a Stamp and straightforward with a Propeller. Maybe rather than an absolute ban, how about some examples of when it would be legitimate to suggest looking at a Propeller and when we ought to stretch to make suggestions for a Stamp. In terms of peripheral processor functionality that ought to be directly supported by Parallax, how about a serial input buffer? Protean Logic still makes several different ones. Parallax ought to carry it in the store and provide some "official" examples of its use, maybe even a little board complete with the matching crystal and 0.1" headers for breadboard use. That's probably the biggest single function that the Stamps just can't do by themselves. Floating point is already covered and the Propeller Servo Controller and Pololu's DC motor controllers take care of most motor control needs.
  • Tracy AllenTracy Allen Posts: 6,664
    edited 2011-08-27 17:04
    A similar but lesser problem arises with upgrade from a BS2 (or BS1 for that matter) to one of the multislot BASIC Stamps. The size of a program, or need for more data or scratchpad storage, or another feature (I2C support for example), might beg for that upgrade. But a person who already has a BS2 might well balk at the suggestion for a variety of reasons. Something to buy, new stuff to learn. On the other hand, that kind of information is exactly what some people want to hear. It comes down to listening on both sides of the conversation. After sounding out the poster, then a suggestion to look at a new Stamp, or the propeller or a satellite board or even some other micro might well be exactly what it called for; in other cases it will be workarounds using what is at hand.

    That said, one of the most useful skills in engineering is making do with what is at hand.
  • DukeJCDCDukeJCDC Posts: 3
    edited 2011-08-28 22:35
    From the point of view of a beginner,

    I'm unbelievably happy with my BS2 and my Boe-Bot kit. I've been wanting to build robots since I was a little kid and am planning on doing it as a career once I finish up college. I've got several ideas for different things I want to do with my newly learned skill from automating my bedroom to building a document delivery bot for use in schools and office buildings to creating a real-life Pip-Boy 3000 (from the video game Fallout 3). And now that I've got a slight handle on programming a BS2, I can see that it can probably handle everything I'd like to do.

    I must admit, initially, I had planned on getting a Prop and learning Spin very quickly, but now that I've gotten started with my BS2, I just want to tinker with it and push it's limits to see what I can pull off with just it. :thumb: The Prop sure does look nice, but the BS2 can cover most things on it's own and it's been an amazing learning tool thus far
  • Kevin WoodKevin Wood Posts: 1,266
    edited 2011-08-28 22:50
    There's been a gap in the Parallax line-up ever since the SX went away.

    I think that they could fill that gap in a few ways...
    - by offering a product based on another fairly common chip (maybe a modern variant of the 8051 or Zilog)
    - by creating more variants of a "hybrid" design like the BS2pe motherboard
    - developing another IC that's not the Propeller, and building a product line around it

    However, even if Parallax fills that gap, it's not to say that people should be steered away from the BS2, unless it's clearly warranted based on their requirements.
  • ercoerco Posts: 20,257
    edited 2011-08-29 00:28
    That said, one of the most useful skills in engineering is making do with what is at hand.

    Exactly, Tracy. Those three astronauts on Apollo 13 would NOT want to hear "you really should upgrade to a Prop"... !
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2011-08-30 07:42
    Asking the question of where to go from the BASIC Stamp is valid when the need to upgrade beyong its capabilities arises. But there are two issues ere that I feel are the heart of the problem this thread attempts to address. One, far too often the Propeler is recommended (or another MCU) when a BASIC Stamp is perfectly fine for what the member/customer wants to do. I have too often seen questions like, "I would like to blink 8 LEDs at different rates on the BS2. How do I go about that?" First answer, "Use the Propeller, which 8 cores you can...etc., etc." That is irresponsible. The BASIC Stamp is perfectly capable of doing this task.

    It's all too easy when you're a Propeller user to recommend it over the BASIC Stamp, however for most of the members posting in here they either already have the BASIC Stamp, aren't interested in the Propeller or are required by their class curriculum to use the BASIC Stamp. So suggesting another platform is not appropriate. When they ask in this forum for support, they want an answer to their question, not a redirection.

    Second issue is related to knowledge of the BASIC Stamps and proficiency. Besides the fact that it is unethical, inappropariate and/or rude to constantly refer members to other platforms when on the Parallax support forums, it also shows a lack of knowledge and proficiency on the part of some that do this. How do you know the BASIC Stamp can't do what the member/customer wants? In the last 10 years I have proven more than a few times that the BASIC Stamp could do what others said could not be done. I have designed commercial applications for companies where their engineering dept. failed to complete citing the BASIC Stamp as incapable. And I have helped others for programs into the memory of the BASIC Stamp by rewriting the code to be more efficient, to resuse variables and not allocate uneeded space.

    So often it is merely proficiency with a platform that decides if it is applicable for a task and it is also easy to rule out the BASIC Stamp in favor of MCUs with more RAM, more EEPROM, flash memory. But really, not every application requires that. And I think this move towards tons of resources really just conditions programmers to not be effcient in their coding anymore. Why re-use a variable when you can make as many as you want. But I consider that poor programming practice myself.

    So I hope this encourages others to think before suggesting a new platform. And remember, there are more models of the BASIC Stamp with more resources. Often if a BS2 won't work, a BS2p will, and then you're still in the same ball park. The following statement offered no valuable or useful information to members of these forums:
    Leon wrote:
    There are umpteen other 8-bit chips which offer a lot more than the BS, such as the PIC and AVR.

    Mike Green made some excellent points in response to this message and I think his point was lost to Leon. Since these are Parallax support forums, members can expect to get support for using our products. If Leon (or anyone else) is going to suggest products from other companies here, that eliminates our ability to help the customer. Perhaps in such a case Leon (or whoever made the suggestion) should then support the customer in their use of the products they recommend? Otherwise you have nullified the member coming here for help and essentially prevented them from getting assistance.
    Leon wrote:
    Anyone interested in using a PIC or an AVR just has to go to the Microchip or Atmel web site.

    Remember, if they're here, they're probably not interested in going to those sites.
  • Buck RogersBuck Rogers Posts: 2,187
    edited 2011-08-30 08:04
    PJ Allen wrote: »
    Warrants / Warrants not - Says who?
    Around here, as I see it, it's either BS2 or Propeller.
    If it's too big a job for a Stamp then it's Propeller time.

    The Spin Stamp, the Propeller Protoboard, and even that new "jump the shark" board, of all things, that they're bound and determined to flog (good grief!) at RadioShack, all cost less than any BS2.

    (Oh-oh, I disparaged the "quickstart"; so, I'm bad, too.)

    Hello!
    PJ are you saying that they are landing at RS? (And they just decided fairly recently to return to their roots again.) Where was this discussed? I'm actually seriously considering exploring the Prop Proto for something because I feel its, ah, better fit then say, that thing named after a bar or something in Italy.
  • Clive WakehamClive Wakeham Posts: 152
    edited 2011-08-30 20:10
    Leon wrote: »
    What would you recommend to someone whose application has outgrown a BASIC Stamp, then, and doesn't really warrant the use of a Propeller?

    Well you really have three options.
    1. Use external products with the Basic Stamp (such as a ServoPAL ,or one of the Al Williams products, etc etc) which will reduce what the Stamp needs to do.
    2. Go to another processor which is similar to the Stamp.
    3. Go to the Propeller and use SPIN etc.

    That is what I had to do. My little robot had a fantastic program written by me (!!) but due to the BasicStamps (2p) restrictions it would not run as intended. I looked at using other chips with the Stamp to do what I needed it to do. Was it possible? -- Yes. But it restricted my future programming designs. I purchased another processor that was pin to pin compatible with the Stamp, but that had other issues which required me to change the hardware design of my project. So I then went to the Propeller. Yes it is a complete different design software and hardware BUT for the future it has the power for all I need it to do.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-10-18 21:32
    This thread has gotten buried, but it's been gnawing at me for weeks. I almost hate to revive it, but I think further discussion is called for. The overriding fact that many seem to ignore is that the Propeller is almost always a simpler solution than the BASIC Stamp for most applications. Time and again, I see queries in the forum about how to do things with the BASIC Stamp (e.g. drive three servos while monitoring two input pins and writing to a serial display) that are unnatural for an interpreted single-process micro to perform. And, while the BASIC Stamp is certainly capable of such tasks with astute programming, why subject someone to the necessary contortions, just because the "BASIC Stamp Can Do It; you don't need a Propeller?' The BASIC Stamp makes easy things easy and moderately-difficult things possible. The Propeller, OTOH, makes all but the hardest things easy. In addition to the BASIC Stamp's limitation to a single process, there's the 16-bit, stricltly-left-to-right arithmetic to contend with and an absolute dearth of variable space. The Propeller's 32-bit signed arithmetic and copious variable space free users from the BASIC Stamp's straight jacket constraints, making programming much, much simpler.

    Yet, the fact remains that much of Parallax's investment in education and entry-level microcomputing resides with the BASIC Stamp. But I think it's time to transition this emphasis away from the Stamp products to the Propeller and give the Stamps a quiet but well-deserved retirement. In the long run, customers will be more satisfied with what they can accomplish with less effort with the Propeller, and Parallax can concentrate their educational efforts on avenues that lead to this satisfaction. "Should You Really Upgrade to the Prop?" I say, yes, definitely! Do I plan to steer users away from the BASIC Stamp in the forum, against Parallax's express wishes? No, of course not. I shall continue to answer forumistas' questions about the BASIC Stamp within that realm, when possible, as best I can, although Tracy Allen is much better at it. :)

    -Phil
  • ercoerco Posts: 20,257
    edited 2011-10-18 22:07
    And I thought I was good at poking hornets nests and sleeping dogs... :)
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-10-18 22:22
    Stirring up trouble was really not my objective, nor was merely being provocative. It just bugs me, though, when I see someone struggling with BASIC Stamp stuff, knowing that their programming could be much easier and a lot more productive using a Prop instead. At least that would be the case if the playing field were leveled with equal amounts of educational materials.

    -Phil
Sign In or Register to comment.