Free Downloads
Programming 8-bit PIC Microcontrollers In C: With Interactive Hardware Simulation

Microcontrollers are present in many new and existing electronic products, and the PIC microcontroller is a leading processor in the embedded applications market. Students and development engineers need to be able to design new products using microcontrollers, and this book explains from first principles how to use the universal development language C to create new PIC based systems, as well as the associated hardware interfacing principles. The book includes many source code listings, circuit schematics and hardware block diagrams. It describes the internal hardware of 8-bit PIC microcontroller, outlines the development systems available to write and test C programs, and shows how to use CCS C to create PIC firmware. In addition, simple interfacing principles are explained, a demonstration program for the PIC mechatronics development board provided and some typical applications outlined. *Focuses on the C programming language which is by far the most popular for microcontrollers (MCUs)*Features Proteus VSMg the most complete microcontroller simulator on the market, along with CCS PCM C compiler, both are highly compatible with Microchip tools*Extensive downloadable content including fully worked examples

Paperback: 304 pages

Publisher: Newnes; 1 edition (July 29, 2008)

Language: English

ISBN-10: 0750689609

ISBN-13: 978-0750689601

Product Dimensions: 7.5 x 0.7 x 9.2 inches

Shipping Weight: 1.4 pounds (View shipping rates and policies)

Average Customer Review: 3.3 out of 5 stars  See all reviews (12 customer reviews)

Best Sellers Rank: #1,059,490 in Books (See Top 100 in Books) #25 in Books > Computers & Technology > Hardware & DIY > Microprocessors & System Design > PIC Microcontroller #118 in Books > Computers & Technology > Hardware & DIY > Microprocessors & System Design > Embedded Systems #292 in Books > Engineering & Transportation > Engineering > Electrical & Electronics > Electronics > Microelectronics

Hello.I own several microcontroller books, including Bates books about microcontrollers (PICs), the one before this one (the assembler one).I have a good programming background in assembler for these micros, the mid range and base range (16Fs and 12Fs) so I know the architecture of several micros (including the new 16F887). Actually, if you know a little of PICs architecture you know it's very much the same on all the "product line".I've programmed in BASIC with PICBASIC PRO, and know how the code generates (32 bytes of RAM just to use the compiler) but lately I wanted to learn another programming language for the Microchip PIC. Since I use 12F, 16F and 18F series I wanted a good compiler and I was between the FED C (from Dogan Ibrahim books) and the CCS (from several forums and the fact it can run in MPLAB). I own Prata's C PRIMER PLUS and "The white book" (K&R second edition) and have read a little, so if I see a program, I think I can understand it.That been said, let's get to the book:Bates does a great job of presenting the programming basics (for, while, if, switch, etc) with the CCS compiler, as he presents the program, comments on it (explains how it works) and provides several pointers on each subject. He also proposes several exercices at the end of each chapter.After the explanation with respect to the programming fundamentals, he goes into the modules of the PIC (again, using CCS) and does a good job of explaining the program and also the inner workings of the modules.If you have 150 dollars you could get the mechatronics development board from Microchip (I own it), since one of the chapters is devoted to it.

Conclusion:This was the book that "got me over the hump" and I am now comfortably programming PIC microcontrollers in C using the CCS compiler. Overall, I am very happy with this purchase and think that the price is very reasonable for the knowledge that you gain from this text.Comments:If you know about embedded systems, you know that they are the most basic elements of circuitry. All they are is a chip and you have to figure out how to make it "Go" and do something useful. Just getting it to turn on takes an organized act of programming and hardware together. By contrast, most books on learning C programming start with the almost famous printf ("Hello World"); program that requires not only that the processor be running, but that it have some kind of output device (Monitor, printer, etc.) attached to it and be working. In other words, this is practically impossible to accomplish as you have to have a completely functional system and a high level of proficiency in programming before you can even start to learn how to program. I own a sizable stack of books on learning C and they all subscribe to this same backwards technique and have all proved useless toward actually learning C on embedded systems. Martin Bates book is the first one that I have read that starts with turning the processor on and takes you through turning an LED on which is a realistic example of a first C program with a microcontroller. You already have a half-dozen or so projects under your belt before you see a printf statement, which is the ONLY way to do it in an embedded world.I don't really have all that much negative to say about this book. It does use the Proteus simulator for most of the projects in the beginning, which I elected not to use and to do it all in actual hardware.

Programming 8-bit PIC Microcontrollers in C: with Interactive Hardware Simulation Programming 16-Bit PIC Microcontrollers in C, Second Edition: Learning to Fly the PIC 24 Programming 16-Bit PIC Microcontrollers in C: Learning to Fly the PIC 24 (Embedded Technology) Programming 16-Bit PIC Microcontrollers in C: Learning to Fly the PIC 24 (Embedded Technology) Pap/Cdr Edition by Di Jasio, Lucio published by Newnes (an imprint of Butterworth-Heinemann Ltd ) (2007) Programming 16-Bit PIC Microcontrollers in C: Learning to Fly the PIC 24 Interfacing PIC Microcontrollers, Second Edition: Embedded Design by Interactive Simulation Interfacing PIC Microcontrollers: Embedded Design by Interactive Simulation Designing Embedded Systems with 32-Bit PIC Microcontrollers and MikroC Modern X86 Assembly Language Programming: 32-bit, 64-bit, SSE, and AVX Programming #8:C Programming Success in a Day & Android Programming In a Day! (C Programming, C++programming, C++ programming language, Android , Android Programming, Android Games) Programming #57: C++ Programming Professional Made Easy & Android Programming in a Day (C++ Programming, C++ Language, C++for beginners, C++, Programming ... Programming, Android, C, C Programming) Fundamentals of Microcontrollers and Applications in Embedded Systems with PIC Microcontrollers PIC Microcontroller Project Book : For PIC Basic and PIC Basic Pro Compliers Programming 32-bit Microcontrollers in C: Exploring the PIC32 (Embedded Technology) Programming #45: Python Programming Professional Made Easy & Android Programming In a Day! (Python Programming, Python Language, Python for beginners, ... Programming Languages, Android Programming) Property, A Contemporary Approach, 2d (Interactive Casebook) (Interactive Casebooks) (Interactive Casebook Series) Programming PIC Microcontrollers with PICBASIC (Embedded Technology) Programming: Computer Programming for Beginners: Learn the Basics of Java, SQL & C++ - 3. Edition (Coding, C Programming, Java Programming, SQL Programming, JavaScript, Python, PHP) Raspberry Pi 2: Raspberry Pi 2 Programming Made Easy (Raspberry Pi, Android Programming, Programming, Linux, Unix, C Programming, C+ Programming) Android: Programming in a Day! The Power Guide for Beginners In Android App Programming (Android, Android Programming, App Development, Android App Development, ... App Programming, Rails, Ruby Programming)