/**********************************************
* Setup display and touch
***********************************************/
//#define ILI9488_DISP // esle ST7796
//#define XPT_TOUCH //else FT6236
#define USE_KEYBOARD
//#define printForecast
#define orientation 3 // or 1 (landscape)
I have been wondering if I should do the Same for the GIGA one. Not sure if New Repo or in:ALCON
Made a few more corrections to the Weather App but instead of keep adding code I created a Github repo for this stuff - readme is still a tbd but here is the latest https://github.com/mjs513/Teensy-WiFi-Apps. Also had to update the keyboard stuff in the library so grab the latest
Yep - have been playing with it on GIGA display and yep my fat fingers are sort of clunky... Especially when the display is 800 x 480Works good. I really like Kris's keypad but it's kind of small on the 3.5" screen. Capacitive touch stylus for the win.
void setup() {
Serial.begin(115200); // USB Serial Monitor
Serial1.begin(4000000, SERIAL_8N1, RX2, TX2); // Hardware UART to Teensy 4.1
I didn't wire up a C6 here yet - seems a couple wires into the "ESP_C3's" socket would make it work? Just GND and the Serial_7 it has connected to the T_4.1?I don't think I have that adapter to the protoboard,
Since the C3 is being programmed it seemed leaving the USB connected would be safe that way to power it?C3 socket doesn't have 5V
Indeed, as noted in p#36 - use USB to connect and power ESP32 and only connect Rx/Tx/GND to the Mini headers for the prior C3using USB to power just the ESP32
1. It was a fun project to test WiFi.Why do you need a T4 for a weather Display?
Just ordered - this should be funFor anyone wanting to get their 5GHz on, the ESP32-C5 stacks
# Project Name: Weather App for the Protosupplies Mini Platform For Teensy 4.1 (https://protosupplies.com/product/mini-platform-teensy41/)
The Mini Platform features a ESP32-C3 as well as a ST7796 display with capacitive touch screen. This allows the ESP32-C3 to handle all the WiFi connections to the Open-Meteo weather API. The Teensy 4.1 handles the all the display and processing of the data received. On the Teensy you input the City the you want. The T4.1 sends the City request to the ESP32C3 which the retrieves and sends the weather data in JSON format back to the T41 for processing and displaying data.
The selection of the weather city is via the Serial monitor or a display keyboard which is optional configuration.
## 🛠️ Hardware Required
* Protosupplies Mini Platform For Teensy 4.1 with Display and ESP32-C3
## 📌 Pin Wiring Connections
Nonea as the Mini Platform is self contained.
## 📦 Required Libraries
* **ST7796_t3 library** pre-installed when you install Teensy via Board Manager or via Teensyduino
* **Adafruit_FT6236 Touch library** install via Arduino IDE Library Manager
* **ArduinoJson library** install via Arduino IDE Library Manager
* **ILI9341_t3_Keypad library** you will need to download my modified version which supports the ST7796 and ILI9488 displays. This can be downloaded at https://github.com/mjs513/ILI9341_t3_Keypad/tree/ST7796_keyboard
## 🚀 How to Use
**ESP32-C3 Sketch:**
1. Clone or download this repository.
2. Open `esp32_teensy_v1.ino` in the Arduino IDE.
3. Edit the `Secrets.h` tab to set up your SSID and PASSWORD
4. Install the required libraries listed above.
5. Select the ESP32C3DevBoard and port, then click **Upload**.
**Teensy 4.1 Sketch**
1. Clone or download this repository.
2. Open `weather_display_v5.ino` in the Arduino IDE.
3. Install the required libraries listed above if not pre-installed.
4. Config app for the display, orientation and use of diaplay keypad (optional). Keypad is optional since you can still input a new city from the serial monitor.
```c++
/**********************************************
* Setup display and touch
***********************************************/
//#define ILI9488_DISP // esle ST7796
//#define XPT_TOUCH //else FT6236
#define USE_KEYBOARD //comment out if do now want on screen keyboard
//#define printForecast //uncomment if you want to print all the forecast data to the serial monitor
#define orientation 3 // or 1 (landscape)
String DEFAULT_CITY = "Disneyland"; // Default startup city
```
6. Select your `Teensy 4.1` and port, then click **Upload**.
Or maybe use an Arduino Uno QOkayFor fun with json, you could add a nice webpage (with webserver) to the esp.