Message Boards
Threads [ Previous | Next ]
LCD Display
LCD Display emcniece 5/29/08 9:56 PM
RE: LCD Display gasegal 5/30/08 9:41 AM
RE: LCD Display Digi-Key 6/5/08 4:20 PM
RE: LCD Display rathergood 7/5/08 9:49 PM
RE: LCD Display radioruler 7/19/08 4:31 PM
RE: LCD Display jamodio 7/19/08 1:31 PM
RE: LCD Display radioruler 7/19/08 4:28 PM
RE: LCD Display radioruler 7/20/08 11:26 PM
RE: LCD Display Robomaniac 7/21/08 11:23 PM
RE: LCD Display radioruler 7/22/08 1:15 AM
RE: LCD Display Robomaniac 7/22/08 1:23 AM
RE: LCD Display Robomaniac 7/22/08 1:55 AM
RE: LCD Display rathergood 7/22/08 3:39 AM
RE: LCD Display Robomaniac 7/24/08 1:02 AM
RE: LCD Display jamodio 7/24/08 3:31 PM
RE: LCD Display boseji 7/28/08 1:29 AM
RE: LCD Display jamodio 7/28/08 3:51 PM
RE: LCD Display boseji 7/29/08 11:32 PM
RE: LCD Display protektwar 8/21/08 4:27 AM
RE: LCD Display emcniece 8/21/08 4:42 AM
RE: LCD Display protektwar 8/29/08 11:14 AM
RE: LCD Display bmorse 8/29/08 4:32 PM
RE: LCD Display boseji 9/1/08 2:21 PM
RE: LCD Display boseji 9/3/08 2:10 PM
RE: LCD Display ohmite 9/7/08 4:32 PM
RE: LCD Display boseji 9/6/08 12:08 AM
RE: LCD Display ohmite 9/6/08 2:07 AM
RE: LCD Display tswift 9/7/08 1:00 AM
RE: LCD Display jedetech 9/7/08 1:40 AM
touch screen problem umergeorge athlas 9/9/09 9:02 AM
RE: LCD Display picr 9/7/08 3:10 AM
RE: LCD Display picr 9/7/08 3:23 AM
RE: LCD Display boseji 9/7/08 4:33 AM
RE: LCD Display ohmite 9/7/08 12:48 PM
RE: LCD Display boseji 9/7/08 7:42 PM
RE: LCD Display picr 9/7/08 9:28 PM
RE: LCD Display ohmite 9/7/08 11:05 PM
RE: LCD Display boseji 9/8/08 2:46 AM
RE: LCD Display boseji 9/8/08 7:42 PM
RE: LCD Display bmorse 9/7/08 11:49 PM
RE: LCD Display ohmite 9/9/08 1:33 AM
RE: LCD Display boseji 9/9/08 2:37 AM
RE: LCD Display ohmite 9/28/08 10:26 PM
RE: LCD Display boseji 9/28/08 11:43 PM
RE: LCD Display ohmite 10/8/08 1:19 PM
RE: LCD Display boseji 10/15/08 11:07 AM
RE: LCD Display boseji 10/29/08 1:23 AM
RE: LCD Display ohmite 10/29/08 3:09 PM
RE: LCD Display boseji 11/9/08 12:57 PM
RE: LCD Display boseji 11/12/08 2:26 AM
RE: LCD Display boseji 11/17/08 12:40 AM
RE: LCD Display carlo 2/10/09 10:35 PM
RE: LCD Display boseji 2/10/09 11:41 PM
RE: LCD Display boseji 2/26/09 3:12 PM
RE: LCD Display baris 3/10/09 10:05 AM
RE: LCD Display boseji 3/15/09 9:56 AM
touch screen problem umergeorge athlas 9/9/09 9:01 AM
RE: touch screen problem boseji 4/8/10 8:33 AM
RE: touch screen problem hendry 12/6/10 5:31 PM
RE: touch screen problem boseji 12/11/10 9:17 AM
RE: LCD Display protektwar 9/3/08 8:49 AM
touch screen display problem umergeorge athlas 9/9/09 9:00 AM
RE: LCD Display stienman 7/19/08 6:53 AM
RE: LCD Display radioruler 7/19/08 1:26 PM
LCD Display
5/29/08 9:56 PM
I've recently purchased an Optrex T-51963GD035J-MLW-AGN ($107CAD ) from digikey, only to find that digikey does not sell the manufacturer's matching driver (impulse shopping at its worst ). I'm sure I could grab the driver from Optrex, but I've been lurking around and reading the whole non-digikey-supplier-equals-death business. Out of curiosity, I'm wondering if anyone knows if drivers are compatible with multiple displays - I'm assuming they are if the pins line up. Has anyone else interfaced their displays yet? I've watched the tutorial videos from Microchip on the LCD displays so I have a bit of a base, but any extra info would be awesome. Looking through the projects, there are a lot of 3.5" displays out there - somebody must know something!
RE: LCD Display
5/30/08 9:41 AM as a reply to emcniece .
It looks like that TFT displays are secondary items for suppliers such as DigiKey, Farnell, Mouser etc...:
The offer and support is pour, price too high....

