¿ªÔÆÌåÓý

Re: W8TEE TFT /VFO BOARD - WHICH DISPLAY?


Jack Purdum
 

Great!

Jack, W8TEE



From: K5ESS <k5ess.nothdurft@...>
To: [email protected]
Sent: Friday, July 14, 2017 11:17 PM
Subject: Re: [BITX20] W8TEE TFT /VFO BOARD - WHICH DISPLAY?

Jack,
Never mind.? I added
case 0x9486:
and now it looks good.
Mike
K5ESS
?
From: [email protected] [mailto:[email protected]] On Behalf Of K5ESS
Sent: Friday, July 14, 2017 10:00 PM
To: [email protected]
Subject: Re: [BITX20] W8TEE TFT /VFO BOARD - WHICH DISPLAY?
?
Jack,
My display looks like the bottom picture below but my display is the Mcufriend 3.5¡° TFT LCD for arduino uno.? It identifies as g-ID = 9486.? However looking at the code around line 1335 there is no case for ID 0x9486.? Can you tell me what parameters go with this case?
Thanks,
Mike
K5ESS
?
From: [email protected] [mailto:[email protected]] On Behalf Of Jack Purdum via Groups.Io
Sent: Tuesday, June 13, 2017 1:30 PM
To: [email protected]
Subject: Re: [BITX20] W8TEE TFT /VFO BOARD - WHICH DISPLAY?
?
Joe:
?
What happens if you put this code in my program:
?
? g_identifier = tft.readID(); //
? Serial.print("ID = 0x");
? Serial.println(g_identifier, HEX);
? if (g_identifier == 0x00D3 || g_identifier == 0xD3D3) g_identifier = 0x9481; // write-only shield
? if (g_identifier == 0xFFFF) g_identifier = 0x9341; // serial
? // ? ?g_identifier = 0x9329; ? ? ? ? ? ? ? ? ? ? ? ? ? ? // force ID
? tft.begin(g_identifier);
?
starting around line 1335? The key is setting the identifier.
?
Jack, W8TEE

From: Joe <joeman2116@...>
To: [email protected]
Sent: Tuesday, June 13, 2017 2:14 PM
Subject: Re: [BITX20] W8TEE TFT /VFO BOARD - WHICH DISPLAY?
?
As a further test I ?tried some other code from "PD8W
?
?"
see below
Display working with various codes but it seems to fit on this one (PD8W'S CODE)
?
?
?
Joe
VE1BWV
?
On Tue, Jun 13, 2017 at 2:57 PM, Joe <joeman2116@...> wrote:
Jack, John, Vince......THANKS!!!!! ? ? ?It works!
?
?
1. ?modify mcufriend kbv.cpp?
In the mcufriend_kbv library, see the file MCUFRIEND_kbv.cpp.
There is a line near the top that is commented out:

"//define support_1289? // costs about 408 bytes" ? ? ?----- ( I uncommented?it)
?
?
2. and?
?
line 1332 0n my code ?I added ? ? ?g_identifier = 0x1289;
?
just before this code. ?switch (g_identifier) {
?
Recompile and now can see display - freq, s meter, etc.
?
As a further test
?
I un commented and commented each line below to see if the display would change?
?
Display appeared but not correct ?placement?
?
?
line 1344 ? ?g_identifier = tft.readID(); ? ?// Get TFT ID ?3.95" = 0x9486, 3.6" = 0x9488 ?2.8 = 0x1289 ? ? - when using this the pictures is as appears below
?
?
line1346 ? ? // g_identifier = 0x1289; ? ? ? I also tried this - same results as picture below
?
?
?
It looks like text size on some lines are ?to large or incorrect display line?
?
?see photo
?
running on an regular atmega 2560 for testing
?
?
?
On Mon, Jun 12, 2017 at 10:56 PM, Vince Vielhaber <vev@...> wrote:

ok, before the line tft.begin(g_identifier) put
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.
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 <>
? ? ? ? <> 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
? ? ? ? <>
? ? ? ? ? ? ? ? <> 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.? ?? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ?




--
? Michigan VHF Corp.? ?? ?
? ? ? ? ? ? ? ? ? ? ? ? ?
?
?
?
?


Join [email protected] to automatically receive all group messages.