SD Card Projects Using the PIC Microcontroller


  • Dogan Ibrahim, Traffic Control Systems Unit, South Bank University, UK, and lecturer at the Department of Computer Information Systems, Near East University, Lefkosa, Cyprus

PIC Microcontrollers are a favorite in industry and with hobbyists. These microcontrollers are versatile, simple, and low cost making them perfect for many different applications. The 8-bit PIC is widely used in consumer electronic goods, office automation, and personal projects. Author, Dogan Ibrahim, author of several PIC books has now written a book using the PIC18 family of microcontrollers to create projects with SD cards. This book is ideal for those practicing engineers, advanced students, and PIC enthusiasts that want to incorporate SD Cards into their devices. SD cards are cheap, fast, and small, used in many MP3 players, digital and video cameras, and perfect for microcontroller applications. Complete with Microchip's C18 student compiler and using the C language this book brings the reader up to speed on the PIC 18 and SD cards, knowledge which can then be harnessed for hands-on work with the eighteen projects included within. Two great technologies are brought together in this one practical, real-world, hands-on cookbook perfect for a wide range of PIC fans.
View full description


Electronics Design Hobbyists, students, and application engineers


Book information

  • Published: March 2010
  • Imprint: NEWNES
  • ISBN: 978-1-85617-719-1

Table of Contents

Chapter 1: MICROCONTROLLER SYSTEMSChapter 2: PIC18 MICROCONTROLLER FAMILYChapter 3: MEMORY CARDSChapter 4: PROGRAMMING WITH THE MPLAB C18Chapter 5: PIC MICROCONTROLLER DEVELOPMENT TOOLSChapter 6: SIMPLE PIC18F C18 BASED PROJECTSChapter 7: DEVELOPING SD CARD FUNCTIONS & SUB-PROGRAMSChapter 8: SD CARD BASED MICROCONTROLLER PROJECTS 8.1 PROJECT 1 - Formatting the SD Card 8.2 PROJECT 2 ? Writing to SD Card Sectors 8.3 PROJECT 3 ? Reading From SD Card Sectors 8.4 PROJECT 4 - Reading Cid Register and Displaying on LCD 8.5 PROJECT 5 - Reading Csd Register and Displaying on LCD 8.6 PROJECT 6 ? Copying SD Card Sectors 8.7 PROJECT 7 ? Reading SD card Sectors and Sending Data to a PC 8.8 PROJECT 8 ? Reading From a PC Keyboard and Saving on a SD Card 8.9 PROJECT 9 - SD Card Temperature Logging Project 8.10 PROJECT 10 ? Opening a File on a SD Card 8.11 PROJECT 11 ? Writing to a SD Card File 8.12 PROJECT 12 - Reading from a SD Card File 8.13 PROJECT 13 ? Reading and Writing To a SD Card 8.14 PROJECT 14 - Opening Multiple Files on a SD card 8.15 PROJECT 15 - Logging the Temperature in a SD card File 8.16 PROJECT 16 - Logging Temperature & Pressure in a SD Card File 8.17 PROJECT 17 - Using Real-time-clock With SD Card Data Logging 8.18 PROJECT 18 - SD Card and PC Based General Purpose Data LoggingAPPENDIX A: SMC33269DT-3.3 VOLTAGE REGULATORAPPENDIX B: LM35DZ TEMPERATURE SENSOR DATA SHEETAPPENDIX C: MAX4115A PRESSURE SENSOR DATA SHEETAPPENDIX D: REAL-TIME-CLOCK DATA SHEETAPPENDIX E: EMBEDDED SD CARD STANDARD