I believe that TFT display size 3.5" and 5.7" should be a great opportunity for supplier such as DigiKey, Farnell, Mouser etc...for the following reasons:

-TFT with Touch-screen will be the Human interface of the future for embedded applications
-because, driven by TV and consumer products, the cost of these devices are decreasing while performance are improving
-and many manufacturers offer 3,5" and also 5,7" with simple 8 bit drivers
-but It's very difficoult and requires a long time to have samples from manufacturers and they require a promise of high volume rate (1000pcs or more)
-Last but not least Microchip offer a good and reliable Graphic Library which allows the use of these display with PIC24F and PIC32...

but it is not easy to find a TFT display with a compatible driver to Microchip Graphic Library....
I've found a good 3,5" display from amp display http://www.ampdisplay.com/
They use a proprietary chip FS506 that emulates an 80/8bit driver, I'd no particular difficulties to change the S6d0129L driver and adapt to the new one...but it was not easy to have one sample, also paying....
RE: LCD Display
6/5/08 4:20 PM as a reply to emcniece .
Hello,

We apologize for the frustration in trying to put together a LCD/driver solution. There is not currently a qualified driver solution that Digi-Key carries for the LCD that you are looking into.

We are aware that there are gaps in our graphic solutions and are actively working to fill out this product line.

Digi-Key will stock the graphics PICTail board (AC164127) that interfaces with the Microchip library and Explorer 16 board (DV164033)/IO expansion board (DM320002).

I will keep you posted when these 2 items come to stock at digikey.com.

Digi-Key
RE: LCD Display
7/5/08 9:49 PM as a reply to Digi-Key .
I have the explorer 16 board but DigiKey does not stock the display or driver IC that's used on it. Was hoping to not reinvent the wheel with a new display and driver and use a similar circuit. Is there a compatible drive/display fro DigiKey that will work like the graphics pictail?
RE: LCD Display
7/19/08 4:31 PM as a reply to Digi-Key .
Maybe you guys at Digi-Key should check out the competition.

Mouser sells this display with touchscreen for about $60 bucks.

Mouser Part #: 668-MTF-TQ35SP741-AV
Manufacturer Part #: MTF-TQ35SP741-AV
Manufacturer: Microtips Technology

A whole bunch of the contest entries talk about using a graphical LCD with touch screen. It sure would be nice to have
some under $100 dollar choices from Digi-Key. Especially by next week when the design hardware phase kicks off...

The cheapest LCD with touch screen I saw on / from Digi_Key was about $170 bucks.
With the $400 design contest limit, that really cuts into the design budget.

BTW Mouser also sells a bunch of cheap touch screen overlays that will work with any LCD.
Mouser part number 817-N010-0514-T003 for example...

Some Digi_Key choices for "touch panels" would be a wonderful addition also...

I am hoping for a flurry of new LCD parts releases by Digi-Key.

Sincerely;
Radioruler
RE: LCD Display
Tags: graphics, lcd, sprite, vector
7/19/08 6:53 AM as a reply to emcniece .
The dot clock for that display is around 5MHz, which is do-able by the PIC32.

The memory requirements are a bit high, though, 320x240 = 76,800 pixels. The highest PIC32 has is 32k ram, which means you could allocate at most 4 bits per pixel using only the internal memory.

You could expand it with external memory, or even use the external memory to control the display, writing updates to the memory inbetween lines and frames.

Alternately, you can run the display off a single PIC32 if you drive the display with sprites stored in flash. You wouldn't set individual bits on the display memory, you'd instead have a table of objects to display on the screen with their location, sorted by starting pixel line and then column, so as you drive each line to the display you go down this table, find the next object to display and when you get to it's column start taking data from flash and spitting it out to the display.

You can also incorporate vector drawing, including lines, polygons, circles, etc. The math is a bit tricky to understand at first, but it's quite interesting and fun once you understand how to draw vector objects on a raster display without a buffer.

Your fonts, buttons, graphics, etc would mostly be static objects stored in flash, with some ram set aside for custom objects.

Overall, it would feel very limiting if you're used to computer graphics where you set pixels, but if you plan ahead and carefully design your interface your users will not notice the difference, and you may actually find it's easier to develop for.

If you add a little more logic that allows overlapping objects to be combined in interesting ways (add, subtract, or, xor, and, etc on a per-pixel basis) then you can create very sophisticated graphics with many pre-generated graphic objects and vector objects.

Alternately just make the entire display vector - with each line consuming 7 bytes of memory you can draw over ten thousand lines on the display. Circles require less information (x, y, radius, color) so you can draw many more of them. Careful and creative use of vectors can give you very sophisticated and interesting graphics.

Or you can emulate a memory buffer using the flash. Define areas of the display (windows) where information will be changed frequently, and store those in RAM. Write the rest of the display graphics to flash (which you can re-write 3 times a day if you only need the unit to last for 10 years). With careful partitioning you might find that you use very little RAM and still get everything you need in terms of graphics, rapid updates, and eye candy.

