Hello Mark AA7TA,
Thank you for your reply with all the details for using an ESP8266
module for an NTP clock.
The instructions you posted look very straight forward.
Regards,
Ken, KM4NFQ "Not Fully Qualified"
/g/w8bhMorseTutor
toggle quoted message
Show quoted text
On Tue, Jan 19, 2021 at 9:49 PM Mark M <junquemaile@...> wrote:
OK...here it is...
Follow the steps in Bruce's write-up () with these changes:
- In the IDE, add this URL to the Additional Boards Manager URLS list in Preferences:
- In the Boards Manager install the esp8266 board
- Modify the User_Setup.h file in your TFT_eSPI library directory. I saved the existing file and created a new one with only these lines:
//TFT Defs for ESP8266
#define ILI9341_DRIVER
#define TFT_MOSI PIN_D7
#define TFT_MISO PIN_D6
#define TFT_SCLK PIN_D5
#define TOUCH_CS -1
#define TFT_CS PIN_D8
#define TFT_DC PIN_D3
#define TFT_RST -1
#define LOAD_GLCD
#define LOAD_FONT2
#define LOAD_FONT4
#define LOAD_FONT6
#define LOAD_FONT7
#define LOAD_FONT8
#define LOAD_GFXFF
#define SPI_FREQUENCY 40000000
#define SPI_READ_FREQUENCY 20000000
#define SPI_TOUCH_FREQUENCY 2500000
- Change the wiring from the display to the board:
Display pin 3 to D8 on the 8266
5 to D3
6 to D7
7 to D5
9 to D6
The other display pin connections are the same as in Bruce's write-up.
- In the source code, change the line
#include <WiFi.h>
to
#include <ESP8266WiFi.h>
- From the Tools menu, select 'ESP8266 Boards' and then select the board you're using, 'Generic ESP8266 Module' worked for me
- Compile and Upload
I hope this makes sense. If you have any questions, let me know & I'll try to help.
The three boards for $14 are the ones I used.
73... Mark AA7TA