I have a problem:
I tried work with built in SD card in UTFT display ILI9486. At my case arduino does not see SD card .
If you have any solution, please send.
For info I used SD card 1Gb
I have a problem:
I tried work with built in SD card in UTFT display ILI9486. At my case arduino does not see SD card .
If you have any solution, please send.
For info I used SD card 1Gb
I also have a problem. You have provided no information that will help us to help you. Read the "how to use this forum-please read" sticky and come back with the details that we need. See #7 & 11, especially.
MaxUsatenko:
arduino does not see SD card.
This may be because you are required to install a jumper or make a solder bridge across a pair of pads, thereby enabling the SD selector. Check the data sheet.
Post a link to the actual screen that you have bought. Make sure that there is an accurate photo of the pcb side of the display in your link. Otherwise post your own photo of the pcb.
A little more details:
I use Arduino Due UTFT display ILI9486
Display work normal but SD port I use at first
Photo of display
Photo of back side at Google Disk
https://drive.google.com/open?id=1mN68rHg2sYvlKgt1mdU98IQbmkjeoZI1
I use microSD 1 Gb SD CO1G
Code of program from example of library UTFT_Raw (comments in Russian)
/*
В качестве примера скопируйте файл «Arduino.raw»
входящим в состав библиотеки «UTFT_SdRaw» на SD-карту
*/
#include <SPI.h>
// расширенная библиотека для работы с SD-картой
#include <SdFat.h>
// библиотека для работы с дисплеем
#include <UTFT.h>
// библиотека для вывода изображений на дисплеей с SD-карты
#include <UTFT_SdRaw.h>
// пин ChipSelect к которому подключена SD-карта
#define SD_CHIP_SELECT 53
// создаём объект работы с SD-картой
SdFat sd;
// создаём объект класса UTFT
// и передаём идентификатор модели дисплея и номера управляющих пинов
UTFT myGLCD(ILI9486, 38, 39, 40, 41);
// объявления встроенного шрифта
extern uint8_t BigFont[];
// создаём объект для работы и вывода изображений на дисплей
UTFT_SdRaw myFiles(&myGLCD);
void setup()
{
// инициализируем дисплей с вертикальной ориентацией
myGLCD.InitLCD();
// очищаем экран
myGLCD.clrScr();
// выбираем большой шрифт
myGLCD.setFont(BigFont);
// ждём успешной инициализации SD-карты
while (!sd.begin(SD_CHIP_SELECT)) {
// устанавливаем красный цвет «чернил» для печати и рисования
myGLCD.setColor(VGA_RED);
// печатаем строку в указанной строке позиции
myGLCD.print("SD Card failed!", CENTER, 100);
delay(1000);
}
// устанавливаем зелённый цвет «чернил» для печати и рисования
myGLCD.setColor(VGA_GREEN);
// печатаем строку в указанной строке позиции
myGLCD.print("SD Card initialised", CENTER, 100);
// ждём 1 секунду
delay(1000);
// выводим изображение с SD-карты на дисплей
myFiles.load(0, 0, 480, 320, "Arduino.RAW");
}
void loop()
{
}
Could I send more info?
Your SD card should work 100% on a MEGA2560.
I suggest that you plug the shield onto a MEGA2560 and see if it works.
The Due has hardware SPI on D74, D75, D76 i.e. on the 3x2 SPI header.
The SdFat library can bit-bash Software SPI on pins 50-53 i.e. the pins used by your shield.
However you have to configure the src/SdFatConfig.h in the SdFat library.
I am not sure if or how the UTFT_SdFat library manages to handle the "Software SPI"
Your shield is quite common. So I am sure that there will be readers that have the same Shield and Due
David.
Thank you for your advice. I will try to do it