And all that will only cost you $10 for another PIC32 (and countless hours of development time). $5 in quantity.



I'll have to add that to my list of projects that would be fun to do...

-Adam
RE: LCD Display
7/19/08 1:26 PM as a reply to stienman .
or you can use an actual controller chip with ram for about 20 bucks...
RE: LCD Display
7/19/08 1:31 PM as a reply to radioruler .
I agree with you, it is a shame that DK does not have anything reasonably priced on this department.

Check this one out:New Heaven Display

I found another company with similar ones at ~$50/qty=1 but can't find the link now:-(

Please DK !!!! listen to us !!!

Regards
RE: LCD Display
7/19/08 4:28 PM as a reply to jamodio .
Jorge;

I sure hope DK comes up with something really quickly.

Here are a couple of more links for you...

http://www.alibaba.com/countrysearch/CN-suppliers/TFT_LCD_Module.html

http://www.techtoys.com.hk

plus the display used on the eflightworks demo board...

http://www.sparkfun.com/commerce/product_info.php?products_id=569#

Radioruler
RE: LCD Display
7/20/08 11:26 PM as a reply to jamodio .
BTW

Digi_Key has this one (without the touch panel) in their catalog
NHD-2.4-320240KE-CTXI#-ND 50 $56.25000

It is a non-stock item and the price is for quantity 50
Who knows what price they would apply towards the BOM since it is based on quantity one.

regards;
RE: LCD Display
7/21/08 11:23 PM as a reply to radioruler .
radioruler .:
BTW

Digi_Key has this one (without the touch panel) in their catalog
NHD-2.4-320240KE-CTXI#-ND 50 $56.25000

It is a non-stock item and the price is for quantity 50
Who knows what price they would apply towards the BOM since it is based on quantity one.

regards;


the NHD-2.4-320240KE-CTXI#-ND seem really nice.

The connector has a small pitch. That is going to be a pain to make a proto with it.

I have look a the datasheet
http://www.newhavendisplay.com/pdf/nhd-24-240320yf-ctxi-t.pdf

The schmatic is going to be easy to make. Using the 8 bit control.

Here is the controller spec ILI9320.
http://www.aplus-sa.com/datasht/ILI9320.pdf

That is insane!

This is work checking
http://www.techtoys.com.hk/Displays/TY320T240320/TY320T240320.htm



They give the source code for the PIC18 and PIC24 in C18!

You all own me a beer!!


This is how you sell stuff. You make our life easy and then we buy!

they have a lot of cool stuff!
http://www.techtoys.com.hk/PIC_boards/PIC24-Eval-B2/PIC24-Eval-B2_RevB.htm]
RE: LCD Display
7/22/08 1:15 AM as a reply to Robomaniac .
one problem is that Techtoys display you mentioned is SOLD OUT
RE: LCD Display
7/22/08 1:23 AM as a reply to radioruler .
we can get the part from digikey NHD-2.4-320240KE-CTXI#-ND
They can probably remove the price break of 50.

We have the schematic and eveything else. You simply build it!

you can buy it from them too
http://www.skpang.co.uk/catalog/product_info.php?products_id=268
RE: LCD Display
7/22/08 1:55 AM as a reply to Robomaniac .
out of stock with digikey.

eBay, here I come!
RE: LCD Display
7/22/08 3:39 AM as a reply to Robomaniac .
Alright, here's your beer.

They have another one of the same series at Digi-key has the touchscreen. 2.4" display with the built in controller. Close to what I'm looking for also but the controller is not supported by the graphics library and a bit smaller. If they have C examples for the other processors then sounds like this is the best bet unless they get something else in stock soon.

NHD-2.4-240320YF-CTXI#-T-ND

Thanks for the info!
RE: LCD Display
7/24/08 1:02 AM as a reply to rathergood .
HAHAHA! Very good!

I would love this rectangular size LCD for all type of project. Plus the touch screen make it even cooler!

I would be willing to try one. I have the hardware skills and some good knowledge in software but not the best.
That is what I am trying to pratice.

