J
John F. Hughes
Guest
I'm thinking about doing a few simple projects with a PIC (partly
from having read suggestions here).
Example: take a stream of input pulses, roughly 100 - 3000 Hz
and produce a stream of output pulses, 4 output pulses for each
input pulse.
Example: Take an RS232 stream containing GPS "sentences" and produce an
analog voltage proportional to the "Speed" value.
Example: Look at three analog voltages and set an output to HIGH if
certain properties hold (e.g., v0 > 3V AND (v1 > 2.6V OR v2 < 1.1V)),
otherwise output is LOW.
Not exactly rocket science, in other words.
I'd rather program in a high-level (?) language like C than
assy, but I can live with either.
I'd like to be able to reprogram the PIC rather than program-once-and-
throw-away-if-it-doesn't-work.
I'd love to use one of the simple PIC programmers I've found on the
web (plug into the serial port of my laptop, small part count,
easy to build).
My main problem is that there seem tobe about 12000 varieties of
PIC, and reading the datasheets for all of them is a little daunting.
Can someone suggest a cheap, easy-to-reprogram, DIP PIC that
might be suitable for things like this? And possibly a good
(freeware) C compiler, or some other good development tool?
Is there a freeware simulator? In other words, how do I get
started with this?
All sugggestions appreciated.
--John
from having read suggestions here).
Example: take a stream of input pulses, roughly 100 - 3000 Hz
and produce a stream of output pulses, 4 output pulses for each
input pulse.
Example: Take an RS232 stream containing GPS "sentences" and produce an
analog voltage proportional to the "Speed" value.
Example: Look at three analog voltages and set an output to HIGH if
certain properties hold (e.g., v0 > 3V AND (v1 > 2.6V OR v2 < 1.1V)),
otherwise output is LOW.
Not exactly rocket science, in other words.
I'd rather program in a high-level (?) language like C than
assy, but I can live with either.
I'd like to be able to reprogram the PIC rather than program-once-and-
throw-away-if-it-doesn't-work.
I'd love to use one of the simple PIC programmers I've found on the
web (plug into the serial port of my laptop, small part count,
easy to build).
My main problem is that there seem tobe about 12000 varieties of
PIC, and reading the datasheets for all of them is a little daunting.
Can someone suggest a cheap, easy-to-reprogram, DIP PIC that
might be suitable for things like this? And possibly a good
(freeware) C compiler, or some other good development tool?
Is there a freeware simulator? In other words, how do I get
started with this?
All sugggestions appreciated.
--John