Yes. I agree totally with Peter, Jeremy.
Depending on the situation it can be relatively easy to set one of these up.
For instance, in our application (and Paul Lowman's various) we have been
using a micro called and 8051 (variant) with reasonably low-cost compilers
you can program these beasts in C, or if ur a masochist ASM and in this
family you can even reprogram the source code from a PC via the serial port.
That particular variant has a code kernel which lets you do that, in the
event of remote location code alteration.
Depending on what you are doing of course; if expense and time is a problem
you would be hard-pressed to better what Peter is talking about with the
'Stamp'. If you are going to manufacture plenty I would suggest the 8051
route. There is a plethoria of info on the net - I can send you some urls.
To get up and running you would be looking at Programmer cost of about $200,
a good C assembler (Hitech) for about $700. I could sell you one of my
emulators for about $200 (thats a bit you can plug into your PC and debug
trace and operate ports (similar to running Delphi debug, but with hardware
control as well). Cost of the 8051 micros for a 20k is about $18, for 2k is
about $4. With 20k you can do a hellofalotof program.
Cheers,
Al+

> A 'safer' way would be to interface your computer to a microcontroller via
> serial port, and have the microcontroller deal with the switching of high
> current loads.  This means if you screw up only the microcontroller gets
> fried, rather than your expensive computer.  You can get a neat little
> microcontroller from dick smith for $150.
>
> This approach also gives you the advantage of not having to have your
> computer on all the time.  You can program the micro to do quite complex
> programs - and not even need to talk to your computer.  The micro I'm
> thinking of is the Basic Stamp 2, which I have been using for
> over a year in
> small robotic projects.
>
> There are much cheaper micro's, but they require expensive
> programmers, and
> are harder to program.  The BS2 is hooked directly to your serial
> port, uses
> easy to learn Token Based Basic, and is pretty robust (I havn't
> broken mine
> yet dispite mistreating it quite a bit).

---------------------------------------------------------------------------
  New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to