User manual

Commissioning
3
2.1. USB
When plugging a USB cable using the micro USB port X3, the device is enumerated as
USB CDC device. Modern operating systems such as Windows 10, MAC OS X or Linux
come with appropriate drivers pre-installed.
After initialisation, a new communication device is added to the system. On Windows this
is called //./COMx where x is a decimal number. Linux and UNIX-like systems in general
use either /dev/ttyACMx or /dev/ttyUSBx as naming scheme.
Simple text output can be done from almost every shell in a similar way.
echo "Hello world !" > //./COM5
Example2.1.Hello world on a Windows shell
2.2. UART
The UART interface is designed to be used in embedded circuits keeping costs as
low as possible. According to this, no RS232-LVTTL level shifters are used. Most
microprocessors/microcontrollers used in such an environment can be connected directly
to the LCD-Term.
Caution
Using the UART as a connection to a common PC requires RS232-LVTTL level
shifters. As an alternative, LVTTL to USB converters such as an FTDI cable or
chip can be used. This solution is already covered by LCD-Term's USB connector.
However, USB driver support can be easier on older OS when using FTDI chips/
cables.
2.3. Configuration
LCD-Term offers a built-in setup dialog for configuration. It can be entered by either short
circuiting GND and PA00 during power-up or by an escape sequence typed into a serial
terminal program. The sequence is ESC[Q. See Table3.4, Additional functions” for details.
The setup dialog can be attended via a terminal program. You are free to use USB or the
UART connection. Follow the menue to configure backlight, display contrast and IO pins.
Don't forget to save before exiting the setup to make your changes persistent. By delivery,
LCD-Term is configured with reasonable values.
LCD-Term is capable of displaying GIF images from its internal Flash memory. At the
moment this documentation is written, uploading images requires a third party tool from
the manufacturer of the microcontroller that is used. Since we are going to simplify this
procedure in the future, it is not covered here. Please see: http://www.taskit.de/LCD-
Term_en.html