PDA

View Full Version : Want a new microcontroller, but don't know which one.



Velvet Leopard
08-19-2004, 12:36 AM
Hewwo, all.и I have come to the decsion to purchase another microcontroller, or more, to further my experience with them.и My problem is the huge amount of choices.и I have heard some things about comparing them like I would rather have a straight SX rather than a BS2SX for it's speed and I would rather have this one over that one because of size of memory or something.и Is there a site for these kinds of comparison shopping?и Can anyone out there give me some good choices to think on?и I am not too concern with speed of execution as long as the controller can be exact and meticulate in it's functions.и I would love to have a controller that can measure very short times and and have plenty of I/Os.и Thanks plenty.и


иииии I forgot to ask.и Can the BS2 be overclocked?и And to what limits can this be?

frasenci
08-19-2004, 12:42 AM
here is some guidance ,...


http://www.parallax.com/html_pages/resources/start/getting_started_main.asp

good luck

KenM
08-20-2004, 10:28 AM
I use BS2's and the straight SX.

The BS2 series are superior to the straight SX for ease of use, that is the ability to write a program for it. PBasic is intuitive and pretty easy to pick up.

The straight SX on the other hand is not nearly as easy to program as the BS2, but as you mentioned, much faster.

For example, you can measure pulse widths with the SX with far greater resolution than a BS2. The SX has interupts (interupt the main program and run an important task based on some input).
The SX can detect edges rising or falling, whileиa BS2 cannot do the same.

The SX with the SX key (~$90) can single step through your program one line at a time, a BS2 cannot (yet?)

An SX costs about $4.00, and aиBS2 about $50.

One example of programming differences.....to get a 500ms pause with a BS2 you write

pause 500,


to do the same with an SX.....

Del 0_5 Sec:иииииииииииииииииииииииииииииииииииииииииииии ;24999987 cyclesииииииииииииии movиииииииии w, #$70ииииииииииииии movиииииииии d1, wииииииииииииии movиииииииии w, #$2Aииииииииииииии movиииииииии d2, wииииииииииииии movиииииииии w, #$27ииииииииииииии movиииииииии d3, wDel 0_5 Sec_0:ииииииииииииии decszииииии d1ииииииииииииии jmpиииииииии $+2ииииииииииииии decszииииии d2ииииииииииииии jmpиииииииии $+2ииииииииииииии decszииииии d3ииииииииииииии jmpиииииииии Del 0_5 Sec_0иииииииииииииииииииииииииииииииииииииииииииии и ;7 cyclesииииииииииииии jmpиииииииии $+1ииииииииииииии jmpиииииииии $+1ииииииииииииии nopииииииииииииииииииииииииииииииииииииииииииииии ;6 cycles (including call)ииииииииииииии ret

Velvet Leopard
08-20-2004, 12:01 PM
WOW! That is a big difference in programming ease.и I guess I would stick to the stamp for now.и Thanks for the info.и