February 27, 2004

THE AMAZING PIC !!

I would like to report great successes with my
experiments with the PIC16F628 micro-controller.
Thanks to help from guys like Bob Sweeney and a few other
guys like Mike Rioux of the QRA radio club,
a number of my programs are running smoothly.
One has a delay routine with 3 levels of loops
which can give me delays of up to 30 seconds.

Bob Sweeney warned me that the Watch Dog Timer could
be resetting my programs and I believe that was right.

Some of the things I have now done is write a configuration word on all my new chips. I am pleased to say that I got a bunch of PICs from Mouser for only
$2.06 each!
I also disable a lot of interrupts in my opening routines
using system registers option, intcom and pie1.

This afternoon, I will try to program a PIC to count in binary and display the count through 4 LEDs. I was just thinking - another version will count using a seven-segment display.

I will be putting in a program of mine called ROBOT2.ASM which will go forward for a few seconds, then make a right turn and then keep repeating this.

Here is a pic of my 4 bit counter:

piccntr.jpg

Posted by larrykeegan at February 27, 2004 09:50 AM