This repository contains code for an ESP32-S3 based display designed to control various aspects of a microscope setup, including stage movements (XYZ), laser intensity, LED array color, and sending custom messages to trigger actions in ImSwitch. The hardware used is the Waveshare ESP32-S3 Touch LCD 4.3".
- Introduction
- Features
- Hardware Requirements
- Software Requirements
- Installation
- Usage
- Contributing
- License
This project aims to provide an intuitive interface for controlling microscope components via an ESP32-S3 microcontroller and a touchscreen display. The system integrates with ImSwitch for triggering acquisitions and controlling other microscope features.
- Control microscope stage movements (X, Y, Z)
- Adjust laser intensity
- Change LED array color
- Send custom messages to trigger actions in ImSwitch
- User-friendly touchscreen interface
- Waveshare ESP32-S3 Touch LCD 4.3"
- Microscope setup with controllable stage, laser, and LED array
- PlatformIO
- LVGL library
- ESP32 libraries
-
Clone the repository:
git clone https://github.com/openUC2/openUC2-ESP32InfoScreen.git cd openUC2-ESP32InfoScreen
-
Install the required libraries using PlatformIO:
pio lib install
-
Configure the project: Edit the
platformio.ini
file to match your hardware setup. -
Build and upload the code to your ESP32-S3:
pio run --target upload
After uploading the code, the touchscreen interface will allow you to:
- Move the microscope stage in X, Y, Z directions.
- Adjust the intensity of the laser.
- Change the color and intensity of the LED array.
- Send custom commands to ImSwitch.
For more detailed information, you can refer to the src, include, and lib directories in the repository.
Contributions are welcome! Please fork the repository and submit pull requests for any improvements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.