¿ªÔÆÌåÓý

Re: W8TEE TFT /VFO BOARD - WHICH DISPLAY?


Jack Purdum
 

As I mentioned, I'm not sure the full-sized MEGA 2565 will work with my PCB, which is the smaller Pro Mini. I think the SPI pins are going to be located at different places on the two boards.

Jack, W8TEE



From: Joe <joeman2116@...>
To: [email protected]
Sent: Tuesday, June 13, 2017 1:57 PM
Subject: Re: [BITX20] W8TEE TFT /VFO BOARD - WHICH DISPLAY?

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.