Sometimes when I get stuck on a coding problem I find it relaxing to do a bit of soldering to take my mind of things. I'm pretty bad at it so it requires my full attention to not burn myself or destroy the thing I am soldering (which has happened on numerous occations).
This week I got stuck on one of my projects and I had recently got the ESP8266 WiFi Color Display Kit from ThingPulse in the mail, so I decided to build it.
It's a really easy build with just a few parts:
They have a good guide to follow here WiFi Color Display Kit
There wasn’t all that much to solder as you can see in the image below
Once soldering was done I decided to try the Weather station project first.
I signed up for an API-key at OpenWeatherMap
Edited the settings.h file to add my WiFi-credentials and the OpenWeatherMap key.
Then a connected the usb-cable to the computer and...
I couldn’t get the computer to connect to the device, it just didn’t show up in the Ports menu. After a while (and some Google) I discovered that the usb is only for power and not for transmitting data. I have a serial to usb-converter since before so I hooked up the RX and TX pins to this like so:
Now I could select the correct port and transfer again.
Or so I thought...
After some more googling around I discovered that more people had this issue with the ESP8266-chip.
The trick is to connect the GPIO-0 (marked D3 on this device) pin to ground while uploading.
As I read this I remembered having this issue with the ESP8266 before, doh!
I hope that this blog serves as a reminder when I have the same issue next time I use an ESP8266.
Once I did this it worked instantly!
Now I will have to figure out something more interesting to use this nifty little device for.
If you read this and have an idea please let me know in the comments.