Buy used
£7.31
£8.99 delivery 23 October - 13 November. Details
Used: Very Good | Details
Sold by Infinite_Books
Condition: Used: Very Good
Comment: Order will be shipped within 24 hours from our UK based warehouse. Clean, undamaged book with no damage to pages and minimal wear to the cover. We offer a full money back guarantee should you not be satisfied with your order in any way.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet or computer – no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

Programming 16-Bit PIC Microcontrollers in C: Learning to Fly the PIC 24 Paperback – 27 April 2007

4.5 4.5 out of 5 stars 55 ratings

There is a newer edition of this item:

• A Microchip insider tells all on the newest, most powerful PICs ever! • FREE CD-ROM includes source code in C, the Microchip C30 compiler, and MPLAB SIM software• Includes handy checklists to help readers perform the most common programming and debugging tasksThe new 16-bit PIC24 chip provides embedded programmers with more speed, more memory, and more peripherals than ever before, creating the potential for more powerful cutting-edge PIC designs. This book teaches readers everything they need to know about these chips: how to program them, how to test them, and how to debug them, in order to take full advantage of the capabilities of the new PIC24 microcontroller architecture.Author Lucio Di Jasio, a PIC expert at Microchip, offers unique insight into this revolutionary technology, guiding the reader step-by-step from 16-bit architecture basics, through even the most sophisticated programming scenarios. This book’s common-sense, practical, hands-on approach begins simply and builds up to more challenging exercises, using proven C programming techniques. Experienced PIC users and newcomers to the field alike will benefit from the text’s many thorough examples, which demonstrate how to nimbly side-step common obstacles, solve real-world design problems efficiently, and optimize code for all the new PIC24 features. You will learn about:• basic timing and I/O operations, • multitasking using the PIC24 interrupts, • all the new hardware peripherals • how to control LCD displays, • generating audio and video signals, • accessing mass-storage media, • how to share files on a mass-storage device with a PC, • experimenting with the Explorer 16 demo board, debugging methods with MPLAB-SIM and ICD2 tools, and more!

·A Microchip insider tells all on the newest, most powerful PICs ever! ·Condenses typical introductory "fluff" focusing instead on examples and exercises that show how to solve common, real-world design problems quickly·Includes handy checklists to help readers perform the most common programming and debugging tasks·FREE CD-ROM includes source code in C, the Microchip C30 compiler, and MPLAB SIM software, so that readers gain practical, hands-on programming experience
·Check out the author's Web site at http://www.flyingpic24.com for FREE downloads, FAQs, and updates

Product description

Review

"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.

Review

The first and only book on the newest, most powerful PIC family ever- the 16-bit PIC24!

Product details

  • Publisher ‏ : ‎ Newnes (27 April 2007)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 400 pages
  • ISBN-10 ‏ : ‎ 0750682922
  • ISBN-13 ‏ : ‎ 978-0750682923
  • Dimensions ‏ : ‎ 18.42 x 2.54 x 22.86 cm
  • Customer reviews:
    4.5 4.5 out of 5 stars 55 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Lucio Di Jasio
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Discover more of the author’s books, see similar authors, read book recommendations and more.

Customer reviews

4.5 out of 5 stars
55 global ratings

Top reviews from United Kingdom

Reviewed in the United Kingdom on 16 June 2014
void main(void) {
while(pages<0xFF){
really valuable book;
excellent examples;
original and entertaining format;
humorous and self-deprecating author; //despite being a POWER pilot!
}
}
One person found this helpful
Report
Reviewed in the United Kingdom on 19 April 2016
Great service would recommend them.
One person found this helpful
Report
Reviewed in the United Kingdom on 11 January 2013
Really good book for beginners to PIC programming. I'd recommend not diving straight into this book if you have zero programming experience, but only a basic knowledge is needed to get the gist of the tasks described in the book. Highly recommended for Electronic Engineering students looking to start embedded programming.
One person found this helpful
Report
Reviewed in the United Kingdom on 30 September 2015
A fine MCU teaching aid
Reviewed in the United Kingdom on 16 September 2014
Useful examples for programming / understanding these versatile micro's
Reviewed in the United Kingdom on 21 February 2016
Easy to read. Lacks a cdrom
Reviewed in the United Kingdom on 1 August 2014
Excellent start to learn programming MCU
Reviewed in the United Kingdom on 28 July 2014
Interesting and refeshing style and a good way to get started with MPLAB X

Top reviews from other countries

Translate all reviews to English
Brian C
5.0 out of 5 stars A good basic beginners guide.
Reviewed in Canada on 20 October 2021
I purchased this book to help me with the complexities of working with PIC microcontrollers which it has done well. One minor problem is the book is a bit dated making reference to older versions of mplab and the C compiler as apposed to mplab x and xc16. Really the older references are fairly easy to work around with a bit of patience and perseverance. I highly recommend you purchase the Explorer 16/32 Development Board DM240001-3 which comes with a more modern pic24 PIM which the Author does cover the differences compared to PIC24FJ128GA010 mentioned in the text.
James Balmer
5.0 out of 5 stars A wonderful book for learning PIC micro-controllers
Reviewed in the United States on 29 March 2011
Provided you already know ANSI standard C, or are at least comfortable with C++ enough to go with some things you might not recognize right away, for a beginner in micro-controllers this book is great. The book does make some assumptions as to your ability to do programming and understand how processors work at a most basic level, but in terms of introducing you to how do you set up inputs and outputs, how do you use the internal resources of the controller like the timer, A-to-D, and interrupt structure, and introducing you to some slip ups that can occur, the author really does a fine job. The "flying a plane" writing style is a bit whimsical but I didn't find that it detracted from the book as some of the other reviewers have mentioned.

