BS2 vs SX?
I am very new at parallax, so please forgive my ignorance.· I purchase the BS2 Homework board few months ago, and learning to program it and use it.
I needed more I/0 for my current project and was adviced to use the SX chip added to my BS2.
Now as far as I can see, the SX is faster and even do it has less I/O; still·cheaper.
Why should I use the BS2 instead of few SX chips?
What are the major difference between the two microcontroller beside the ones I already mentioned?
again, please forgive my ignorance, just looking to learn. and in the process contribute to this great forum.
Complete project:
Stepper motor driver
http://forums.parallax.com/showthread.php?p=641371
Current projects:
I/O board
http://forums.parallax.com/showthread.php?p=641605
Robotic hand
http://forums.parallax.com/showthread.php?p=637017
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Fernando Gomez
revinc.us
gomez-rivera.com
Never compare yourself with anyone else, there will always be someone bigger·or·smaller·than you.
Post Edited (willy1067) : 4/25/2007 4:01:48 AM GMT
I needed more I/0 for my current project and was adviced to use the SX chip added to my BS2.
Now as far as I can see, the SX is faster and even do it has less I/O; still·cheaper.
Why should I use the BS2 instead of few SX chips?
What are the major difference between the two microcontroller beside the ones I already mentioned?
again, please forgive my ignorance, just looking to learn. and in the process contribute to this great forum.
Complete project:
Stepper motor driver
http://forums.parallax.com/showthread.php?p=641371
Current projects:
I/O board
http://forums.parallax.com/showthread.php?p=641605
Robotic hand
http://forums.parallax.com/showthread.php?p=637017
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Fernando Gomez
revinc.us
gomez-rivera.com
Never compare yourself with anyone else, there will always be someone bigger·or·smaller·than you.
Post Edited (willy1067) : 4/25/2007 4:01:48 AM GMT
Comments
The Basic Stamp II cost most per chip being $50 to $80 depending on model and it is great for simply projects that you want to get developed faster. However, the SX chips need either an SX-Blitz or SX-KEY (~$30-$50) ONE TIME PURCHASE to program the SX chips BUT the chips are less than $3 each. The SX chips also allows for programming in either SX/B or Assembly language but the BS2 programs only in PBASIC. It is made for easier development. Each has pros and cons. Once you get better at SX/B then the choice is obvious but for the absolute begineer I would recommend·starting with the·BS2 or better yet BS2px (3 times faster I beleive than a BS2 - and more EEPROM space). The BS2 also has less variable space to work with. The SX48 and SX52 is·best supported by their SX48 and SX52·$10 protoboards - but·you will still need to by either a 1 time purchase SX-Blitz (no debuging but cheaper) or SX-KEY (adds nice debuging features) to program them. The SX48 and SX52 has much more·variable space, RAM and most importantly I/O lines than the SX28 and BS2. The SX28 like the BS2·are DIP based so they can be used on solderless breadboards as well.
Bottom line is that the BS2 is most expensive overall but somewhat easier to pick up and learn. SX/B is not hard to learn either.
I hope this answers·your concerns and paints a better picture of the differences. I·use all of them.
·
Oddly enough, the SXes are a better value for you $$$$.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
Russ
You may want to download the SX-Key software 3.2.3 and go to the HELP file which will list all of the SX/B commands and examples of how they are used.
http://www.parallax.com/sx/downloads.asp
You can do the same for the BS2:
http://www.parallax.com/html_pages/downloads/software/software_basic_stamp.asp
You will see that many of the commands are closely identical in name and functionality. I started on the BS2 but found many limitations which caused me to move upwards to the SX28 and a professional development board (PDB). I do not regret this move at all. SX/B is wonderfull and BEAN has been doing some serious updating and improvements every day on making it better. SX/B and an SX chip far superceeds the capability of a BS2.
It's your own personal choice. Read through both sets of HELP files on the commands and examples and make the decision for yourself.
I've been adding a lot more Assembly to my SX/B projects and I'm more confident doing it having seen how the compiler handles certain operations.
I gave up learning assembler after the C64. I think with the need for fast prototyping that the Basic is the way to go. Will I eventually learn it, yeah. Did you check out the article in the lastest issue of Nuts & Volts? The author who compared speeds of different compilers seems to be in the same boat I'm in. Assembly is neat, but for most everything Basic will do it quicker (as in development time).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Shawn Lowe
My last words shall be - "NOT YET!!!"
rip off if u ask me, I like da SX chips, and I can program them in SX/B, way more easier than assembly
The SX and SX/B shows Parallax's commitment to the advanced hobbyist and professional. That said, they've always made their OEM components available at reasonable cost fro production; I know because I used them into a product I designed about eight years ago.
I am trying to understand some SX code but I am stuck with some commands that I do not understand and I tried searching for their definitions without downloading the compiler, but had no luck.
the commands are:
-WATCH
-SUB and the intergers that might follow it, e.g. SUB 2,3
-FUNC and the intergers that might follow it, e.g. FUNC 2,0
If it is possibe for someone to translate their meanings into their equivalent PBasic (BS2) counterparts then I might have a better chance of understanding their usage.
Thanks!
Post Edited (logical) : 11/2/2008 3:01:40 AM GMT
WATCH is kinda like DEBUG in that it allows you to see the value in variables.
The parameters after SUB are the min and max bytes passed to the subroutine.
The parameters after FUNC is return bytes, min and max bytes passed to the function.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"The welfare of the people in particular has always been the alibi of tyrants." ~ Camus
www.iElectronicDesigns.com
·
WATCH is on page 21
SUB is on page 14
FUNC is on page 16
Look at this post too for SUB and FUNC: http://forums.parallax.com/showthread.php?p=657104
·
·····
...although·without specifying their numeric output types, would their defualts both be to display these variables as characters (ASCII)?
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"The welfare of the people in particular has always been the alibi of tyrants." ~ Camus
www.iElectronicDesigns.com
·