Electronics > Beginners

PIC Programming Book Recommendation

(1/2) > >>

Teknotronix:
I'm after a good PIC programming book that focuses more on the use of MPLAB if possible. Any opinions?

I'm not a total beginner but it was 10 years ago that I wrote my last PIC program and that was all in assembler.

kek:
I got back into pic programming over a year ago (after playing around in assembler about 10 years ago too!).

The general recommendation that I found getting back into programming the PIC was to use C. (Not wanting to start a C vs asm thing)

I found "Programming 16-bit Microcontrollers in C Learning to Fly the PIC24" http://flyingpic24.com/ to be a great resource. I've spent most of my time on the chapter "dark screen" where he uses multiple interrupts to generate a composite video waveform. He describes using an "Explorer 16 demonstration board" but I wanted to dive right in so I used what I had on hand - a PIC24F64GA002 (something I got free from a design contest parts request). I also found another great resource in trying to get my setup to work - the data sheet on the exact part I was using (spent some time on "peripheral pin select" - which isn't mentioned in the book because the huge pin count chip he was using didn't use this feature).

MPLAB is covered at the start of his book.

Ken

Teknotronix:
Thanks Ken. I will check out that book.

Yeah I don't want to go down the ASM path again as I need to get the project done pretty quick. I am using a PIC18 so if the book focuses on that It would be advantageous.

I will be buying a PicKit 3 for programming/debugging duties. Does anyone know if the PDF's that come with it have good tutorials?

pb:

--- Quote from: kek on December 05, 2010, 04:35:26 am ---I found "Programming 16-bit Microcontrollers in C Learning to Fly the PIC24" http://flyingpic24.com/ to be a great resource.

--- End quote ---

I love the PIC32 version of this book as well.

Murphy:
Microchip's official documentation is decent. The PIC datasheet tells you everything you need to know about the hardware and the manual for the compiler tells you how to make C work.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod