Proculus Technologies Co., Ltd.
Proculus Technologies Co., Ltd.
TY_EMAIL_US

Serial Project Transfer

⚠ DISCLAIMER: This project was developed exclusively for demonstration purposes. Its main objective is to illustrate the use of the Lumen Protocol library's project transfer functionalities in a controlled environment.

The project was not designed for use in production environments or real-world applications. It does not include robust security systems for web communication, such as encryption, authentication, or data validation.

Therefore, we do not offer any guarantees regarding the security, reliability, or suitability for use in real projects or in production. The project was created with use restricted to the study, testing, and demonstration of the library's capabilities.


About the project:
This project is a demonstration that illustrates the transfer of a compiled UnicView Studio project to a display via serial communication, using the Lumen Protocol library.

This demo is especially useful for scenarios that require remote project updates, where conventional methods, such as using an SD card, are not practical or feasible.
 



How the Process Works

The demonstration uses an ESP32 microcontroller to simulate a remote update scenario. The ESP32, with its Wi-Fi module, downloads the compiled project file from a URL and transmits it serially to the display.

The main process involves the following steps:

  • Wi-Fi Connection: The ESP32 connects to a Wi-Fi network to access the project file.
  • Project Download: The compiled project file (commonly in .lumen format) is downloaded from a remote server via HTTP.
  • Double Buffering for Efficiency: To optimize transfer speed, the project employs a double buffering technique. This means that while one data block is being sent to the display, the next block is downloaded from the internet simultaneously. This overlap minimizes idle time and ensures a continuous data flow.
  • Serial Transfer: The downloaded data is sent to the display through its serial interface, managed by the Lumen Protocol library.

Summary of Features

  • Remote Update: Allows you to update the display's project via a URL, without the need for physical access.
  • Robust Protocol: Uses the Lumen Protocol library for reliable serial communication.
  • Optimized Transfer: The use of double buffering ensures a fast and efficient transfer process.
  • Flexibility: The code allows you to select different projects for demonstration by simply changing a variable.

Components and Materials Used

  • Hardware:
    • ESP32
    • Smart Display
    • Jumper wires for connections
  • Software:
    • Arduino IDE
    • Lumen Protocol library
    • UnicView Studio

How to Set Up the Project

  1. Download the files: The ESP32 code and documentation are available in the official GitHub repository.
  2. Wi-Fi Configuration: In the .ino file, configure your Wi-Fi network name and password.
  3. Project Configuration: In the same file, define the project URL to be transferred by adjusting the SELECTED_PROJECT_INDEX variable.
  4. Compile and Upload: Open the code in the Arduino IDE, set the correct serial port, and upload the program to your ESP32.

Why Use This Project?

This demonstration is ideal for developers who need a practical solution to manage and update display projects remotely. It serves as a solid foundation for integrating displays into IoT, automation, and control systems, where update flexibility is crucial.

Downloads and Resources

  • Project on GitHub