Archive for January, 2004

MY ASSEMBLER PROGRAM

Thursday, January 22nd, 2004

I have written a program which assembles
programs written in assembler code.
It is written in QBASIC and is called PICASM.BAS.
It produces a hex (hexadecimal notation) file
which can then be read by my PROGRAMMER
program PICLP542.bas, which loads the program serially
into the PIC.

(more…)

MY PIC PROGRAM WORKS

Thursday, January 22nd, 2004

My first program for the PIC is a program
that blinks an led through pin RB1 (pin #7)
of the chip.
By the way, here is a pic of our chip.
16f628.jpg

(more…)

More on the PIC16F628

Monday, January 12th, 2004

I have read out the data which
sits in the configuration word area of the chip (PIC16F628)
the chip ID for 2 diff speed chips was
hex 07C0
the config word for both was 3FFF
the first ID field for the 20 MHZ chip was
hex 1800
the config word area begins at
loc hex 2000

Monday, January 12th, 2004

This is the hardware for programming the PIC
prgrmr3.jpg
There is a PC laptop using the parallel port to talk
to a TTL buffer and thru it the PIC to be programmed