I hope to see some news from digikey
RE: LCD Display
7/24/08 3:31 PM as a reply to Robomaniac .
Newheaven seems to have various models available for purchase directly from
their website, including the one listed by DK (2.4" for $45.50).

My .02
RE: LCD Display
7/28/08 1:29 AM as a reply to jamodio .
Hello,

Still the Purpose is not solved.
We would require to have a dedicated PIC32 to control these LCD.
Unlike thePICTail Graphics Board or the 2.8" QVGA from Techtoys.

I require to find some thing quick else my BOM is skyrocketing.

Thanks for your help everyone,

Best of Luck,
RE: LCD Display
7/28/08 3:51 PM as a reply to boseji .
The Newheaven display is listed by DK but you can buy it directly from Newheaven.

The rules don't say that you have to *buy* everything from DK, just whatever component
you add to your design and include in the BOM has to be *listed* by DK.

The Newheaven display has a ILI9320 controller that will let you interface with the MCU
with 8/16 bits similar to the Graphics PICTail, I believe this is the same controller on the
display sold by TechToys and they tested it with the Graphics Library.

I ordered one to play with and test with the MCHP Graphics Library.

My .02
RE: LCD Display
7/29/08 11:32 PM as a reply to jamodio .
Hello jamodio ,

Can you please mention a link for the display you are talking about - from Newheaven ?
Since most of the links in the above posts show sold-out or out of stock.
Also from your previous post I checked the NHD-2.4-240320YF-CTXI display. It has the controller ILI9320 as you mentioned.
The only problem is soldering to the pins since its too small. Please let me know how to overcome this disadvantage.

Thanks for the Help,

Best of Luck!!
RE: LCD Display
8/21/08 4:27 AM as a reply to radioruler .
on ebay i found this display:
BRAND NEW SAMSUNG 3.5" TFT LTV350QV-F0G LCD DISPLAY, it's only 25$ from ReTekDirect (http://stores.ebay.com/ReTekDirect)

BR,
Alex
RE: LCD Display
8/21/08 4:42 AM as a reply to protektwar .
Great prices, but contest parts must be available through Digi-Key. I'll keep this in mind for my next project
RE: LCD Display
8/29/08 11:14 AM as a reply to emcniece .
Are you sure about this ?
RE: LCD Display
8/29/08 4:32 PM as a reply to protektwar .
protektwar:
Are you sure about this ?
]

Yes that is right. You don't have to buy them from digikey, but the item does have to be listed on their online catalog.
RE: LCD Display
9/1/08 2:21 PM as a reply to bmorse .
Hello,

Has any one tested the NHD-2.4-240320YF-CTXI LCD.
I have a big confusion on the Controller inside it.
Since when I ckecked it out it used to show ILI9320 but now the specs say its HX8347.
Well I have some code sent by New Heaven Displays.

Thinking if I am lucky enough to get it working.

Please let me know if any body has tried it out yet.

Thanks,

Boseji
RE: LCD Display
9/3/08 8:49 AM as a reply to bmorse .
Excellent!
thanks!
RE: LCD Display
9/3/08 2:10 PM as a reply to boseji .
Hello,

I have started to solder the LCD. Here is a picture:



Hope that I would be able to assemble it soon with the IO card. I will post the update as soon as I am done.

Best of Luck,

Boseji
RE: LCD Display
9/7/08 4:32 PM as a reply to boseji .
Hi boseji,
I look forward to hearing how you come along with your tests. I tried and tried to get it to work and finaly last week sent mine back to Newhaven to determine if my unit was functional or not.

For background:
1. I have successfully used the Techtoys display with myPIC32 prototype and completed the demo (ILI9320)
2. with that success in mind I tried the same code with the NHD2.4-240320YF display--no luck only backlight
3. Obtained initialization code example from Newhaven (different than that used for Techtoys display) - still no luck
4. Found new Newhaven displays were using the HX controller, verified by p/n that mine was not a new one and still used the ILI9320
5. Found out from Newhaven that the display is defaulted to only communicate in 16 bit mode (IM0 is grounded internally although the documentation says otherwise). You can verify this by looking at the lack of a trace connection on the IM0 pin.
6. Returned my display for verification of operation to Newhaven--no word yet on its health.

I've attached a copy of some pictures of my NHD setup (yours looks cleaner, did you make your own protoboard for the 0.8mm spacing?)

This display looks like a great solution for this contest, meets all the rules (although you have to buy them from Newhaven) since they are listed on the Digikey site (but actually not available unless you want to buy 50 of them :-p).

If you are successul in getting the display to work, I would love to have a copy of your intialization code :-).

Best Regards,
-Eric





Attachments: IMG_5844_small.jpg (43.8k), IMG_5846_small.jpg (45.6k), IMG_5862_small.jpg (66.0k), IMG_5863_small.jpg (62.0k), Connector detail #1 (pin 11).jpg (32.3k)
RE: LCD Display
9/6/08 12:08 AM as a reply to ohmite .
Hello,

Thanks a lot for the Update. Now I can be doubly careful in doing my interfacing.
I received the LCD in the beginning containing the HX controller. So I guess it wouldn't be the old controller.
I am still not sure of the controller inside since they are not explicitly telling me on that.
Also the code for the Interfacing of this LCD is available with me.
This code was written for 8051 and probably I require to slow down the PIC32 to 8051 speed I mean 1MHz or so to get the LCD working.
Well I will give it a shot and post the code in the code section of my project.

Like you I have also ordered the TechToy's LCD also , just to have a fall back solution available.
This has not reached me yet so I would not able to decide on that.

I have not soldered the LCD to the Pins yet, once done I will inform you along with some pictures of my setup also.

Thanks again for you help,

Boseji
RE: LCD Display
9/6/08 2:07 AM as a reply to boseji .
Hello boseji,
The following key was sent to me by the Newhaven tech rep:

