|
|
@@ -0,0 +1,67 @@
|
|
|
+# Rack System Status Display
|
|
|
+
|
|
|
+## Overview
|
|
|
+
|
|
|
+This project displays the active system status on a 1.28" round TFT LCD mounted on the front panel of a 19" rack enclosure.
|
|
|
+
|
|
|
+On startup, a custom logo is displayed for approximately 10 seconds. The display then changes to indicate whether **System A** or **System B** is currently selected.
|
|
|
+
|
|
|
+System selection is determined by the voltage level present on a dedicated ESP32-S2 GPIO input.
|
|
|
+
|
|
|
+## Hardware
|
|
|
+
|
|
|
+### Microcontroller
|
|
|
+
|
|
|
+* ESP32-S2
|
|
|
+
|
|
|
+### Display
|
|
|
+
|
|
|
+* 1.28" Round TFT LCD
|
|
|
+* 240 x 240 resolution
|
|
|
+* GC9A01 controller
|
|
|
+* 4-wire SPI interface
|
|
|
+
|
|
|
+## Function
|
|
|
+
|
|
|
+1. Power-up device.
|
|
|
+2. Display startup logo for approximately 10 seconds.
|
|
|
+3. Read system select input pin.
|
|
|
+4. Display:
|
|
|
+
|
|
|
+ * **SYSTEM A ACTIVE**
|
|
|
+ * **SYSTEM B ACTIVE**
|
|
|
+5. Continuously monitor the input pin and update the display if the selected system changes.
|
|
|
+
|
|
|
+## Software
|
|
|
+
|
|
|
+* Arduino IDE
|
|
|
+* ESP32 Arduino Core
|
|
|
+* TFT_eSPI library
|
|
|
+
|
|
|
+## GPIO
|
|
|
+
|
|
|
+| Function | ESP32-S2 Pin |
|
|
|
+| ------------------- | ------------ |
|
|
|
+| System Select Input | TBD |
|
|
|
+| TFT MOSI | TBD |
|
|
|
+| TFT SCLK | TBD |
|
|
|
+| TFT CS | TBD |
|
|
|
+| TFT DC | TBD |
|
|
|
+| TFT RST | TBD |
|
|
|
+| TFT BL | TBD |
|
|
|
+
|
|
|
+## Build
|
|
|
+
|
|
|
+1. Install Arduino IDE.
|
|
|
+2. Install ESP32 board support package.
|
|
|
+3. Install TFT_eSPI library.
|
|
|
+4. Configure display settings for GC9A01.
|
|
|
+5. Compile and upload to the ESP32-S2.
|
|
|
+
|
|
|
+## Future Improvements
|
|
|
+
|
|
|
+* Custom graphics and branding.
|
|
|
+* Input debounce/filtering.
|
|
|
+* Network status monitoring.
|
|
|
+* Brightness control.
|
|
|
+* Animated startup screen.
|