SD Card and ST7735R TFT Proteus simulation with PIC microcontroller

This small post shows a simulation example of SD card, ST7735R TFT (128×160) and PIC18F4550 microcontroller. The software used in this example is the well known simulation software ‘Proteus’.

In this example I’m going to store some image files (BMP format) on the SD card and display it on the ST7735R TFT screen.
Actually I made this example before using a simple hardware circuit. So if you want to build this example in reality see the project below:
Display BMP images from SD card on ST7735 TFT

As in the previous project, we need 3 files which are:  ST7735 driver, SD card driver and FAT16 library. They can be downloaded from their topics below:
The ST7735 TFT display driver topic:
ST7735 SPI TFT Display Driver for CCS PIC C compiler
The SD card driver topic:
MMC/SD Card driver for CCS PIC C compiler
The FAT16 library topic:
FAT16 Library for CCS C compiler

Proteus circuit:
Proteus circuit schematic diagram is shown below.

SD card and ST7735R TFT Proteus simulation with PIC18F4550 microcontroller

C Code:
The C code below is for CCS C compiler and it’s the same code which is used in the previous project.

The video below shows how the example works:

Proteus simulation file download link is below, use it with version 8.6 or higher:

SD Card image file (images are included) download link is below:

3 thoughts on “SD Card and ST7735R TFT Proteus simulation with PIC microcontroller”

  1. Hi there, thanks for all the work and effort put on your projects, I already tried to simulate your project in proteus but when I tried to compile the project a list of errors occurs in the fat16.c library starting at const int8 *fat_sign = {“FAT”}; line, do you know which could be the problem?

  2. Thank you for sharing this great project and libraries
    I am a retired person, the electronic project is very interested in, PIC microcontroller SD card and st7735r TFT Proteus simulation Study for some time, many places do not understand, but can not download, ask for help.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top