Synopses & Reviews
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.
*Eighteen fully worked SD projects in the C programming language
*Details memory cards usage with the PIC18 family
*Companion Web site with project code listings to run on Microchip's C18 student compiler
Combine microcontroller know-how with SD cards to create powerful data handling projects
SD cards offer a cheap, flexible and reliable way to bring data logging and data storage solutions to your electronic design projects. Whether you are an engineer, student or hobbyist, this book shows how to harness SD cards in your designs, and helps you to explore projects and applications that require data handling, such as logging environmental data, time and other event information.
Using the C language and the PIC18 family of microcontrollers, experienced PIC author Dogan Ibrahim brings you up to speed on basics, development tools, and programming with Microchip’s MPLAB C18 complier, before harnessing this knowledge in hands-on project work.
About the Author
Dogan Ibrahim works for the Traffic Control Systems Unit in London, UK. He was formerly a lecturer at South Bank University and Head of Department at Near East University, Cyprus in the UK.
Traffic Control Systems Unit, South Bank University, Near East University, UK
Table of Contents
Chapter 1: MICROCONTROLLER SYSTEMS
Chapter 2: PIC18 MICROCONTROLLER FAMILY
Chapter 3: MEMORY CARDS
Chapter 4: PROGRAMMING WITH THE MPLAB C18
Chapter 5: PIC MICROCONTROLLER DEVELOPMENT TOOLS
Chapter 6: SIMPLE PIC18F C18 BASED PROJECTS
Chapter 7: DEVELOPING SD CARD FUNCTIONS & SUB-PROGRAMS
Chapter 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 Logging
APPENDIX A: SMC33269DT-3.3 VOLTAGE REGULATOR
APPENDIX B: LM35DZ TEMPERATURE SENSOR DATA SHEET
APPENDIX C: MAX4115A PRESSURE SENSOR DATA SHEET
APPENDIX D: REAL-TIME-CLOCK DATA SHEET
APPENDIX E: EMBEDDED SD CARD STANDARD