The different controllers are noted by the -1 part number on the small Newhaven Display logo:
NHD-2.4-240320YF-CTXI# = ILI9320
NHD-2.4-240320YF-CTXI#-T = ILI9320

NHD-2.4-240320YF-CTXI#-1 = HX8347
NHD-2.4-240320YF-CTXI#-T-1 = HX8347

Using this it should tell you which controller you have.

I tried slowing the the PIC down quite abit, but it still didn't seem to help. Please let us know when you get your display up and running successfully.

Best of luck,
-Eric
RE: LCD Display
9/7/08 1:00 AM as a reply to ohmite .
I need to interface a 3.3 volt 2 line by 16 character LCD display for my application using the PMP interface and the HD44780 controller. I tried a standard 5 Volt LCD Display but it would not work. Does anyone know of any 3.3 Volt LCD Displays that can be interfaced to the PIC32 sold By Digikey?
RE: LCD Display
9/7/08 1:40 AM as a reply to tswift .
See here http://www.mypic32.com/web/guest/forums/message_boards/message/81381#_19_message_81381

There is a link to microchip where you get information about shift level 3.3 to 5 volts.may help you.

I don´t see lcd 3.3 volts
RE: LCD Display
9/7/08 3:10 AM as a reply to tswift .
tswift:
I need to interface a 3.3 volt 2 line by 16 character LCD display for my application using the PMP interface and the HD44780 controller. I tried a standard 5 Volt LCD Display but it would not work. Does anyone know of any 3.3 Volt LCD Displays that can be interfaced to the PIC32 sold By Digikey?
]

Do you really need to use PMP for a 16x2 character LCD ? Unless I am missing something here, this may not be needed. Can't you have a 5v source, use a 5v HD44780 or compatible LCD and wire it to 5v tolerant GPIO ? You can find code for this easily. You should be able to do this with as little as 2 pins.

In case the PIC32 is not able to drive the 5v (TTL) logic. You can use a simple buffer using 74HCT244.

Look at http://home.iae.nl/users/pouweha/lcd/lcd.shtml for some information.

HTH.

- Rajesh KC
RE: LCD Display
9/7/08 3:23 AM as a reply to ohmite .
Eric / Abhijith

Any particular reason for using the Newhavens or Techtoys displays? I strongly feel that both are the same. May be the controllers are different.

My question is why you did not use the Microchip Graphics Pictail. The integration to the IO expansion board is straight forward and is tested with the Microchip Graphics library. This would have a made a robust and supported choice for your design. I also notice that the Microchip board bring out both the controller and the LCD pins on headers. This is good because you could use this for prototypes that don’t need the IO expansion board too and since the LCD pins are on headers you could use the same board for working with instances where the controller is not needed (there are some cool micros out there that have LCD support built in)

I don’t think the low cost of the Newhavens display makes sense when you have to buy an additional display from Techtoys. Add up the costs of both the LCD, shipping and any taxes or duties. For the NHD display you need to source the connector and backlight voltage source or spend a lot of time on the soldering.

May be you both wanted to take on the challenge of doing something different?


- Rajesh KC
RE: LCD Display
9/7/08 4:33 AM as a reply to picr .
Hi,

Well you are right about the last part.

I am presently soldering the LCD and soon will post an update on what I have cooked up.

Best of Luck,

Boseji
RE: LCD Display
9/7/08 12:48 PM as a reply to picr .
picr,
For me, there are three prime motivations:
1. The Graphics PICTail board is a significant part of the $400 BOM total allowed (listing for $135 on Digikey), at this point, this seems too large of a percentage to justify its use.
2. The learning associated with doing something new, especially when the result is a full color, reasonably sized display with touchscreen for future projects for the price of $50.
3. The choice of eligible displays from Digikey is very sparse, the Newhaven display meets all of the requirements for this contest (specifically it is listed on the Digikey site) and is reasonably priced.

I purchased the TechToys display to gain experience with a known quantity which has the same controller as the Newhaven display, thinking the code would port directly, unfortunately I have found they are not equivalent and at the moment my Newhaven display is back at the supplier with no word on its health yet. Also, sadly the TechToys display is not eligible for this contest.

Regards,
-Eric
RE: LCD Display
9/7/08 7:42 PM as a reply to ohmite .
Hello,

My Display is Working.
I am rejoicing since I not only saved some cost but also made good for others.

Newhavens TFT LCD: NHD-2.4-240320YF-CTXI#-T-1 (2.4" Display with Touch Screen)

Controller : HX8347 (Nearest Equivalent ILI9325DS but still to be Verified)

Link to my Video at YouTube

I am now able to init the Display and Fill it with colors.
I would be trying next to figure out a way to access the control codes of this display.
Till then many, please feel free to use code posted in my Project's Source Code Section.

Please post any improvements if any one comes across.

Best of Luck,

Boseji
RE: LCD Display
9/7/08 9:28 PM as a reply to boseji .


Real Cool. Congrats on getting the display going.

Do you rally need the TI chip ? You could try to use the ADC of the PIC32 to read the touch screen values.

