Microcontrollers

Navigation

Microcontrollers: From Assembly Language to C Using the PIC24 Family

This site introduces students, educators, and hobbyists to the capabilities of a powerful modern microcontroller, the Microchip PIC24.


Microcontrollers: From Assembly Language to C Using the PIC24 Family covers a broad range of topics in a straightforward, conversational style accessible to students and hobbyists alike. Topics include PIC24 assembly language programming and hardware interfacing using the C language. The text introduces the PIC24 library collection and contains an extensive set of examples carefully explained in the text. The text then presents ESOS, a low-overhead operating system for the PIC24 and provides a capstone design chapter in which the designs of an audio record/playback system, reflow oven and a remote-controlled robot are presented. The book is available from Delmar Learning. A video tutorials page is also available that contains selected topics from the book.




                
The PIC24 library collection accompanying the text provides a tested, well-documented set of libraries illustrated by numerous examples which simplify many common programming tasks for the PIC24. The getting started guide provides all information necessary to get your PIC24 system up and running. With an operational system, the PIC24 support library
provides support for all major subsystems of the PIC24. The ESOS library contains a low-overhead, cooperative OS. The robotics library drives servos, DC motors, and common sensors.





                                          
The ECE3724 course on microprocessors features on-line lecture notes and lab experiments which cover major portions of the text, including four assembly labs and 6 hardware labs, including experiments with a digital thermometer and fan speed control.




News

  • The PIC24 textbook is now available in bookstores and at Amazon.com.
  • ASEE Workshop (Sunday, June 14th, 2009): A workshop on using the PIC24 in an introductory microprocessor class has been accepted by the Electrical & Computer Engineering Division. The workshop will be given by Reese/Jones/Bruce and will be hands-on. The workshop is on the registration page and the ticket cost is $70. Participants will take home the PIC24 textbook (donated by Cengage/Delmar), a PICkit2 (donated by Microchip), a FTDI USB-to-serial cable (TTL-232R-3V3), a Sparkfun mini-Bully board, and a plug-in experiment board that works with the mini-Bully. The workshop is limited to 20 participants. Participants are expected to have a portable PC with a Windows OS as the workshop is hands-on.

Updates

  • July 2009: Added a project on a vibration-compensated tilt sensor.
  • June 2009: The ASEE workshop was sold out with 23 attendees. The complete CDROM of training materials provided to the attendees can be downloaded here.
  • May 2009: Added a textbook supplement that discusses differences between ADC operation for PIC24 CPUs with and without DMA (the code examples in Chapter 11 use a PIC24 without DMA). Presents code examples for using the ADC with the DMA module; all referenced code examples are in the code archive.
  • April 2009: An earlier update to the code archive to warn users if a requested clock switch had failed caused a compilation error for ESOS projects; this has been fixed.
  • March 2009: Videos for some Chapter 10 examples have been added.
  • March 2009: Added pictures of the PIC24 CPU board and modular logic trainer used at McMaster University to the book adopters page.
  • Feb 2009: Videos for some Chapter 9 examples have been added.
  • Feb 2009: Videos for some Chapter 8 examples have been added.
  • Feb 2009: Updated the code archive with new ADC+DMA examples (chap11/)
  • Feb 2009: Updated the video tutorials page to include a PICkit2 programmer tutorial and a demonstration of the Mini-bully PIC24 breakout board from Sparkfun.
  • January 26, 2009 - Code archive updated to add more examples converted to the Explorer16 board.
  • December 1, 2008 - Code archive updated, errata in include/pic24_comparator.h fixed.
  • November 23, 2008 - Bully Bootloader GUI updated to version 0.20 to fix an error with program verification after programming and configuration bit programming. Please update your version from the code archive.

Google Groups
PIC24 Assembly-to-C Book
Visit this group