The boss wants me to make a timer for her exercise regime. It needs to flash
a LED and/or make a sound every 12 seconds, then every 5 seconds (or
something like that). I was going to choose a couple of CMOS 555 timers, but
then I thought this could be a good way for me to learn about PICs. I've yet
to make the plunge into mucking about with them, so what are the thoughts?
PIC or 555s? It's not urgent.
A PIC will be more versatile.
If you just want the job done with least fuss, then PICAXE is the
easiest and cheapest way. Can be programmed with flowcharts if needed.
If you want to learn "real" PIC's then you'll need a programmer. I'd
recommend a genuine Microchip programmer, the PICkit2. Cheap, works
with MPLAB or standalone, and you can get ZIF socket adapters for it
(it's an in-circuit programmer on it's own).
What software experience do you have?
PIC assembler is really not that fun, and I'd recommend C if you have
the experience.
There is BASIC too if that makes you more comfortable.
A PIC16F88 is a good general purpose PIC chip to use, but anything
will do for this app.
Start by modifying example apps to get a hang of the compile-program
development sequence in the toolset of your choice.
MPLAB will do assembler, and you can get C or BASIC compilers that
plug into MPLAB and use that as an editing environment.
Otherwise you could use say the PIC-C lite software on its own that
generates the .HEX file and then use your programmer software - no
need for MPLAB in that case.
Learn about the configuration fuse bits - a trap for young players.
Dave.