
The example " ILI9341_draw_bitmap" (in the Adafruit_ILI9341_AS folder) sketch uses 90% of UNO FLASH and 54% of RAM for dynamic storage when compiled under IDE 1.6.1. Most of the image files are in BMP format, so it is left as an exercise to convert them to raw format, amend the sketch and see the improved drawing speed. I may have made a mistake or may be able to help you get your setup going, bear in mind that it is difficult to debug major problems by exchanging a few messages. You can modify the SD library examples to use the above pins to check a sketch can access the files and the wiring is good.
#Image converter 565 zip file#
In the zip file you will find a folder containing images, put these on a FAT formatted SD card for the Arduino to read (not in a directory!). The main changes to the ILI9341 library are to enhance speed and to add the pushColors() function, one to handle integer arrays (for BMP drawing) and one for byte arrays (raw images). The standard SD library can be used but this requires minor changes to the sketch and will run slower.

You will need the libraries in the attached zip file and the SdFat library (included for convenience).

The display is quite greedy on power so the dissipation in the resistors is not that significant in comparison.ĭo not insert and remove the SD card when the Arduino is powered, this can (does!) corrupt the card and it will need reformatting! and the resistor will limit the current into the device to a couple of mA.īear in mind the display I have incorporates 10K pullups to the +3.3V supply on the SD Card SPI lines, this means that using higher value resistors in the voltage divider (these drop the UNO 5V levels to around 3V logic) will not achieve a reliable logic zero and it won't work! Ideally we would use a logic level converter but resistors are so cheap and they work fine at these frequencies because the stray capacitance of the lines we are driving is not that significant. The SD card might survive such abuse but you may not be lucky.
#Image converter 565 series#
You may wish to put an inline 1K2 (or there about) resistor in series with the MISO signal line (between UNO pin 12 and SD_MISO) this will help protect the SD Card in case you accidentally switch the UNO pin 12 to output a +5V logic 1. Other pin outs at the Arduino can be used by adapting the sketch should you have a display from another supplier or wish to use an existing setup.

