sx or propeller?
I have used the Basic Stamp for over a year now, and I'm thinking of learning a new language. I don't know if I should go with the sx or propeller, and I don't know the capabilities of each. Also, I have plenty of electronics I've used with the basic stamp, so things like pushbuttons, leds, and resistors aren't really needed. How can I learn about the microcontroller a little more cheaply? All I have is a students budget to suite my interests, so every little bit counts.
·![jumpin.gif](http://forums.parallax.com/images/smilies/jumpin.gif)
Thanks in advance.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Pi Guy
·
![jumpin.gif](http://forums.parallax.com/images/smilies/jumpin.gif)
Thanks in advance.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Pi Guy
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thank's Brian
·"Imagination is more important than knowledge..." ·· Albert Einstein
www.PropelX.com
www.NorthStarMachining.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Pi Guy
If you want the most, the Propeller is the hands down winner. If you are not quite ready for the additions of keyboard, mouse, and video; the SXes are very good and will allow you to move into Assembly language via Guenther's very excellent tutorial.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Pi Guy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
jazzed
You may want to give some consideration to your programming experience.
Since you are already familiar with Parallax Basic you might find programming the SX in Basic to be an easier transition than learning to program the Propeller in Spin. This is not to discourage you from learning Spin. I simply offer it as something to consider.
For me, the SX allowed me to get several projects up and running quickly thanks to the ease of use of the SX/B programming language. At work we needed a powerful yet inexpensive processor able to handle several tasks "at once." We needed it to handle multiple, simultaneous communication channels, process multiple inputs from sensors, execute control logic and activate several actuators and motors. We were not fixed on Parallax products but quickly narrowed our selection list down to the Propeller and the SX because of their generalized utilitarianism. (Other processors from other vendors could do some of what we wanted with different offerings but we would have to change chips when we changed projects. What good is that?)
Both the Propeller and SX seemed able to do what we needed. At the time the Propeller was about double its current price so we went with the SX. It has been an excellent choice! Had the Propeller been selling then at its current price we might have chosen differently.
The bottom line is that you can not really go wrong with either chip. Keep in mind also that you do not ultimately have to choose one over the other. You just need to decide which one to explore right now!
Would you like a relatively easy transition to something akin to the Basic Stamp but much more powerful? The SX can quickly take your robot projects to the next level of processing capability! Are you comfortable taking some time to learn something new as you try to wrap your mind around a whole new way of thinking about simultaneous process control? The Propeller with its eight processing cores will handle many simultaneous tasks with relative ease.
I suggest that you take a look at Spin and a look at SX/B. See which language you might like to use and factor that into your decision.
- Sparks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Pi Guy
SX has a huge assym code·resource in www.sxlist.com for those that are really commited to life beyond PICs and programing embedded microprocessors withing larger systems.· Mainly because you can lock the code away from view.
Why not get both? I did and haven't regreted doing so.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Pi Guy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter
www.brilldea.com·- uOLED-IOC, RGB LEDs, TLC5940 driver PCB
www.tdswieter.com
One little spark of imagination is all it takes for an idea to explode
It's a fantastic chip!
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Pi Guy
Also, while the Propeller chips are not super expensive, there are many applications that can be accomplished with single dollar chips from other architectures (or also include more onboard memory).
I would look into the Propeller if you are interested in it's parallel processing abilities, but if the desire is to learn another language, I might also give some thought to learning something like C that is widely used in many circles and will no doubt be useful in the future.· With free open source compilers and diy serial/lpt programmers, you can start with several architectures for the price of only a single $2 chip and a breadboard.· Perhaps even a free sample somewhere.
Post Edited (Agent420) : 5/30/2008 12:19:49 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Pi Guy
Post Edited (Mike Green) : 5/31/2008 11:20:44 PM GMT
Free Hi-Tech C compiler for PIC:
http://microchip.htsoft.com/products/compilers/PICClite.php
GNU C is used on many platforms, including 8 bit AVR:
http://www.avrfreaks.net/index.php?module=FreaksTools&func=viewItem&item_id=145
(WINAVR is GNU based and includes many tutorials & examples)
Keil Realview has a size limited demo version that is fine for learning ARM:
http://www.keil.com/arm/realview.asp
(Realview has a great ARM simulator·built in, so you can see the results of your code even without any hardware)
This is just a sample; there are many more out there.· There's probably an open source GNU C compiler for every popular platform available.· And while it is true that the pay-for retail C compilers often make life a bit easier or potentially code a bit more effeciently, it is amazing what the free versions can offer.· Certainly any free C compiler usually exceeds Basic in terms of performance·- so it's still a win.
Those three platforms are also very popular, and there should be little difficulty finding all kinds of resources.
Also, most of these incorporate much more onboard ram than the BS or SX chips, which might be important for more complex projects. For example, many AVR chips have 1K, 2K or more, and the ARM's usually have 8K-16K or ram.
Personally, I started with AVR because you could build a parallel port programmer out of parts in your junkbox.
http://elm-chan.org/works/avrx/report_e.html
Now I'm learning ARM because it offers an exponential level of power and memory, and seems to be somewhat of a standard in embedded devices.· Futurelec has some very cheap ARM modules that can be programmed vial RS232 serial port:
http://www.futurlec.com/ET-ARM_Stamp.shtml
And there's a really great free Insiders Guide book available for ARM:
http://www.hitex.co.uk/arm/lpc2000book/
Finally, C can be (definitley is) convoluted in comparison to Basic.· It's got header files, include files, linker files, make files, etc. There's a reason Basic is so popular for these chips, it's because it makes it very easy to do many tasks.· And most versions of Basic targeted towards microcontrollers use structured programming techniques that used to be limited to languages like C.· If you've had no prior experience with C, expected a slow start.· But it can be done,·and for better or worse C seems the 'standard' language used to build almost everything these days, from cell phones to Linux and Windows themselves.·So any knowledge you gain can be applied to a wide field, as opposed to a language that is specific to only one proprietary chip.· And once you get past the creation process and understand what the different files do, the language itself is not so bad - the ideology is not so different from many Basic ideas.·· There are 1,000,001 C tutorials on the net for the langauge itself.
Post Edited (Agent420) : 6/2/2008 5:11:03 PM GMT