Look at the Techntoys examples for ideas.

I am happy for you.

- Rajesh K C

RE: LCD Display
9/7/08 11:05 PM as a reply to boseji .
Hello boseji
Congratulations!! Fantastic, I am very impressed. I hope I can get mine working when I get it back from Newhaven. I will look at your code and try to see how it differs from mine, maybe I can figure out why I could not get mine to work, although my display had the ILI9230 controller.

The nice thing about using the ADS7846 chip (as on the Techtoys display) is it has the A/D built in, has an spi interface and several other nice features like a pen irq discrete that relieve you of some of the overhead.
Best Regards,
-Eric
RE: LCD Display
9/7/08 11:49 PM as a reply to boseji .
Great job!
RE: LCD Display
9/8/08 2:46 AM as a reply to ohmite .
Hello,

Thanks everyone for your Support,

I am facing problems with keeping the PBCLK low(20MHz). Since I require it for my other peripherals. This makes the Display transition slow. But it might be okay in my case since I have a simple GUI.

Another problem is the HUGE amount of ram it would take to make each of the screens in a Dual Buffer. First of all I wont be able to make it since I don't have sufficient ram in the PIC32. But I will try to figure that out from the Microchip's Graphics lib or use the Run Length Encoding technique.

I will keep posting my findings as soon as I get across.

Well has any one looked into the Data sheet issue of the HX controller. Since I only have a init sequence and an Appnote for it.
But I am not sure if ILI9325DS <=> HX8347 would workout. I will try to match the command codes as given in the datasheet of ILI9325 with the one's that I got from Newhaven. I have the both the PDFs and if required I will post in my website - link it here.

Thanks again,

Boseji
RE: LCD Display
9/8/08 7:42 PM as a reply to boseji .
Hello,

I have now downloaded the Datasheet for the HX8347. Its quite a good controller and has window drawing mode - Just the one I required.
Well I will post the Updates as soon as I figure out the controls on the LCD.

Best of Luck,

Boseji
RE: LCD Display
9/9/08 1:33 AM as a reply to boseji .
boseji:


I would be trying next to figure out a way to access the control codes of this display.
Till then many, please feel free to use code posted in my Project's Source Code Section.

]

boseji,
Have you updated your code source? I down loaded your latest, but it doesn't appear to have the initialization code you discussed.
I had hoped to compare it with mine.
Thank you in advance.
Regards,
-Eric
RE: LCD Display
9/9/08 2:37 AM as a reply to ohmite .
Hello,

I am attaching the project zip here so that you can directly download. (It is there in the 09_LCD1 directory if you un-archive my project source code)
Also don't forget to use the Global.h since it contains the config definitions.
Please let me know in case you are having trouble.

Best of Luck,

Boseji
Attachments: code.zip (10.4k)
RE: LCD Display
9/28/08 10:26 PM as a reply to boseji .
Hello boseji,
Thank you for your post of your code. I am still waiting for my display to be returned. I just found out that my original unit was inoperative and they are replacing it with a new one (with the HX controller), hopefully it will come this week.

In the meantime I have been playing with the Techtoys display. I have just implemented Microchip's GOL demo, but all graphics are in the portrait mode.

Are you able to display graphics in the Landscape mode? If so, how did you implement this? I have tried commenting out the USE_PORTRAIT definition and changed the scan directoins (in the ILI9230 register 03h) and it still displays in the portrait mode.

Problem solved

UPDATE: A helpful poster on Microchip's forum pointed out that Techtoys provided a landscape driver. I have implemented it and it is now working.
Specifically the 03h register does need to be modified, other functions which calculate the address of each pixel must be modified as well.

Regards,
-Eric
RE: LCD Display
9/28/08 11:43 PM as a reply to ohmite .
Hello Eric,

Good to hear that. Well I have been busy with my other hardware.
Also what ever I had ordered from TechToys I was not able to get it since it is still stuck at the customs.
But as I told now I have a working source from the ezCircuits site along with the data sheet.
So I hope that if allowed into the next phase I would surely able to make things work. For now I am sticking to changing colors and patterns.
In case if you require any of those codes , data sheet or the project details, please let me know.

I don't know if I would get through to the second phase.
There is a saying in my language:
Yesterday is History,
Tomorrow is mystry,
But Today is a gift that's why we call it Present !!


So, one thing is for sure I would be able to know a lot of things that I imagined.
And have lots to fun.

Thanks,

Boseji
RE: LCD Display
10/8/08 1:19 PM as a reply to ohmite .
Just incase anyone is looking at using the New Haven 2.4in display with touchscreen. Digikey is now selling them in quanties of 1 for $45.50 .
Here is a link: http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=NHD-2.4-240320YF-CTXI%23-T-1-ND
This newer unit uses the HX8347 controller.
Regards,
-Eric
RE: LCD Display
10/15/08 11:07 AM as a reply to ohmite .
Hi,

Even now the stocks for the NHD-2.4-240320YF-CTXI#-T-1-ND are available.
So I think we can certify to one of the BOM criteria that the listed item should be available in digi-key at least once during the contest.

