Merged changes from master
This commit is contained in:
45
README.md
45
README.md
@@ -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!
|
||||
|
||||
[](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 |
|
||||

|
||||
|
||||
| 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 |
|
||||
|
||||
@@ -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 "-";
|
||||
}
|
||||
|
||||
|
||||
|
||||
BIN
resources/PlaneSpotterWiring.png
Normal file
BIN
resources/PlaneSpotterWiring.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 261 KiB |
Reference in New Issue
Block a user