Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
W8TEE TFT /VFO BOARD - WHICH DISPLAY?
Jack,
I have been experimenting while waiting for my remaining few parts to arrive. I purchase a 2.8 inch tft display ( it says mcufriends.com on it) It has appears to have the correct pins / jacks etc. The problem is I thought I would try to find an example to test if the TFT works. Well, I tried several but only get a white screen. ?I used a uno and attached the tft to - as pins match ...tried other sketches - still only a white screen I tried other arduino, atmega 2560 and adjusted the pins accordingly , same results, they compile and upload but nothing but a white screen. 1. Do you have an exact source where you purchased your display? 2. Any guidance to further test my current display? 3. The photo below is my current display.. Any help would be appreciated Joe VE1BWV |
||
Vince Vielhaber
Go to www.arduino.cc and do a search for MCUFRIEND_kbv. That driver should work.
toggle quoted message
Show quoted text
Vince. On 06/12/2017 09:16 PM, Joe wrote:
Jack, --
Michigan VHF Corp. |
||
I have the??MCUFRIEND_kbv library loaded and it compiles with some ino examples but only white screen. Joe On Mon, Jun 12, 2017 at 10:27 PM, Vince Vielhaber <vev@...> wrote: Go to and do a search for MCUFRIEND_kbv.? That driver should work. |
||
Vince Vielhaber
Go to the examples for the library and run the LCD_ID example. Have a serial monitor window open and see what they ID it as, if they do.
toggle quoted message
Show quoted text
Vince. On 06/12/2017 09:29 PM, Joe wrote:
I have the MCUFRIEND_kbv library loaded and it compiles with some ino --
Michigan VHF Corp. |
||
I ran it ?before. It suggests trying ?the defined option One resulted in ?id =0 and? when I tried the other option the id said ?id =8989 tft =240 x320 On Mon, Jun 12, 2017 at 10:34 PM, Vince Vielhaber <vev@...> wrote: Go to the examples for the library and run the LCD_ID example.? Have a serial monitor window open and see what they ID it as, if they do. |
||
Vince Vielhaber
ok, before the line tft.begin(g_identifier) put
toggle quoted message
Show quoted text
g_identifier = 0x8989; and see if it runs. You may need to check on the arduino forum for other possible values. I didn't see a chip number in the pic you posted. Vince. On 06/12/2017 09:46 PM, Joe wrote:
I ran it before. --
Michigan VHF Corp. |
||
Jack Purdum
Do you have the latest Adafruit graphics library installed? Around line 1334 is the line: ? g_identifier = tft.readID(); ? ?// Get TFT ID ?3.95" = 0x9486, 3.6" = 0x9488 put these lines after it: ? Serial.print("g-ID = "); ? Serial.println(g_identifier, HEX); and see if the ID is in the program. If your number does not appear in the switch/case block (lines 1336-1460), the code by default assumes the display is a 0x154 or 0x9341. If it is not one of those, try changing g_identifier to 0X9488 and see if that works. Jack, W8TEE From: Joe <joeman2116@...> To: [email protected] Sent: Monday, June 12, 2017 9:46 PM Subject: Re: [BITX20] W8TEE TFT /VFO BOARD - WHICH DISPLAY? I ran it ?before. It suggests trying ?the defined option One resulted in ?id =0 and? when I tried the other option the id said ?id =8989 tft =240 x320 On Mon, Jun 12, 2017 at 10:34 PM, Vince Vielhaber <vev@...> wrote: Go to the examples for the library and run the LCD_ID example.? Have a serial monitor window open and see what they ID it as, if they do. |
||
Jack Purdum
None of my displays have those extra pins on the left side of the display. Also, all of mine are sort of a red-orange color: ![]() Jack, W8TEE From: Joe <joeman2116@...> To: [email protected] Sent: Monday, June 12, 2017 9:17 PM Subject: [BITX20] W8TEE TFT /VFO BOARD - WHICH DISPLAY? Jack, I have been experimenting while waiting for my remaining few parts to arrive. I purchase a 2.8 inch tft display ( it says mcufriends.com on it) It has appears to have the correct pins / jacks etc. The problem is I thought I would try to find an example to test if the TFT works. Well, I tried several but only get a white screen. ?I used a uno and attached the tft to - as pins match ...tried other sketches - still only a white screen I tried other arduino, atmega 2560 and adjusted the pins accordingly , same results, they compile and upload but nothing but a white screen. 1. Do you have an exact source where you purchased your display? 2. Any guidance to further test my current display? 3. The photo below is my current display.. Any help would be appreciated Joe VE1BWV |
||
TFT LCD test Using Adafruit 2.8" TFT Breakout Board Pinout TFT size is 240x320 Unknown LCD driver chip: 8989 If using the Adafruit 2.8" TFT Arduino shield, the line: ? #define USE_ADAFRUIT_SHIELD_PINOUT should appear in the library header (Adafruit_TFT.h). If using the breakout board, it should NOT be #defined! Also if using the breakout, double-check that all wiring matches the tutorial. On Mon, Jun 12, 2017 at 10:56 PM, Vince Vielhaber <vev@...> wrote:
|
||
Vince Vielhaber
Are you referring to the empty holes? They use the same board in one of their other displays that only uses those pins on the Mega 2560. I have one that also has a touch screen that uses just about the entire connector on the 2560 and doesn't have the ones in the side. I think it's a 3.5" touch screen.
toggle quoted message
Show quoted text
Vince. On 06/12/2017 10:08 PM, Jack Purdum via Groups.Io wrote:
None of my displays have those extra pins on the left side of the --
Michigan VHF Corp. |
||
Vince Vielhaber
Is it defined?
toggle quoted message
Show quoted text
Vince. On 06/12/2017 10:12 PM, Joe wrote:
TFT LCD test --
Michigan VHF Corp. |
||
I wired the display up to a atmega 2560 ran your pgm and the serial said: Serial took 0ms to start ID = 0x1289 100 Hz On Mon, Jun 12, 2017 at 10:59 PM, Jack Purdum via Groups.Io <econjack@...> wrote:
|
||
Jack Purdum
Comment out line 1334 and change it: 1334 ???// g_identifier = tft.readID(); ? ?// Get TFT ID ?3.95" = 0x9486, 3.6" = 0x9488 1334 ? ? g_identifier =?0x1581; and see what happens. This forces it to assume the non-default parameters. Jack, W8TEE From: Joe <joeman2116@...> To: [email protected] Sent: Monday, June 12, 2017 10:24 PM Subject: Re: [BITX20] W8TEE TFT /VFO BOARD - WHICH DISPLAY? I wired the display up to a atmega 2560 ran your pgm and the serial said: Serial took 0ms to start ID = 0x1289 100 Hz On Mon, Jun 12, 2017 at 10:59 PM, Jack Purdum via Groups.Io <econjack@...> wrote:
|
||
?//g_identifier = tft.readID(); ? ?// Get TFT ID ?3.95" = 0x9486, 3.6" = 0x9488 ? g_identifier = 0x1581; ? switch (g_identifier) { no change ?still white screen...? On Mon, Jun 12, 2017 at 11:29 PM, Jack Purdum via Groups.Io <econjack@...> wrote:
|
||
Jack Purdum
Well, that's about all the tricks I can control. See if you can find a driver for that board somewhere. If the vendor has demo code that runs, ask for that to see how they got it to run. Jack, W8TEE From: Joe <joeman2116@...> To: [email protected] Sent: Monday, June 12, 2017 10:37 PM Subject: Re: [BITX20] W8TEE TFT /VFO BOARD - WHICH DISPLAY? ?//g_identifier = tft.readID(); ? ?// Get TFT ID ?3.95" = 0x9486, 3.6" = 0x9488 ? g_identifier = 0x1581; ? switch (g_identifier) { no change ?still white screen...? On Mon, Jun 12, 2017 at 11:29 PM, Jack Purdum via Groups.Io <econjack@...> wrote:
|
||
just did a wiring checking: display ? ? ? ? ? ?atmega ? ? ? ? ? ? LCD ?reset to A4 ? ? ?? LCD cs ?to A3 LCD rs ?to A2 LCD wr to A1 LCD rd to A0 power ?to power 5 power3.3 to 3.3 gnd to gnd ?DISPLAY LCD D2 - D2 ATMEGA LCD D3 ?- D3 LCD D4 - D4? LCD D5 - D5 LCD D6 - D6 LCD D7 ?- D7 LCD D0 - ?D8 LCD D1 - D9 On Mon, Jun 12, 2017 at 11:37 PM, joe basque <joeman2116@...> wrote:
|
||
Ok thanks... TFt can be a pain... always a driver issue.. Will order another and wait to see if that works.. On Mon, Jun 12, 2017 at 11:40 PM, Jack Purdum via Groups.Io <econjack@...> wrote:
|
||
Vince Vielhaber
Go on the arduino forum and find the thread for the MCUFRIEND_kbv library. The guy that keeps it up to date is on that thread and can tell you how to set it up. Also make sure you have the latest version of the library.
toggle quoted message
Show quoted text
Vince. On 06/12/2017 10:48 PM, Joe wrote:
Ok thanks... TFt can be a pain... always a driver issue.. --
Michigan VHF Corp. |
||
just ordered this one: 3.5 inch TFT LCD Display Touch Screen UNO R3 Board Plug and Play Module Arduino On Mon, Jun 12, 2017 at 11:54 PM, Vince Vielhaber <vev@...> wrote: Go on the arduino forum and find the thread for the MCUFRIEND_kbv library.? The guy that keeps it up to date is on that thread and can tell you how to set it up.? Also make sure you have the latest version of the library. |
||
Jack Purdum
The guy's name is David Prentice and he knows everything about the displays and was a huge help to me a while back. Search his name, too. Jack, W8TEE From: Vince Vielhaber <vev@...> To: [email protected] Sent: Monday, June 12, 2017 10:54 PM Subject: Re: [BITX20] W8TEE TFT /VFO BOARD - WHICH DISPLAY? Go on the arduino forum and find the thread for the MCUFRIEND_kbv library.? The guy that keeps it up to date is on that thread and can tell you how to set it up.? Also make sure you have the latest version of the library. Vince. On 06/12/2017 10:48 PM, Joe wrote: > Ok thanks... TFt can be a pain... always a driver issue.. > > Will order another and wait to see if that works.. > > > On Mon, Jun 12, 2017 at 11:40 PM, Jack Purdum via Groups.Io > <econjack=[email protected] <mailto:econjack=[email protected]>> wrote: > >? ? Well, that's about all the tricks I can control. See if you can find >? ? a driver for that board somewhere. If the vendor has demo code that >? ? runs, ask for that to see how they got it to run. > >? ? Jack, W8TEE > > >? ? ------------------------------------------------------------------------ >? ? *From:* Joe <joeman2116@... <mailto:joeman2116@...>> >? ? *To:* [email protected] <mailto:[email protected]> >? ? *Sent:* Monday, June 12, 2017 10:37 PM > >? ? *Subject:* Re: [BITX20] W8TEE TFT /VFO BOARD - WHICH DISPLAY? > >? ? ? //g_identifier = tft.readID();? ? // Get TFT ID? 3.95" = 0x9486, >? ? 3.6" = 0x9488 >? ? ? g_identifier = 0x1581; >? ? ? switch (g_identifier) { > >? ? no change? still white screen... > > >? ? On Mon, Jun 12, 2017 at 11:29 PM, Jack Purdum via Groups.Io >? ? <econjack=[email protected] <mailto:econjack=[email protected]>> >? ? wrote: > >? ? ? ? Comment out line 1334 and change it: > >? ? ? ? 1334? / // g_identifier = tft.readID();? ? // Get TFT ID? 3.95" >? ? ? ? = 0x9486, 3.6" = 0x9488/ >? ? ? ? /1334? ? g_identifier = 0x1581;/ >? ? ? ? / >? ? ? ? / >? ? ? ? / >? ? ? ? / >? ? ? ? and see what happens. This forces it to assume the non-default >? ? ? ? parameters. > >? ? ? ? Jack, W8TEE >? ? ? ? ------------------------------------------------------------------------ >? ? ? ? *From:* Joe <joeman2116@... <mailto:joeman2116@...>> >? ? ? ? *To:* [email protected] <mailto:[email protected]> >? ? ? ? *Sent:* Monday, June 12, 2017 10:24 PM > >? ? ? ? *Subject:* Re: [BITX20] W8TEE TFT /VFO BOARD - WHICH DISPLAY? > >? ? ? ? I wired the display up to a atmega 2560 >? ? ? ? ran your pgm and the serial said: > >? ? ? ? Serial took 0ms to start >? ? ? ? ID = 0x1289 >? ? ? ? 100 Hz > > >? ? ? ? On Mon, Jun 12, 2017 at 10:59 PM, Jack Purdum via Groups.Io >? ? ? ? <econjack=[email protected] >? ? ? ? <mailto:econjack=[email protected]>> wrote: > >? ? ? ? ? ? Do you have the latest Adafruit graphics library installed? >? ? ? ? ? ? Around line 1334 is the line: > >? ? ? ? ? ? /? g_identifier = tft.readID();? ? // Get TFT ID? 3.95" = >? ? ? ? ? ? 0x9486, 3.6" = 0x9488/ > >? ? ? ? ? ? put these lines after it: >? ? ? ? ? ? / >? ? ? ? ? ? / >? ? ? ? ? ? /? Serial.print("g-ID = ");/ >? ? ? ? ? ? /? Serial.println(g_identifier, HEX);/ > >? ? ? ? ? ? and see if the ID is in the program. If your number does not >? ? ? ? ? ? appear in the switch/case block (lines 1336-1460), the code >? ? ? ? ? ? by default assumes the display is a 0x154 or 0x9341. If it >? ? ? ? ? ? is not one of those, try changing /g_identifier/ to 0X9488 >? ? ? ? ? ? and see if that works. > >? ? ? ? ? ? Jack, W8TEE > > >? ? ? ? ? ? ------------------------------------------------------------------------ >? ? ? ? ? ? *From:* Joe <joeman2116@... <mailto:joeman2116@...>> >? ? ? ? ? ? *To:* [email protected] <mailto:[email protected]> >? ? ? ? ? ? *Sent:* Monday, June 12, 2017 9:46 PM >? ? ? ? ? ? *Subject:* Re: [BITX20] W8TEE TFT /VFO BOARD - WHICH DISPLAY? > >? ? ? ? ? ? I ran it? before. >? ? ? ? ? ? It suggests trying? the defined option > >? ? ? ? ? ? One resulted in? id =0 and >? ? ? ? ? ? when I tried the other option the id said? id =8989 >? ? ? ? ? ? tft =240 x320 > > >? ? ? ? ? ? On Mon, Jun 12, 2017 at 10:34 PM, Vince Vielhaber >? ? ? ? ? ? <vev@... <mailto:vev@...>> wrote: > >? ? ? ? ? ? ? ? Go to the examples for the library and run the LCD_ID >? ? ? ? ? ? ? ? example.? Have a serial monitor window open and see what >? ? ? ? ? ? ? ? they ID it as, if they do. > >? ? ? ? ? ? ? ? Vince. > >? ? ? ? ? ? ? ? On 06/12/2017 09:29 PM, Joe wrote: > >? ? ? ? ? ? ? ? ? ? I have the? MCUFRIEND_kbv library loaded and it >? ? ? ? ? ? ? ? ? ? compiles with some ino >? ? ? ? ? ? ? ? ? ? examples but only white screen. > >? ? ? ? ? ? ? ? ? ? Joe > >? ? ? ? ? ? ? ? ? ? On Mon, Jun 12, 2017 at 10:27 PM, Vince Vielhaber >? ? ? ? ? ? ? ? ? ? <vev@... <mailto:vev@...> >? ? ? ? ? ? ? ? ? ? <mailto:vev@... <mailto:vev@...>>> >? ? ? ? ? ? ? ? ? ? wrote: > >? ? ? ? ? ? ? ? ? ? ? ? Go to www.arduino.cc <> >? ? ? ? ? ? ? ? ? ? <<>> and >? ? ? ? ? ? ? ? ? ? do a search for >? ? ? ? ? ? ? ? ? ? ? ? MCUFRIEND_kbv.? That driver should work. > >? ? ? ? ? ? ? ? ? ? ? ? Vince. > > > >? ? ? ? ? ? ? ? ? ? ? ? On 06/12/2017 09:16 PM, Joe wrote: > >? ? ? ? ? ? ? ? ? ? ? ? ? ? Jack, > >? ? ? ? ? ? ? ? ? ? ? ? ? ? I have been experimenting while waiting for >? ? ? ? ? ? ? ? ? ? my remaining few >? ? ? ? ? ? ? ? ? ? ? ? ? ? parts to >? ? ? ? ? ? ? ? ? ? ? ? ? ? arrive. > >? ? ? ? ? ? ? ? ? ? ? ? ? ? I purchase a 2.8 inch tft display ( it says >? ? ? ? ? ? ? ? ? ? mcufriends.com <> >? ? ? ? ? ? ? ? ? ? ? ? ? ? < >? ? ? ? ? ? ? ? ? ? <>> on it) > >? ? ? ? ? ? ? ? ? ? ? ? ? ? It has appears to have the correct pins / >? ? ? ? ? ? ? ? ? ? jacks etc. > >? ? ? ? ? ? ? ? ? ? ? ? ? ? The problem is I thought I would try to find >? ? ? ? ? ? ? ? ? ? an example to test >? ? ? ? ? ? ? ? ? ? ? ? ? ? if the >? ? ? ? ? ? ? ? ? ? ? ? ? ? TFT works. > >? ? ? ? ? ? ? ? ? ? ? ? ? ? Well, I tried several but only get a white >? ? ? ? ? ? ? ? ? ? screen.? I used a uno and >? ? ? ? ? ? ? ? ? ? ? ? ? ? attached the tft to - as pins match ...tried >? ? ? ? ? ? ? ? ? ? other sketches - >? ? ? ? ? ? ? ? ? ? ? ? ? ? still only >? ? ? ? ? ? ? ? ? ? ? ? ? ? a white screen >? ? ? ? ? ? ? ? ? ? ? ? ? ? I tried other arduino, atmega 2560 and >? ? ? ? ? ? ? ? ? ? adjusted the pins >? ? ? ? ? ? ? ? ? ? ? ? ? ? accordingly , >? ? ? ? ? ? ? ? ? ? ? ? ? ? same results, they compile and upload but >? ? ? ? ? ? ? ? ? ? nothing but a white >? ? ? ? ? ? ? ? ? ? ? ? ? ? screen. > >? ? ? ? ? ? ? ? ? ? ? ? ? ? 1. Do you have an exact source where you >? ? ? ? ? ? ? ? ? ? purchased your display? >? ? ? ? ? ? ? ? ? ? ? ? ? ? 2. Any guidance to further test my current >? ? ? ? ? ? ? ? ? ? display? >? ? ? ? ? ? ? ? ? ? ? ? ? ? 3. The photo below is my current display.. > > >? ? ? ? ? ? ? ? ? ? ? ? ? ? Any help would be appreciated > >? ? ? ? ? ? ? ? ? ? ? ? ? ? Joe >? ? ? ? ? ? ? ? ? ? ? ? ? ? VE1BWV > > > >? ? ? ? ? ? ? ? ? ? ? ? -- >? ? ? ? ? ? ? ? ? ? ? ? ? Michigan VHF Corp.? >? ? ? ? ? ? ? ? ? ? ? <> > >? ? ? ? ? ? ? ? ? ? >? ? ? ? ? ? ? ? ? ? <> > > > > > > >? ? ? ? ? ? ? ? -- >? ? ? ? ? ? ? ? ? Michigan VHF Corp.? >? ? ? ? ? ? ? ? ? <> >? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? >? ? ? ? ? ? ? ? <> > > > > > > > >? ? ? ? ? ? <> >? ? ? ? ? ? Virus-free. www.avast.com >? ? ? ? ? ? <> > > >? ? ? ? ? ? <> > > > > > > > > > -- ? Michigan VHF Corp.? ? ? ? ? ? ? ? ? ? ? ? ? ? ? |
to navigate to use esc to dismiss