This project contains the source code for a High Voltage Power Supply (HVPS) demo application. The application is designed to manage and control high voltage outputs, providing an interface for interaction via a touchscreen display.
- Stepper Control: Increment or decrement values using stepper controls.
- Slider Control: Adjust values using sliders for precise control.
- Dropdown Menu: Select options from a dropdown menu.
- Tab Interface: Navigate between different tabs to view and interact with different controls and information.
This header file defines the UI
class, which encapsulates various UI elements and their functionalities. It includes methods for drawing and handling stepper controls, sliders, and dropdown menus.
This source file implements the UI
class methods defined in ui_elements.h
. It includes the actual drawing and touch handling logic for the UI elements.
This file contains the main Arduino sketch for the HVPS demo application. It initializes the display, sets up the UI, and manages the main loop for handling user interactions.
- Arduino IDE
- RA8875 TFT Display Library
- Adafruit GFX Library
-
Clone this repository:
git clone [email protected]:SethARhodes/HVPSDemo.git cd HVPSDemo
-
Open HVPS.ino in the Arduino IDE.
-
Connect your hardware (TFT display, microcontroller, etc.) according to your setup.
-
Upload the sketch to your microcontroller.
Once the sketch is uploaded, the application will start running on your microcontroller. You can interact with the UI via the touchscreen display to control the high voltage outputs and view different tabs.
Contributions are welcome! Please submit a pull request or open an issue to discuss any changes or improvements.
This project is licensed under the MIT License. See the LICENSE file for details.