0

Adafruit 3.5 tft feather wing with arduino mega not working.
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Adafruit 3.5 tft feather wing with arduino mega not working.

by snhs on Mon Jan 21, 2019 3:00 pm

Hi,

I am having a strange problem. I upload the graphics test code to arduino mega and I attach the pins. The screen is white and does not show anything. Once I press the reset button I can see the data on screen and when i release it goes to white again. The serial monitor output is below. Can you please help. The tft works fine with feather esp8266.

HX8357D Test!
Display Power Mode: 0x1C
MADCTL Mode: 0xC0
Pixel Format: 0x5
Image Format: 0x0
Self Diagnostic: 0xC0
Benchmark Time (microseconds)
Text 1065512
Lines 2923880
Rectangles (outline) 139932
Circles (outline) 1234008
Triangles (outline) 575416
Triangles (filled) 2891952
Rounded rects (outline) 322496
Rounded rects (filled) 4792388
Done!

Regards

snhs
 
Posts: 21
Joined: Sun Dec 25, 2016 4:44 am

Re: Adafruit 3.5 tft feather wing with arduino mega not work

by adafruit_support_carter on Mon Jan 21, 2019 3:07 pm

Post a photo of your setup showing how everything is connected.

adafruit_support_carter
 
Posts: 9792
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit 3.5 tft feather wing with arduino mega not work

by snhs on Mon Jan 21, 2019 4:46 pm

Hi, I made a PCB. All the pins are connected and there is no short. I see only white screen. As I said, when I press reset button the screen shows the text/graphics clearly. Once I release again there is white. I have atmega2560 on the PCB. The pins are hardware SPI and 10, 11, 12 and 13 for CS, DC, SDCS, STMPECS.

snhs
 
Posts: 21
Joined: Sun Dec 25, 2016 4:44 am

Re: Adafruit 3.5 tft feather wing with arduino mega not work

by adafruit_support_carter on Mon Jan 21, 2019 4:48 pm

It may have something to do with your PCB.

adafruit_support_carter
 
Posts: 9792
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit 3.5 tft feather wing with arduino mega not work

by snhs on Tue Jan 22, 2019 5:35 am

Hi, I post the pictures below. The soldering is fine.
Last edited by snhs on Tue Jan 22, 2019 2:45 pm, edited 1 time in total.

snhs
 
Posts: 21
Joined: Sun Dec 25, 2016 4:44 am

Re: Adafruit 3.5 tft feather wing with arduino mega not work

by snhs on Tue Jan 22, 2019 5:36 am

The output is below. It shows only when i press reset button.

snhs
 
Posts: 21
Joined: Sun Dec 25, 2016 4:44 am

Re: Adafruit 3.5 tft feather wing with arduino mega not work

by snhs on Tue Jan 22, 2019 7:17 am

Hi, I can confirm that the LCD does not work with Arduino Uno also. It works with feather 8266.

My arduino version is 1.8.8. HX8357 library version is 1.0.7. I only see white screen. Nothing is happening on pressing the reset button. On serial parameters are below for uno.

HX8357D Test!
Display Power Mode: 0x0
MADCTL Mode: 0x0
Pixel Format: 0x0
Image Format: 0x0
Self Diagnostic: 0x0

snhs
 
Posts: 21
Joined: Sun Dec 25, 2016 4:44 am

Re: Adafruit 3.5 tft feather wing with arduino mega not work

by adafruit_support_carter on Tue Jan 22, 2019 12:42 pm

The TFT was designed to be used with Feathers. And it's working with the Feather 8266. So the display is good.

Several air wires showing which might be related to the PCB issue.

Using it with an UNO might be possible, but you would have to trace out all the connections and possibly level shift from the 5V UNO to the 3.3V the TFT wants.

adafruit_support_carter
 
Posts: 9792
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit 3.5 tft feather wing with arduino mega not work

by snhs on Tue Jan 22, 2019 2:48 pm

Hi, the airwires are after the editing of course. The PCB had no airwires. As i mentioned the text/shapes show when I am pressing the reset button. It means the SPI communication is happening. I googled and some other people also had the white screen issue. I will try to order a different one and see how that one works. Thanks.

snhs
 
Posts: 21
Joined: Sun Dec 25, 2016 4:44 am

Re: Adafruit 3.5 tft feather wing with arduino mega not work

by snhs on Tue Jan 22, 2019 2:49 pm

These parameters below mean the LCD is working right?

HX8357D Test!
Display Power Mode: 0x1C
MADCTL Mode: 0xC0
Pixel Format: 0x5
Image Format: 0x0
Self Diagnostic: 0xC0

snhs
 
Posts: 21
Joined: Sun Dec 25, 2016 4:44 am

Re: Adafruit 3.5 tft feather wing with arduino mega not work

by adafruit_support_carter on Tue Jan 22, 2019 2:53 pm

Yep. That looks good.

You have a Feather ESP8266. If you use that board directly on the TFT FeatherWing, do you have issues?

adafruit_support_carter
 
Posts: 9792
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit 3.5 tft feather wing with arduino mega not work

by snhs on Tue Jan 22, 2019 2:57 pm

Hi, No there is no issue. If i remember I tried it with Feather esp32 as well. I wanted to use tft wing because all the contacts are on the back and nothing shows on the front. The other 3.5 TFT has the headers on the side but I think I should get that one instead. In both cased I have to make a small PCB to attach FFC cable. Or are there any adaptors from Adafruit for those TFT headers to FFC connector?

snhs
 
Posts: 21
Joined: Sun Dec 25, 2016 4:44 am

Re: Adafruit 3.5 tft feather wing with arduino mega not work

by adafruit_support_carter on Tue Jan 22, 2019 3:16 pm


adafruit_support_carter
 
Posts: 9792
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit 3.5 tft feather wing with arduino mega not work

by snhs on Fri Feb 01, 2019 6:23 am

Hi, what about 3.5 tft with Grand central? I guess the featherwing will work with grand central?

snhs
 
Posts: 21
Joined: Sun Dec 25, 2016 4:44 am

Re: Adafruit 3.5 tft feather wing with arduino mega not work

by adafruit_support_carter on Sat Feb 02, 2019 12:15 pm

You'd probably want to use shield or breakouts with the Grand Central, not Wings.

adafruit_support_carter
 
Posts: 9792
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.