Merged changes from master

This commit is contained in:
Daniel Eichhorn
2017-07-09 18:28:40 +02:00
3 changed files with 65 additions and 51 deletions

View File

@@ -9,28 +9,43 @@ Since it was sometimes complicated to find the right parts I created a kit which
https://blog.squix.org/product/esp8266-wifi-color-display-kit-2-4
By buying the kit from me you are supporting future development. Thank you!
[![Squix ESP8266 Color Display Kit](resources/ESP8266ColorDisplayKit.png)](https://blog.squix.org/product/esp8266-wifi-color-display-kit-2-4)
## Software Requirements/ Libraries
* Arduino IDE with ESP8266 platform installed
* [Weather Station Library](https://github.com/squix78/esp8266-weather-station) or through Library Manager
* [Adafruit ILI9341](https://github.com/adafruit/Adafruit_ILI9341) or through Library Manager
* [Adafruit GFX](https://github.com/adafruit/Adafruit-GFX-Library) or through Library Manager
* [WifiManager](https://github.com/tzapu/WiFiManager)
* Mini Grafx by Daniel Eichhorn
* ESP8266 WeatherStation by Daniel Eichhorn
* Json Streaming Parser by Daniel Eichhorn
* simpleDSTadjust by neptune2
You also need to get an API key for the Wunderground data: https://www.wunderground.com/
## Settings
Please have a good look at the settings.h file. There you can:
* set your location for the weather information
* Set the clock mode: 12hour (am/pm) or 24hour mode
* Metric system for temperature
* Timezone and daytime saving options
* API key for the wunderground service
## Wiring
| ILI9341 | NodeMCU |
![Wiring](resources/PlaneSpotterWiring.png)
| Wemos D1 Mini | ILI9341 |
| ------------- |:-------------:|
| MISO | - |
| LED | 3V3 |
| SCK | D5 |
| MOSI | D7 |
| DC/RS | D4 |
| RESET | RST |
| CS | D2 |
| D4 | T_IRQ |
| D6 | T_DO |
| D7 | T_DIN |
| D3 | T_CS |
| D5 | T_CLK |
| D6 | SDO |
| D8 | LED |
| D5 | SCK |
| D7 | SDI |
| D2 | D/C |
| RST | RESET |
| D1 | CS |
| GND | GND |
| VCC | 3V3 |
| 3V3 | VCC |

View File

@@ -72,8 +72,9 @@ int BITS_PER_PIXEL = 2; // 2^2 = 4 colors
ADC_MODE(ADC_VCC);
// HOSTNAME for OTA update
#define HOSTNAME "ESP8266-OTA-"
#include "ArialRounded.h"
#include "moonphases.h"
#include "weathericons.h"
ILI9341_SPI tft = ILI9341_SPI(TFT_CS, TFT_DC);
@@ -593,5 +594,3 @@ const String getShortText(String iconText) {
return "-";
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 KiB