Saturday, May 8, 2010

PIC18 SD BMP Reader

This project uses Microchip's PIC18F2550 and Nokia 3310 LCD to read and display images from BMP files on the SD/MMC cards. Although the display itself is monochrome, it still supports 24-bpp (bits per pixel), 8-bpp, 4-bpp, and 1-bpp (monochrome) Bitmap files (*.BMP) with size of 84x48 pixels. It uses the Petit FAT File System Module by ChaN.

Diagram and simulation:
Actual circuit:

Demo video:

forum link: Petit FAT File System (w/ Proteus ISIS simulation)

Source code(PICC18) + simulation(ISIS) + others: PIC18 SD BMP Reader.rar

references for BMP file format:
Wiki BMP file format
atlc.sourceforge bmp format
MSDN Types of Bitmaps


  1. MPLAB shows an error, and do not want open the file.

  2. Hi

    Can you detail how to create PIC18F2550_SD_BMP (backup). Hex
    I perform the following:

    Formatting the SD card as FAT
    ¿Alone or add files to a folder?
    The type of compression (none, normal, fast ...,....)
    With WinHex the file created has a. WHX

    Thanks for your help