I am still trying to figure out the way to invert the images that I produce.
In HX8347 we can only change the memory refresh pattern so Landscape & portrait overhead comes on the micro.
I am trying to go for only one mode Landscape since its most suitable for my application. I will post my first driver soon.

Best of Luck,

Boseji
RE: LCD Display
10/29/08 1:23 AM as a reply to ohmite .
Hi Eric ,

Congratulations we Made !!

Well I tried to Port the Driver available from ezCircuits. It turned out to be for ILI9325 and not the HX one.

Just for the Info which is the Display presently in your design?
Please let me know.

Best of Luck,

Boseji
RE: LCD Display
10/29/08 3:09 PM as a reply to boseji .
Hi Boseji,
Yes we made it! Congratulations to you and the 31 others who also make it!

Now comes the harder task, getting the software to play together....

The display I am using right now is the Techtoys display, it uses the same ILI9230 controller that the Newhaven display uses (since I had a failed Newhave unit, I used something that should be compatible). Now that I've made it to the next round, I'm working on the updates necessary for the HX controller in the newer Newhaven units (I now have one of each). I have a new breakout board that I'm going to try, its better than the one I made previously.

I'll post a copy of the driver code when I get it working, hopefully it will be of some help to you.

Regards,
-Eric
RE: LCD Display
11/9/08 12:57 PM as a reply to ohmite .
Hi Eric,

I have been able to make Get pixel and Put pixel functions working on my LCD.
Also found the way in which we read the pixel data from the HX8347.

I have attached the files here. Have a look.

Best of Luck,
Boseji
Attachments: LCD09NOV08.zip (4.4k)
RE: LCD Display
11/12/08 2:26 AM as a reply to boseji .
Hi,

I have been able to port the driver for HX8347 partially to the Microchip Graphics Library.
Have a look at my project video that I have loaded recently.
This is Some part of the Primitives demo running on my board.

The next task is to port the Bitmap routines and then I will publish the driver source code along with the Primitives demo on my website.

Please let me know your comments.

Best of Luck,

Boseji
RE: LCD Display
11/17/08 12:40 AM as a reply to boseji .
Hi,

I have finished porting the graphics driver for HX8347. The compatible Driver file for the Microchip Graphics lib is attached.

Unfortunately though I found that my Touch Screen of my display got damaged.
So I would be shifting my driver to ILI9325 for my new LCD.

Please give your feedback on this driver.

Regards,
Boseji
Attachments: HX8347.zip (6.1k)
RE: LCD Display
2/10/09 10:35 PM as a reply to boseji .
hi, i have buy this lcd display:TM240320C1NFWGWC (Controller: ILI9325). where i find the microchip driver for this controller? can you help me?
thanks for all Carlolauri
RE: LCD Display
2/10/09 11:41 PM as a reply to carlo .
Hello,

Microchips gives certain standard architectures for the development of the Drivers for its GUI Framework. But it doesn't include the ILI9325 driver.
Have a look at the Techtoys.com.hk Display code for their 2.8" 262k TFT Color LCD. This code has been ported for the Microchip's Graphics Lib. I too have the code for this driver, but mine is specific to a simpler UI system in FreeRTOS. I have attached the files have a look.

Warm Regards,
Boseji
Attachments: ILI9325source.zip (16.3k)
RE: LCD Display
2/26/09 3:12 PM as a reply to boseji .
Hi,

Any one interested to make up the FreeRTOS port for the Microchip's Graphics Library.
I think it would be a great learning experience.

Please let me know.

Warm Regards,
Boseji
RE: LCD Display
3/10/09 10:05 AM as a reply to boseji .
Hello,

Can i use winstar WF57BTIBCDA# or WF35DTIBCDA# TFT LCDs with the PIC32 graphics library? It looks support to 8-bit interface.
datasheets attached.

URL: www.winstar.com.tw

best regards,
baris
Attachments: WF57BTIBCDA#.pdf (772.3k), WF35DTIBCDB#.pdf (779.9k)
RE: LCD Display
3/15/09 9:56 AM as a reply to baris .
Hi,

At present there is no port for the FSA506 & HX8238-A Graphics chip in the Microchip's Graphics library.
However the initialization code(Section 10) for FSA506 provided can help you to get across.
Also the FSA506 looks more like the ILI9325 but with an 8bit interface.

I am interested in the Graphics driver for this two chips.
If you can post the Data sheet of the HX8238 ,
then I can tell you more on how you can get the MCHP lib working.

Kindly let me know if you are interested in this development.

