OPEN_SMART 3.2" TFT Lcd shield ILI9327 chipset

Has anybody done the ground work on this lil animal?
I have seen so many Libraries floating around… adafruit, MCUFREIND to name a couple.
I’m using an Arduino mega2560, however it can mount both uno or mega
I could really do with some help on this one chaps.

Thnx in advance :slight_smile:

Surely you can just install MCUFRIEND_kbv and Adafruit_GFX via the IDE Library Manager.

Then follow the instructions for "Open-Smart" in the mcufriend_how_to.txt

Make sure that you do not have any "multiple libraries"

David.

Thnx for your input David. as soon as the display arrives, I'll give it a whirl, and will post my experience.

@Brett_james did you manage to get that screen working? I have one and am struggling to get it running.

Please be honest. Does your pcb look like the photo in #1 ?
Does it say Driver IC: ILI9327 ?

Yes it is identical to that photo with the same driver.

The how to doesn’t contain anything specific to this board.

What do you mean about multiple libraries?

19. OPEN-SMART Shields have different wiring to regular Uno Shields:
    Edit utility/mcufriend_shield.h:  #define USE_SPECIAL
    Edit utility/mcufriend_special.h: #define USE_OPENSMART_SHIELD_PINOUT
    Edit MCUFRIEND_kbv.cpp:           #define SUPPORT_8352B

ILI9327 is supported by default. You only need to make the SPECIAL edits.

When people install libraries by hand you get problems. Delete any multiple versions.

Always use the Library Manager. It finds the correct library. Tells you if a new version is available. Updates or Installs everything correctly.

It is wise to enable verbose Compile.
e.g. File->Preferences->Show verbose output during: compilation

This will tell you about library versions, locations, multiple versions, …
If you have a problem you can copy-paste the important lines e.g.


Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino-1.8.13\hardware\arduino\avr\libraries\SPI 
Using library Mcufriend_kbv at version 2.9.9-Release in folder: C:\Users\David Prentice\Documents\Arduino\libraries\Mcufriend_kbv 
Using library Adafruit_GFX_Library at version 1.10.7 in folder: C:\Users\David Prentice\Documents\Arduino\libraries\Adafruit_GFX_Library 
Using library Adafruit_BusIO at version 1.7.3 in folder: C:\Users\David Prentice\Documents\Arduino\libraries\Adafruit_BusIO 
Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino-1.8.13\hardware\arduino\avr\libraries\Wire 
"C:\\Users\\David Prentice\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\DAVIDP~1\\AppData\\Local\\Temp\\arduino_build_800998/graphictest_glue.ino.elf"
Sketch uses 31466 bytes (97%) of program storage space. Maximum is 32256 bytes.
Global variables use 1702 bytes (83%) of dynamic memory, leaving 346 bytes for local variables. Maximum is 2048 bytes.
Low memory available, stability problems may occur.

Or if desperate you can copy to a TXT file and attach the TXT file.

@david_prentice Thank you very much for the comprehensive reply that was the info I actually needed. It is working fine now.

What was the problem?

Can I improve the “How-To” instructions ?

David.

David

I deleted the existing library from my libraries folder (I am on a Mac). I reinstalled from the Library Manager. In the version I had installed I did not find

I made the 3 changes and now it is working. As I try the various examples I am getting the odd timeout but I can live with that.

Thanks for all your help.

You should avoid manually installing libraries. Or using any library from “unknown” source e.g. Open-Smart

The Library Manager will report version etc. And show you the approved Repository on GitHub.
Most importantly it only installs the Release. It does not install the “current Beta” e.g. the current GitHub “master” Branch

David.

1 Like