Driver for ILI9341 - Page 3


+ Reply to Thread
Page 3 of 5 FirstFirst 12345 LastLast
Results 31 to 45 of 61

Thread: Driver for ILI9341664 days old

  1. #31
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    2,373
    Thumbs Up
    Received: 87
    Given: 183
    Total Downloaded
    5.30 GB

    0 Not allowed!

    Default Re: Driver for ILI9341

    Thanks Charlie.
    George.

  2. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  3. #32
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    2,373
    Thumbs Up
    Received: 87
    Given: 183
    Total Downloaded
    5.30 GB

    0 Not allowed!

    Default Re: Driver for ILI9341

    @Flosi. I ran your fine ILI9341 code and demo but on a 18F25K50, it worked fine except on the menu demo the battery icon was displayed in two parts toward the bottom of the display. Any idea what dim thing I did? Where abouts is the icon code?
    George.

  4. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  5. #33
    Member flosigud's Avatar
    Join Date
    Oct 2013
    Posts
    203
    Thumbs Up
    Received: 13
    Given: 15
    Total Downloaded
    3.20 GB

    0 Not allowed!

    Default Re: Driver for ILI9341

    The battery ikon is just a bmp. It is in MenuTest.bas.
    Flosi Guđmundsson
    Reykjavík

  6. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  7. #34
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    2,373
    Thumbs Up
    Received: 87
    Given: 183
    Total Downloaded
    5.30 GB

    0 Not allowed!

    Default Re: Driver for ILI9341

    I think I get it. The location is intentional? Set by
    Display_BMP(200,200,Image_battery)
    DisplayRAM_BMP(200,250,Image_batteryRAM)
    which I guess are XY coordinates?

    You really have made a very sweet demo.
    George.

  8. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  9. #35
    Prolific Poster John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,954
    Thumbs Up
    Received: 94
    Given: 34
    Total Downloaded
    5.12 GB

    0 Not allowed!

    Default Re: Driver for ILI9341

    Hi Charlie,
    My graphic LCD have arrived. I think they are the same as yours although they have the touch chip.
    Before I blow them up, are they 3.3 or 5volt devices.
    All the best
    John

  10. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  11. #36
    Member flosigud's Avatar
    Join Date
    Oct 2013
    Posts
    203
    Thumbs Up
    Received: 13
    Given: 15
    Total Downloaded
    3.20 GB

    0 Not allowed!

    Default Re: Driver for ILI9341

    My displays have a 3.3v regulator that can by bypassed. If fed with 3.3v it outputs 3.0V. I use 3.3V.
    Flosi Guđmundsson
    Reykjavík

  12. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  13. #37
    Prolific Poster charliecoultas's Avatar
    Join Date
    Sep 2010
    Posts
    1,467
    Thumbs Up
    Received: 50
    Given: 48
    Total Downloaded
    3.45 GB

    0 Not allowed!

    Default Re: Driver for ILI9341

    Mine are 3.3V with no touch chip. I accidentally put 5V on it a few times with the PicKit2 programmer: they lit up but didn't appear to work on 5V. But on returning to 3.3V all was well again. Phew!

    I soldered a teeny-tink touch chip onto the pads and I think this is about the limit of my surface mount ability. I don't have any code for touch yet.
    The display is running in our Lorenz simulator at the museum and people seem impressed by the quality of the display. The code I posted a while ago is the code running (on an 18F26K22).

    I'm sure you keep us informed of your progress.

    Charlie

  14. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  15. #38
    Prolific Poster John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,954
    Thumbs Up
    Received: 94
    Given: 34
    Total Downloaded
    5.12 GB

    0 Not allowed!

    Default Re: Driver for ILI9341

    Thanks Flosi and Charlie, 3.3 it will be. I'll use the Amicus18 for experiments and make sure it's putting out 3.3.
    Cheers from Oz
    John

  16. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  17. #39
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    2,373
    Thumbs Up
    Received: 87
    Given: 183
    Total Downloaded
    5.30 GB

    0 Not allowed!

    Default Re: Driver for ILI9341

    My displays have a 3.3v regulator that can by bypassed. If fed with 3.3v it outputs 3.0V. I use 3.3V.
    How do you bypass?
    George.

  18. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  19. #40
    Member flosigud's Avatar
    Join Date
    Oct 2013
    Posts
    203
    Thumbs Up
    Received: 13
    Given: 15
    Total Downloaded
    3.20 GB

    0 Not allowed!

    Default Re: Driver for ILI9341

    Assuming you have the display pictured in post #34, the regulator is marked U2. There is a small solder bridge close to it, J1. By bridging that you bypass the regulator. If you don't and feed the regulator with 3.3V the output is 3.0V. The display is quite happy with that. Might prevent some mishaps.
    Flosi Guđmundsson
    Reykjavík

  20. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  21. #41
    Prolific Poster charliecoultas's Avatar
    Join Date
    Sep 2010
    Posts
    1,467
    Thumbs Up
    Received: 50
    Given: 48
    Total Downloaded
    3.45 GB

    0 Not allowed!

    Default Re: Driver for ILI9341

    Flosi

    What code did you use for the touch? I have some code from Les for the touch chip ADS7846, but my board has a XPT2046 chip.
    Les's code aliases to something in his ILI9340 code which I don't have and throws errors.

    Thanks
    Charlie

  22. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  23. #42
    Member flosigud's Avatar
    Join Date
    Oct 2013
    Posts
    203
    Thumbs Up
    Received: 13
    Given: 15
    Total Downloaded
    3.20 GB

    0 Not allowed!

    Default Re: Driver for ILI9341

    I haven't yet done anything with the touch. These two touch chips seem similar so Les code should work with minimal tweaking. Doing that with a display that is also SPI is probable more difficult than if the display was parallel which is the reason that I have postponed this project.
    Flosi Guđmundsson
    Reykjavík

  24. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  25. #43
    Prolific Poster charliecoultas's Avatar
    Join Date
    Sep 2010
    Posts
    1,467
    Thumbs Up
    Received: 50
    Given: 48
    Total Downloaded
    3.45 GB

    0 Not allowed!

    Default Re: Driver for ILI9341

    Thanks Flosi. I'll see if I can adapt Les's code.

    Charlie

  26. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  27. #44
    Member flosigud's Avatar
    Join Date
    Oct 2013
    Posts
    203
    Thumbs Up
    Received: 13
    Given: 15
    Total Downloaded
    3.20 GB

    0 Not allowed!

    Default Re: Driver for ILI9341

    Some time ago I amended my driver for use with parallel displays. It turned out that the only parallel display I have is 16 bit. The commands are 8 bit so I can print rectangles, but colors and founts are wildly off. To use place either $define Use_Parallel or $define Use_SPI before the include file.
    Attached Files Attached Files
    Flosi Guđmundsson
    Reykjavík

  28. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  29. #45
    Member flosigud's Avatar
    Join Date
    Oct 2013
    Posts
    203
    Thumbs Up
    Received: 13
    Given: 15
    Total Downloaded
    3.20 GB

    0 Not allowed!

    Default Re: Driver for ILI9341

    This is a revised version of my driver for ILI9341 and others. Support for parallel
    displays is added and I have added Les Johnson's driver for touch.


    To setup there are few defines that setup the display and touch:




    $define TFT_Use_SPI1
    $define TFT_Use_SPI2
    $define TFT_Use_Parallel
    $define Touch_Use_SPI1
    $define Touch_Use_SPI2

    If you wish to use same spi for both TFT and touch, just define TFT first and then the
    touch.

    I have also added some graphic routines in a separate file:
    DrawLine(X0,Y0,X1,Y1)
    DrawCircle(X0,Y0,radius)
    DrawCircleHelper(X0,Y0,radius,cornername)
    FillCircleHelper(X0,Y0,radius,cornername,delta)
    FillCircle(X0,Y0,radius)(X0,Y0,width,heigth,radius)
    FillRoundRect(X0,Y0,width,heigth,radius)

    These are just translation from Adafruit code but work very well.
    DrawLine uses modified Bresenham and prints two or more pixels
    as horizontal or vertical lines.


    Interestingly the parallel display is faster but not by much. I have to measure that.



    ILI9341_parallel_touch.zip
    Flosi Guđmundsson
    Reykjavík

  30. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. ILI9341 LCD module with touch
    By towlerg in forum LCD module
    Replies: 0
    Last Post: 10th November 2019, 16:17
  2. [SOLVED !] ILI9341 Touch screen display
    By mikedownunder in forum Proton Plus Compiler v3
    Replies: 5
    Last Post: 25th February 2016, 09:11
  3. 0 to 10 v driver
    By Tim in forum The Lounge
    Replies: 25
    Last Post: 23rd July 2012, 10:29
  4. LED Driver
    By pic-ignorant in forum The Lounge
    Replies: 11
    Last Post: 13th January 2012, 19:45
  5. Bridge Driver
    By fanie in forum The Lounge
    Replies: 0
    Last Post: 27th August 2008, 12:55

Posting Permissions

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