code examples / libraries for ILI9320 2.8" TFT LCD Module


Closed Thread
Results 1 to 11 of 11
  1. #1
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838

    Default code examples / libraries for ILI9320 2.8" TFT LCD Module

    Hi guys , look for some pic basic examples / interface for using this LCD graphic module
    , recommendations for pic chip to best use

    cheers

    sheldon

  2. #2
    Join Date
    Dec 2012
    Posts
    41


    Did you find this post helpful? Yes | No

    Default Re: code examples / libraries for ILI9320 2.8" TFT LCD Module

    try checking this out, it should help a bit with code and such
    http://triton9.wordpress.com/2011/11...egment-module/

  3. #3
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    947


    Did you find this post helpful? Yes | No

    Default Re: code examples / libraries for ILI9320 2.8" TFT LCD Module

    Sorry Chirpy, that is nowhere close to what Sheldon is looking for. His LCD is ILI9320 a-Si TFT LCD Single Chip Driver. 240RGBx320 Resolution and 262K color.

    This is surely something that can be driven by almost any processor; but, if you want real world speeds, nothing less than a DSPIC or ARM core probably with DMA support will help.

  4. #4
    Join Date
    Aug 2005
    Posts
    95


    Did you find this post helpful? Yes | No

    Default Re: code examples / libraries for ILI9320 2.8" TFT LCD Module

    Try this.

    http://www.myamicus.co.uk/content.ph...hic-LCD-Shield

    Its ment for another language but you can find the int values to setup the display.

    Hope it helps Sphere.

  5. #5
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: code examples / libraries for ILI9320 2.8" TFT LCD Module

    thanks Sphere , some very good starting point to run from.

    Was originally just looking to put simple txt and some color buttons for options for touch panel input for the application
    was looking to use some on hand existing 12F1825 32mhz pics for a starting point for the prototype

    The concern that i had is that interface preference is using asigning pins for SPI interface for LCD and other pins for spi 2 for the touch input ,
    but if the graphics updating is limited to simple text , i thought that this PIC would be ok ???


    slill looking at how / what pins are required

  6. #6
    Join Date
    Aug 2005
    Posts
    95


    Did you find this post helpful? Yes | No

    Default Re: code examples / libraries for ILI9320 2.8" TFT LCD Module

    The main problem with using a colour graphic display is the abilty to redraw the display fast without you seeing the display update. Each pixel has to have an RGB value sent to it,so with 320x240 resolution you would need to send 230400 bytes to redraw the entire display. So I would recomend using a 64Mhz pic and the paralell interface in 8bit mode on the display for speed. These displays dont have any built in fonts so you will have to make your own.

    Sphere.

  7. #7
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: code examples / libraries for ILI9320 2.8" TFT LCD Module

    have found some code example that only update the screen where it has changed eg a button pressed area and text area of that screen , but the faster the pic the more u can do , thinking there maybe an advantage in buying a purpose based pic module that is ready to use as far as connections go , any sugestion on that approch

    display example http://www.ebay.com.au/itm/350678115...#ht_4540wt_906

  8. #8
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,802


    Did you find this post helpful? Yes | No

    Default Re: code examples / libraries for ILI9320 2.8" TFT LCD Module

    The LCD is really a bargain.

    But in any case you need a really fast controller to update the screen. Also you may need to read data from the SD card and then update the LCD. So more time needed.

    Microchip is supporting such LCDs but I think on the PIC32 series. Wonder why now?

    And a last thing. Using 8 bit or even better 16 bit interface is a must in this case. SPI? I would not think about it.

    Ioannis

  9. #9
    Join Date
    Aug 2005
    Posts
    95


    Did you find this post helpful? Yes | No

    Default Re: code examples / libraries for ILI9320 2.8" TFT LCD Module

    Mikroe has a some displays broken out on to a pcb but they use a different controller.

    http://www.mikroe.com/add-on-boards/display/

    Or if you want an all in one dev board.

    http://www.mikroe.com/mikromedia/pic18fj/

    I have this board and it works great. It's a bit of a fiddle to get it going but once you have mapped out all of the pins to the various on board devices it works. The touch panel uses the adc of the pic so you will have to write a bit of code to read it. The display uses an 8bit interface so you can just use standard BMP images for your graphics. The display you link to uses a 16 bit interface so any images will have to be converted to 16bit (eg.5bits red 6bits green 5bits blue) where’s a standard BMP image is 24bit (eg.8bit red 8bit green 8bit blue) so no need to convert.

    Hope it helps Sphere.

  10. #10
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: code examples / libraries for ILI9320 2.8" TFT LCD Module

    cheers guys , the info has been good , ill look further into both the boards listed , not ever used the larger pics (pic32) as yet , clearly there is bit more to consider when using this type of display from my experiences with standard lcd i have used in the past

  11. #11
    Join Date
    Jun 2013
    Posts
    1


    Did you find this post helpful? Yes | No

    Default Re: code examples / libraries for ILI9320 2.8" TFT LCD Module

    There is a PIC32 BASIC 2.8" TFT Dev Kit (ILI9325) that you might want to take a look at.
    http://shop.aiscube.com/Microcontrol...evelopment-Kit
    Everything's already configured. 16bit parallel interface, microSD support, on-board accelerometers, a wav player, as well as Servo Motor support.
    Source code given in tutorials.
    Apparently its on sale now for about US$79, inclusive of worldwide free shipping.
    It's worth a look.

Similar Threads

  1. Timer code examples for PIC 16F628
    By Tastature in forum mel PIC BASIC
    Replies: 6
    Last Post: - 22nd November 2013, 02:47
  2. code examples and copyright
    By malc-c in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 14th May 2010, 11:28
  3. sending string to module GSM with character ""
    By volcane in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 2nd May 2010, 02:26
  4. Code Examples
    By Archangel in forum Forum Requests
    Replies: 33
    Last Post: - 30th June 2007, 09:34
  5. 16F88 - AD converter module always "ON"
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th September 2006, 12:11

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts