Interfacing SD card with PIC12F1822 (Raw data read)

With the tiny microcontroller PIC12F1822 we can read raw data (sectors) stored in the SD card. The SD card can work in SPI mode which makes our interfacing more better since the PIC12F1822 MCU has a built-in SPI module (MSSP module).
This post shows how to interface the SD card with the PIC12F1822 microcontroller in order to read the raw data stored in it (the SD card).
SD card raw data means that there is no use of system files like FAT16 or FAT32. Serial monitor is used to display the data after reading it and here the UART protocol is used.
the link below shows a small PIC12F1822 MCU UART example:
PIC12F1822 UART example with CCS C compiler
In this project I used the MMC/SD card driver for CCS C compiler which is described in the post at the link below:
MMC/SD Card driver for CCS PIC C compiler
Hardware Required:

  • PIC12F1822 microcontroller
  • SD Card
  • AMS1117 3.3V voltage regulator
  • 3 x 3.3K ohm resistor
  • 3 x 2.2K ohm resistor
  • 10K ohm resistor
  • 5 x 10uF polarized capacitor
  • 100nF ceramic capacitor
  • MAX232 chip
  • Female RS232 connector
  • 5V Power source
  • Breadboard
  • Jumper wires

Interfacing SD card with PIC12F1822 MCU circuit:


for more detail:  Interfacing SD card with PIC12F1822 (Raw data read)

Current Project / Post can also be found using:

  • SD card withe pic16f877
  • interfacing SD card
  • sd card interface with pic16f877a
READ  Augmenting a Microcontroller using PIC16F886

Leave a Comment

= 5 + 6

Read previous post:

This is likely the first ham radio related project that I document here on this blog. But my very first...

Scroll to top