0 votes
in Touch Interface by (260 points)
I'm running into a problem that is preventing the Weather Station Color with the Wemos board from getting past the "PIFFS opened" state.  The serial monitor output shows this progress:

...Connected...Initializing touch screen...
Mounting file system...
PIFFS opened:
Calibration not available

At that point nothing else happens, the screen is lit but blank.  Not sure what to do here or how to interpret this information. Reading through the sketch I believe the LCD touch screen is being calibrated?  With the original Wemos that came with the kit it could not connect to wifi.  However, I did get the Thingpule splash screen with the message that the board was connecting, so the LCD does work, but that was as far as it got.  I subsequently bought a second Wemos D1 Mini Pro from Amazon and that board connects just fine but now I get the error message shown above.  So there seems to be some quality control or version issues going on with the Wemos boards.  I re-checked the versions of all the libraries I installed for this project and they are all the latest.  I double-checked the openweathermap API key, that is correct.  I'd truly appreciate any help troubleshooting this.  Thanks!

Blake
by (19.9k points)
I have more questions than I have answers for now. Remotely "debugging" hardware(-related) issues is though...

Would you mind including photos of your stack? I assume you followed our guide at https://docs.thingpulse.com/guides/wifi-color-display-kit/ for assembling the kit. Just in case you didn't, can you confirm the wiring is as per the diagram at https://github.com/ThingPulse/esp8266-weather-station-color#wiring

When you inspect the solder joints can pay extra attention to the ones on the T_xxx pins.

A long shot but can you try a complete reset when you flash the program: Tools > Erase Flash > All Flash Contents
by (19.9k points)
Side note: the touch screen library was upgraded today, we need to test this: https://www.arduinolibraries.info/libraries/xpt2046_touchscreen
by (260 points)
Can you provide the list of versions of the “known good” files that you have confirmed work with the color kit: the ESP8266 board file that is loaded via the boards manager, the library versions of all the necessary libraries, and the Arduino IDE version.  These versions then define a software configuration that is proven to work with your kit and can be replicated.  I doubt the developers do such rigorous regression testing that each increment is completely backwards compatible.  That’s why you need to do your own testing with the TFT display library, right?
by (19.9k points)
We do that all the time; not always hours after a new library upgrade was released but in regular intervals. Unless explicitly stated in our guides, as with ESP8266 Arduino Core 2.4.2, it's fine to go with the latest version.

I just tested the latest XPT2046 library version and it works fine on our reference hardware (the kit we sell).
by (260 points)
I have been able to get the color kit to successfully work.  I had used the Arduino IDE Library Manager to locate and install the necessary libraries, resulting in the kit not working, as noted above.  So instead of using the Arduino IDE  Library Manager to install the libraries, I went to the Github sites noted in the kit instructions and downloaded the zip files, and had the IDE use the zip files to load the libraries.  At that point the kit worked.

So a question I have is, is there a difference between using Library Manager to load the libraries versus downloading the zip files directly from Github?

Please log in or register to answer this question.

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

https://thingpulse.com

...