Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

TFT LCD (ILI9341)


  • Please log in to reply
8 replies to this topic

#1 alesbedac

alesbedac

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts

Posted 03 May 2014 - 08:53 AM

somebody asked for me a library working with this LCD :

http://www.elecfreak...#External_Links
 

Atached project file with wiring descriptions. It was working me, but it was slow.

 

Attached File  ILI9341 ND2 Lib.zip   208KB   90 downloads

 

 

This driver is based on driver from another user, please appologise me i forgot his name.
So i hope he will not be angry in this case



#2 netiness

netiness

    Member

  • Members
  • PipPip
  • 10 posts
  • LocationNorway

Posted 04 May 2014 - 12:34 PM

Probably mine, from https://code.google....tduino-spi-tft/. And yes, a bit slow. I also collected info from various docs, good to see it can be used.

--Kjetil

#3 asciiman

asciiman

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts
  • LocationTurkey

Posted 05 May 2014 - 11:31 AM

hi sir

very thnx. Yes its slow but working :)

 

Can we use "Netduino Helpers\Fonts"



#4 alesbedac

alesbedac

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts

Posted 10 May 2014 - 07:56 PM

Probably mine, from https://code.google....tduino-spi-tft/. And yes, a bit slow. I also collected info from various docs, good to see it can be used.

--Kjetil

Yes..

its your work...i hope its ok i have placed it here..please appologise me.



#5 Guerillah

Guerillah

    New Member

  • Members
  • Pip
  • 1 posts

Posted 06 June 2014 - 08:05 PM

somebody asked for me a library working with this LCD :

http://www.elecfreak...#External_Links
 

Atached project file with wiring descriptions. It was working me, but it was slow.

 

attachicon.gifILI9341 ND2 Lib.zip

 

 

This driver is based on driver from another user, please appologise me i forgot his name.
So i hope he will not be angry in this case

 

Thanks to both of you guys for the drivers, however it will not work with my AdaFruit ILI9341 TFT Shield ( https://learn.adafru...eld-v2/overview )... I am guessing the pin outs are different. I am connecting the TFT shield to a prototype shield which has the ICSP port (the shield has a female header that plugs into it). Any help?



#6 asciiman

asciiman

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts
  • LocationTurkey

Posted 27 June 2014 - 06:59 AM

hi sir (alesbedac)

 

is there any new code ?



#7 alesbedac

alesbedac

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts

Posted 30 December 2014 - 09:23 AM

hi sir (alesbedac)

 

is there any new code ?

Hi,

 

nothing news..i was busy.
But currently looks my time better so i will order new lcd and i will rty working on that:

Do you have a ILI9163C driver too ?

 

 

#8 asciiman

asciiman

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts
  • LocationTurkey

Posted 31 December 2014 - 03:46 PM

hi sir,

 

unfortunately i dont have any code.



#9 studlyed

studlyed

    New Member

  • Members
  • Pip
  • 8 posts

Posted 03 January 2015 - 04:04 AM

Thought I would post my remarks on using this driver for the SeeedStudio TFT 2.8 v2 touch screen (yes, I finally got it working!).

Hardware: Bridge the jumper pads P1, P2 and P3 using solder. This allows the touch screen to use the SPI header on the netduino.

Code: the chip select pin needs to change from D10 to D5. And the frequency from 1311 to 4000, LCD_DC is actually on D6 for this board.

You can also remove the P_RESET variable as this shield does not have a reset pin.

 

In the ili9341driver.cs file, in the constructor, the Configuration needs to change from:

            Device1 = new SPI.Configuration(
                Pins.GPIO_PIN_D10, // CS-pin
                false,             // CS-pin active state
                0,                 // The setup time for the SS port
                0,                 // The hold time for the SS port
                false,              // The idle state of the clock
                true,             // The sampling clock edge
                1311,              // The SPI clock rate in KHz
                SPI_Devices.SPI1   // The used SPI bus (refers to a MOSI MISO and SCLK pinset)
                );

To:

            Device1 = new SPI.Configuration(
                LCD_CS, // CS-pin
                false,             // CS-pin active state
                0,                 // The setup time for the SS port
                0,                 // The hold time for the SS port
                false,              // The idle state of the clock
                true,             // The sampling clock edge
                4000,              // The SPI clock rate in KHz
                SPI_Devices.SPI1   // The used SPI bus (refers to a MOSI MISO and SCLK pinset)
                );

And, down in the static variables, the LCD_DC needs to change from Pins.GPIO_PIN_A5 to Pins.GPIO_PIN_D6

And LCD_CS needs to go from Pins.GPIO_PIN_D10 to Pins.GPIO_PIN_D4

If it doesn't work, try setting pin D4 to High, which from my understanding tells the sd card reader that it does not have control of the SPI -

new OutputPort(Pins.GPIO_PIN_D4, true);





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.