0 votes
asked in Touch Interface by (200 points)
Hi Sir,

I do not have your product, but Adsafruit's. I know you contributed 99% of the design. I didn't know that till after I bought the ESP8266 HUZZAH board and display and read the tutorial. It doesn't seem like they are supporting it very well, for now it's a bit old. Anyway, had a bit of trouble getting it working. It does now, except for one problem and Adafruit seems stumped.

I apply power, 5 volts or Li-Po battery. Screen goes white. After about 18 seconds, it goes dark and stays dark. If I push either Reset button, program starts right up. From then on no problem. Shows weather for about 12 seconds, then goes dark. Touching screen starts update. But, if I kill power and re-apply, same thing happens, I must use reset button. I am wondering if the ESP8266 might be an incorrect version? It is a ESP8266-F, instead of the -12 or -12 S one normally sees? Maybe I need some amount of delay in Setup, but now sure where to put it.

Thanks, Don

3 Answers

0 votes
answered by (8.9k points)
It is really hard to tell what could be the problem here. Could be hardware or software. My first suspect wouldn't be the model of ESP though. Which code are you using, can you post the github link here? Some people made additions like a screen saver, maybe your code has such a screen saver and the idle time is set too short? I need more information in order to help you...

Daniel
0 votes
answered by (200 points)

Hi Daniel,

Here is the Adafruit link I used.

https://learn.adafruit.com/wifi-weather-station-with-tft-display?view=all

It's about 3 screen fulls down:   weather_station_color.zip

No screen savers added.
Thanks for reply.

donde

commented by (8.9k points)
Hi Donde
It's really hard for us to support 3rd party hardware. I would suggest you ask adafruit for support here, because they know their hardware better than we do...
Daniel
0 votes
answered by (200 points)
Hi Daniel,

I have since figured it out. Added 100 milliseconds just before tft.begin(); Adafruit hardly any help.

I'm now glad I have now joined up here. Could I ask another question pertaining to your weather-station-color? I would like to select from 3 cities. Might be difficult, since the state/city is in settings.h and not in loop(). Want to change city during run time or push Reset. I know your code is different. And should not ask it here.
Thanks

Welcome to ThingPulse Q&A, where you can ask questions and receive answers from other members of the community.

https://thingpulse.com

...