Some of the projects, like using the Explorer 16's on board SPI EPROM are great introductions to hardware and software architecture and how to use them. Also, for the home hobbyist the final project of making a WAV file player that uses SD Cards for storage is wonderful. While the last few projects are a very complex and a most challenging read, if you can make it through (and DON'T give up easily, trust me, it is worth working through!!!) the understanding of things you get makes the effort well worth the brain strain.

About the only other thing that I can think of that would even come close to being as helpful as this book has been is if someone made an Assembler version of the same book with similar projects.

While the author does touch on assembly language in the book, it is only briefly in the last few chapters in reference to finding ways of speeding things up/simplifying things. Nothing of any real depth is really done in assembly, but assembly programming is not what this book is billed as and that is ok.

Things I would recommend before you start:
- You are at least comfortable with C++ and have a basic understanding of programming fundamentals
- You have both basic and fundamental electronics understanding
- Knowledge of the basic principles behind how a microprocessor works (not necessarily the details of the inner workings)
- A PIC Demo board of some sort, most preferably the Explorer 16 (you can still get a lot of info from the book with out actually doing the projects but it is MUCH MUCH MUCH more helpful to actually be able to do the projects described in the book)
- A willingness to do even the trivial looking projects

That last one can be your undoing with this book. I know that some things such as simply making a light blink or a binary clock can seem like a waste of time, but trust me, if nothing else the repetition of using the syntax of the registers and MPLAB will greatly aid your ability to learn these systems and make you more and more comfortable with the programming environment and the micro-controller systems.

Two last notes:
Check the author's website!!!!!! There have been a small handful of corrections to the print in the book which the author has listed on his website as well as a downloadable set of the most up-to-date version of the code examples in the book, completely typed up. (helps eliminate time costing typing errors from copying out of the book) I would still recommend typing the examples in the book yourself just for your own benefit, but if you have errors that you can't solve in a few quick checks, it is nice to be able to to just open the finished files and still see the result.

Lastly, buying the author's Demo board add-on is worth the money. It takes a couple weeks for it to arrive (because it comes from Italy), but it solves some hardware issues with actually doing most of the final projects in the book.
3 people found this helpful
Report
Michael Lippert
4.0 out of 5 stars Fast perfekt
Reviewed in Germany on 12 July 2010
Das Buch von Lucio Di Jasio ist ein guter Startpunkt für den Einstieg in die PIC24- und dsPIC30-Reihe. Der Autor erklärt die Grundlagen dieser Reihen auch gleich zusammen mit den grundlegenden Programmierkonzepten des MPLAB C30 C. Für Assemblerfreude gibt es trotzdem nach jedem Kapitel einige Anmerkungen. Da die beschriebenen 16-bit Mikrocontroller aber doch recht komplex, im Vergleich zu 8-bit Typen sind, tut Di Jasio gut daran, gleich auf C zu setzen. Was weiterhin positiv am Buch auffällt, ist, dass es leicht verständlich und didaktisch gut aufbereitet ist. Selbst wenn man vorher nichts mit PICs zu tun hatte, kommt man im Laufe eines Tages doch gut in die Materie rein. Wo das Buch dagegen schwächelt, ist der Tiefgang. Register werden eigentlich nie vollständig erklärt (eine kleine Tabelle unter jedem hätte ja gereicht), typische Anfangsprobleme werden nicht explizit erklärt (dass man bei SPI selbst den Slave setzen muss, dass der ADC falsche Werte liefert wenn er nicht ausreichend Zeit zum Sampeln hat, dass es neben PortX auch noch LatX zum setzen eines Ausgangs gibt womit sich Lese/Schreibprobleme mindern lassen, etc.). Bis auf Latx sind die Sachen zwar drin, wer es aber nicht weiß, überliest es vermutlich und wundert sich später. Das fehlen der Registereigenschaften ist ebefalls schade. Allein die spicon- und timerregister sind so umfangreich, da sind die Beispiele einfach zu wenig. Ohne Datenblatt und Family-Reference daneben, geht da nichts. Zudem hat man im Laufe des Buches den Eindruck, die Motivation des Autors ließe nach. Das Kapitel über den Heap und Pointer ist wirklich schlecht und die Ausführungen werden immer dünner. Irgendwann gibt es dann nur noch hingeknallte Beispiele ohne große Erklärung. Es gibt dann nur noch einen Glanzpunkt, und zwar die Erzeugung von S-Videosignalen. Das ist cool, gut erklärt, aber vermutlich heutzutage nicht mehr von überragendem Nutzen.
Sieht man aber von diesen Problemen ab, hat man ein ausgezeichnetes Buch um in die 16-bit PICs einzusteigen. Nicht perfekt, aber durchaus gut.
3 people found this helpful
Report
大畠さとし
4.0 out of 5 stars Picプログラム作成
Reviewed in Japan on 7 October 2012
少なくとも C言語を使っての開発者には、参考にしてほしい(になる)テキストだ。
これを参考にして、C言語での開発ようPIC本を書いてみようかな。とおもうのです。
Frank Hermes
5.0 out of 5 stars Very well done...
Reviewed in the United States on 10 April 2022
Comprehensive and clear - what more could you ask?