Second is programming. The BX-24 is probably easier to program if you're
just starting out, as it uses a variant of Visual Basic. The Handyboard can
be programmed in a variety of languages, with Assembler and C the most
common.
As far as raw power is concerned, the Handyboard wins hands down. Learning
how to use that power doesn't necessarily come easy.
Expansion is in the eye of the beholder. What kind of expansion did you
have in mind?
Few microcontrollers by themselves have built-in high-current ports. Rather
you can attach to them a wide variety of transistor, power MOSFET, or
H-bridge drivers, relays, etc. to do this work for you.
-- Gordon
Be sure to look at the OOPicQuote:> I'm new to microcontrollers. What i would be using the
microcontroller
> for it autonomous sumo robotic wars. The microcontroller would have
to
> be able to power a circuit that could power D.C. motors at high
> current. What would be the best microcontroller? Also which
> microcontroller is better for expansion?
Also look at the robots on the OOPic website
http://www.oopic.com/robots.htm
--
SMS
================================================
= OOPic robots http://www.oopic.com/robots.htm =
================================================
Sent via Deja.com http://www.deja.com/
Before you buy.
John-
Remember that a BX-24 stores user programs in EEPROM. The HC11, or most any MCU
not driven by an embedded language, will store programs either in burned PROM,
Flash or downloaded SRAM. Because these allow faster fetching of instructions,
speed is improved. I recall the BX-24 processes about 8,000 instructions per
second. The Atmel 8535 chip upon which the BX-24 is based processes up to
8,000,000 instructions per second. The HC11 may or may not be as fast, depending
on the crystal used. When you program in IC, IC converts to ASM. For the BX-24,
your program is stored as tokens, which are intepreted by the BasicX operating
system that permanently resides in the BX-24's Flash memory.
This isn't to say that the BX-24 is not a good alternative, because it is. But
in my opinion there 's a compromise of power/speed for conveience.
-- Gordon
> John-
> > As far as raw power is concerned, the Handyboard wins hands down. Learning
> > how to use that power doesn't necessarily come easy.
> > -- Gordon
-- Gordon
> Remember that a BX-24 stores user programs in EEPROM.
Well, this depends greatly on the instruction. An empty for-loop with aQuote:> [...]
> Remember that a BX-24 stores user programs in EEPROM. The HC11, or
> most any MCU not driven by an embedded language, will store programs
> either in burned PROM, Flash or downloaded SRAM. Because these allow
> faster fetching of instructions, speed is improved. I recall the
> BX-24 processes about 8,000 instructions per second.
It depends on what you define as a token. BasicX uses an optimizingQuote:> The Atmel 8535 chip upon which the BX-24 is based processes up to
> 8,000,000 instructions per second. The HC11 may or may not be as
> fast, depending on the crystal used. When you program in IC, IC
> converts to ASM. For the BX-24, your program is stored as tokens,
> which are intepreted by the BasicX operating system that permanently
> resides in the BX-24's Flash memory. [...]
One advantage to this approach is that b-code tends to be significantly
more compact than equivalent native code, which can be an advantage for
small memory systems.
-- Frank Manning
-- NetMedia, Inc.
Sent via Deja.com http://www.deja.com/
Before you buy.
> Well, this depends greatly on the instruction. An empty for-loop with a
> 16-bit counter is slightly faster. Floating point multiply is slightly
> slower, as is procedure call/return. Other instructions, such as
> integer increment, can run at 65,000 per second or higher.
I didn't want to use the term "bytecode" because that has taken on aQuote:> It depends on what you define as a token. BasicX uses an optimizing
> compiler that compiles to a virtual machine similar to p-code or Java
> bytecode. We don't use the traditional BASIC approach of tokenizing
> source code that is interpreted on the fly.
-- Gordon
John Piccirillo
> > Well, this depends greatly on the instruction. An empty for-loop with a
> > 16-bit counter is slightly faster. Floating point multiply is slightly
> > slower, as is procedure call/return. Other instructions, such as
> > integer increment, can run at 65,000 per second or higher.
> Actually, I realize now I was remembering the "8000+" instructions for
> program storage space. They're right next to one another on the BX-XX
> comparison lists, and my "photographic memory" misplaced the two!
> Still, though, 65K/second instructions is not close to the 1-2 cycles
> per instruction that an 8 MHz Atmel chip is capable of, and that was my
> point. In order to enjoy the benefit of a high-level language embedded
> into an MCU, there's usually a trade-off, and in this case it's raw
> processing speed. I think these kinds of tradeoffs are to be expected.
> > It depends on what you define as a token. BasicX uses an optimizing
> > compiler that compiles to a virtual machine similar to p-code or Java
> > bytecode. We don't use the traditional BASIC approach of tokenizing
> > source code that is interpreted on the fly.
> I didn't want to use the term "bytecode" because that has taken on a
> special meaning these days (because of Java mostly). I guess "token" is
> a loaded word, too.
> -- Gordon
I was wondering what was better to use for a western sumo autonomous
robotic. The controller would have to recieve several inputs and act
quickly. It would also have to be able to drive approx. 2-4 relays. I
know that the handy board cost quite a bit more than the BX-24. What is
better for the money and what I need it for?
Your help is greatly appreciated.
2. Domain Controller & Additional Domain Controller
3. Ordering the BX-24 preloaded with BX24-AHT
5. BX-24 All Housecode Transmogrifier
7. BX-24 version of x10rfd available
8. ATL Server getting Session state failing
9. Anybody try CM11a with Basic Stamp or BX-24?
10. BX-24 again
11. BX-24