-
- Embedded
Computing with PIC16F877(A) - Assembly
Language Approach
- A
complete guided project book for PIC students
-
First Edition, Washington, DC 2006
- by Charles Kim, Ph.D.
- ckimson@gmail.com
-
- What hardware
components you must need: Before your first coding practice, and before
your long steps to the PIC programming, you have to check
if you have everything you need. You don't want to
stumble at the start line and you don't want to see your
PIC engine fizzle out. Basically, you need four things :
(a) a PIC board - commercially available one or your own
breadboard, (b) PIC burner - which downloads your code
(or your bootloader code), (c) Bootloader code which you
download to your PIC chip using the burner so that your
application code can be downloaded without using the
burner anymore, and lastly (d) a Windows program to
actually download your code. Of course, you have to have
PIC assembler, and you can get it free from Microchip web
site. The exact name of the assembler (which comes with
editor, assembler, and simulator, among other amenities)
is MPLAB. Check my PIC Start-up page for
the detailed explanation for (1)what minimum hardware you
have to have for your PIC project, (2) how to select a
proper 16F877 or 16F877A chip for the project, (3) where
you get a bootloader, (4) where you can find a PIC burner
to burn your PIC16F877 or 16F877A bootloader, (5) where
you can download the Windows-based PIC downloader program
(which downloads your own hex code to the bootloaded PIC
chip), and (6)other important stuffs you have to check
before ignite your PIC engine - a must read for all
beginners. Chapter 4 of the book describes step by step
for this coding environment with sample codes.
-
- Why
do I make this book available FREE?: As you may know this book is
mainly for my students in microcomputer and embedded
computing courses, even though many students in senior
design projects also use this book. Through words of
mouth, this book is now known to many PIC students across
the globe. I printed enough books for my students and
other PIC students, and they were all sold out. I planned
to print more this summer, but the plan met a glitch - I
spent the entire summer as a faculty researcher in
California and the lab technician who used to help me
with the book made early retirement. Seems that he was
tried of spiraling the books. Then, I am receiving
requests for books from here and there. Since there is no
clear picture when the book would be actually printed, I
thought it would be appropriate to make electronic
chapters available to those who take advantage of
learning, tinkering, and mastering PICs, FREELY. That's
why!