Warm Regards,
Boseji
touch screen display problem
9/9/09 9:00 AM as a reply to radioruler .
hi.i read 1 ov urz lcd post.the problem is i have pic32 usb plus board and graphics pictailboard connected to i/o expansion board.touchscreen is not working.touch screen is TFT-G240320UTSW-92W-TP-E and i m running demo programme graphics AN1136,any help for hardware and software changes
touch screen problem
9/9/09 9:01 AM as a reply to boseji .
hi.i read 1 ov urz lcd post.the problem is i have pic32 usb plus board and graphics pictailboard connected to i/o expansion board.touchscreen is not working.touch screen is TFT-G240320UTSW-92W-TP-E and i m running demo programme graphics AN1136,any help for hardware and software changes
touch screen problem
9/9/09 9:02 AM as a reply to jedetech .
hi.i read 1 ov urz lcd post.the problem is i have pic32 usb plus board and graphics pictailboard connected to i/o expansion board.touchscreen is not working.touch screen is TFT-G240320UTSW-92W-TP-E and i m running demo programme graphics AN1136,any help for hardware and software changes
RE: touch screen problem
4/8/10 8:33 AM as a reply to umergeorge athlas .
Hello,

Let me know your Display Controller or post the datasheet link.

Warm Regards,
Boseji
RE: touch screen problem
12/6/10 5:31 PM as a reply to boseji .
Hello

I used PIC32 starter kit to control ILI9325 LCD driver. I am still newbie to control PMP port, I only have experience to control using spi..
I use the applicationNote ILI9325 to set the configuration, like below
LCD_CMD(0xE3); LCD_DATA(0x3008);
LCD_CMD(0xE7); LCD_DATA(0x0012);
LCD_CMD(0xEF); LCD_DATA(0x1231);
LCD_CMD(0x01); LCD_DATA(0x0100);
LCD_CMD(0x02); LCD_DATA(0x0700);
LCD_CMD(0x03); LCD_DATA(0x1030);
LCD_CMD(0x04); LCD_DATA(0x0000);
LCD_CMD(0x08); LCD_DATA(0x0207);
LCD_CMD(0x09); LCD_DATA(0x0000);
LCD_CMD(0x0A); LCD_DATA(0x0000);
LCD_CMD(0x0C); LCD_DATA(0x0000);
LCD_CMD(0x0D); LCD_DATA(0x0000);
LCD_CMD(0x0F); LCD_DATA(0x0000);
LCD_CMD(0x10); LCD_DATA(0x0000);
LCD_CMD(0x11); LCD_DATA(0x0007);
LCD_CMD(0x12); LCD_DATA(0x0000);
LCD_CMD(0x13); LCD_DATA(0x0000);
Delayms(200);

LCD_CMD(0x10); LCD_DATA(0x1490);
LCD_CMD(0x11); LCD_DATA(0x0227);
Delayms(50);

LCD_CMD(0x12); LCD_DATA(0x001C);
Delayms(50);

LCD_CMD(0x13); LCD_DATA(0x1A00);
LCD_CMD(0x29); LCD_DATA(0x0025);
Delayms(50);

LCD_CMD(0x2; LCD_DATA(0x000C);
Delayms(50);

LCD_CMD(0x20); LCD_DATA(0x0000);
LCD_CMD(0x21); LCD_DATA(0x0000);

LCD_CMD(0x30); LCD_DATA(0x0000);
LCD_CMD(0x31); LCD_DATA(0x0506);
LCD_CMD(0x32); LCD_DATA(0x0104);
LCD_CMD(0x35); LCD_DATA(0x0207);
LCD_CMD(0x36); LCD_DATA(0x000F);
LCD_CMD(0x37); LCD_DATA(0x0306);
LCD_CMD(0x38); LCD_DATA(0x0102);
LCD_CMD(0x39); LCD_DATA(0x0707);
LCD_CMD(0x3C); LCD_DATA(0x0702);
LCD_CMD(0x3D); LCD_DATA(0x1604);
LCD_CMD(0x50); LCD_DATA(0x0000);
LCD_CMD(0x51); LCD_DATA(0x00EF);
LCD_CMD(0x52); LCD_DATA(0x0000);
LCD_CMD(0x53); LCD_DATA(0x013F);
LCD_CMD(0x60); LCD_DATA(0xA700);
LCD_CMD(0x61); LCD_DATA(0x0001);
LCD_CMD(0x6A); LCD_DATA(0x0000);
LCD_CMD(0x80); LCD_DATA(0x0000);
LCD_CMD(0x81); LCD_DATA(0x0000);
LCD_CMD(0x82); LCD_DATA(0x0000);
LCD_CMD(0x83); LCD_DATA(0x0000);

LCD_CMD(0x84); LCD_DATA(0x0000);
LCD_CMD(0x85); LCD_DATA(0x0000);
LCD_CMD(0x90); LCD_DATA(0x00010);
LCD_CMD(0x92); LCD_DATA(0x0600);

LCD_CMD(0x07); LCD_DATA(0x0133);

First step, i just want to fill the colour on my full LCD in correct colour. But it does not work, my LCD only blink with white colour and turned off again,
I do not know what is wrong with it ,..
Could you please tell me the basic how to control it ?..

Help..
Thanks,

Hendry
RE: touch screen problem
12/11/10 9:17 AM as a reply to hendry .
Hello,

Have a look at my previous driver posts:
ILI9325 driver

Warm Regards,
Boseji