Programming 16-Bit PIC Microcontrollers in C: Learning to Fly the PIC 24 Paperback – Mar 16 2007
There is a newer edition of this item:
Customers Who Bought This Item Also Bought
To get the free app, enter your e-mail address or mobile phone number.
"No stone is left unturned. The book hits flash memory, communications, LCD support, and analog-to-digital converter support...Unless you are a C30 and PIC24 wiz already, pick up this book before beginning work with one." William Wong, Electronic Design.
The first and only book on the newest, most powerful PIC family ever- the 16-bit PIC24!See all Product Description
Inside This Book(Learn More)
Top Customer Reviews
The communication chapter covers SPI, but nothing on I2C.
Certains aspect mieux expliqué que Microchip.
Des exemples bien choisis par l'auteur.
Most Helpful Customer Reviews on Amazon.com (beta)
Lucio has managed to put together a real interesting collection of material to help you learn the PIC24 and in a fun way. Lucio's theme is "Learning to Fly the PIC24". The book addresses primarily C developers, with plenty of example code. Assembly programmers are not left out, however as the format of each chapter is: a flight plan, the flight, post flight briefing, and notes for PIC experts, and assembly language experts. Lucio is a PIC expert at Microchip so you will learn from the best. The book includes a CD-ROM with source code in C and the student version of the C30 compiler. The book is not written for "absolute" beginners. Some familiarity with assembly language and basic understanding of the C language. Prior exposure to the PIC architecture would be helpfull as well.
Part I is about the basics of the PIC24. Chapter 1 takes you through the basics of programming the PIC24; Compiling, linking, building a project, port initialization, and other tips and tricks. Chapter 2 introduces logic operators, while loops, timers and, a neat feature of Microchips MPLAB, the logic analyzer. Chapter 3 introduces do loops, variable declarations, and arrays. Chapter 4 discusses data types, optimization, testing, integer multiplication, and complex data types. Chapter 5 is covers interrupts, the secondary oscillator, and the real-time clock calendar (RTCC), Chapter 6 discusses memory allocation, the program space visibility (PSV), the compiler map, pointers, the heap, and C30 memory models.
Part II, chapter 7 takes you through he serial interface , parallel interface, SPI, read status register, writing to the EEPROM and the new nonvolatile storage library using the 25LC245 serial EEPROM. Chapter 8 is about more UART examples and a console library. Chapter 9 presents interfacing with the LCD using the HD44780 controller. Chapter 9 is about analog-to-digital conversion with a good example of using the TC1047 analog temperature measurement chip.
Part III is more advance material. Chapter 11 covers input capture, simulation, PS/2 interfacing (including key code decoding), and I/O polling. Chapter 12 is really cool and discusses techniques to interface to a TV screen or display using composite video. Chapter 13 is about mass storage using the SD/MMC card interface. Chapter 14 discusses file I/O, the file allocation table (FAT), the fopenM() and freadM() functions. Chapter 15 is the grand finale using the PIC24 OC modules to develop a WAVE file player using PWM output.
The reason I summarized the chapters, in detail, above is that the chapter titles do not do the chapter contents justice in title alone. The chapters are:
1. The first flight
2. A loop in the Pattern
3. More Pattern Work, More Loops
6. Taking a Look Under the Hood
8. Asynchronous Communications
9. Glass Bliss
10. It's an Analog World
11. Capturing Inputs
12. The Dark Screen
13. Mass Storage
14. File I/O
His use of C programming takes you through an easier learning curve than if you were to approach this with machine language. The Explorer 16 gives you plenty of practial applications to play around with the technology and monkey around with things yourself. The chekclists are invaluable. especially in the early stages of using the tools.
Perhaps the most refreshing thing I found was that Lucio personally answers emails and gives you educational insights if you ask him questions. I have taken on learning the PIC controller on my own and Lucio has helped me over a hurdle or two in this adventure.
One other note: The microchip applications team is ecellent. I have had a few issues with a real project using the PIC device and the local FAE stopped by on a number of ocassions to help troubleshoot both the HW/SW issues I couldn't overcome on my own. What better way to learn than with the guys who work with it every day.
This book takes a very practical approach, using the tools on the CD and doing exercises with C code. The explanations are clear. Be aware that though introductory, this is a technical book.
Look for similar items by category
- Books > Computers & Technology > Hardware > Microprocessors & System Design > PIC Microcontroller
- Books > Computers & Technology > Programming > C > Tutorials
- Books > Computers & Technology > Programming > Introductory & Beginning
- Books > Computers & Technology > Software
- Books > Professional & Technical > Engineering > Electrical & Electronics > Digital Design
- Books > Professional & Technical > Engineering > Electrical & Electronics > Electricity Principles
- Books > Professional & Technical > Engineering > Electrical & Electronics > Electronics
- Books > Science & Math > Mathematics
- Books > Textbooks > Engineering > Electrical & Electronic Engineering