Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.45 KB

README.md

File metadata and controls

45 lines (33 loc) · 1.45 KB

Python script to test Simtelic USB to LCD module

This repository contains a Python script (lcdtest.py) that allows you to communicate with LCD displays connected to your computer via a Simtelic USB to LCD adapter.

Requirements

Install dependencies (Windows)
py -m pip install pyserial
Install dependencies (Linux)
pip install pyserial

Usage

Clone the repository:

git clone https://github.com/simtelic/el0007-usb-to-lcd.git

If git is not available, download the source code snapshot from GitHub.

Run the script:

Windows:

Use a application like Device Manager to identify the assigned COM port (e.g., COM3).

py lcdtest.py COM3 # Replace with your actual serial port
Linux:

Use a tool like ls /dev/tty* or dmesg | grep tty to find the serial port assigned to your USB-to-LCD adapter. It's typically named /dev/ttyACM0, but it might vary.

python3 lcdtest.py /dev/ttyACM0  # Replace with your actual serial port

Additional Notes

  • Ensure the Simtelic USB to LCD adapter is properly connected to your computer and the LCD display before running the script.
  • This README provides a basic usage guide. More advanced use cases might require additional configuration or code modifications.