| |
Powering the Board and Driver Installation
The board is powered by plugging it into the USB
port of any PC. After the device is powered, Windows may automatically
install drivers. If not, it will see the new device and prompt you to
install drivers. The following procedure should be used: |
|
| |
|
|
| |
Windows XP
- Download and unzip the latest drivers.
- Select “No, not this time” to not contact Windows Update and
click Next.
- Click on “Install from a list or specific location (Advanced)”
and click Next.
- Select “Search for the best driver in these locations.” And
select only “Include this location in the search:”. Click Browse and
find the previously downloaded and unzipped directory “USB Serial
Driver”.
- If a dialog appears warning you the hardware hasn’t passed
Windows Logo testing, click Continue Anyway.
- Click Finish.
Windows Vista
- Download and unzip the latest drivers.
- Select “Don’t show this message again for this device” on the
Found New Hardware dialog. If a dialog appears asking for user
permission please press Continue.
- Go to the start menu and select “Computer” located to the right
to bring up “My Computer”. If using the classic start menu, just
double-click the “My Computer” icon on the desktop.
- Select “System Properties” and “Device Manager” from the left
pane under “Tasks” pressing Continue to any permission dialogs.
- Under “Other devices”, right-click on “LCDDemo-LPC2158” and
select Update Driver Software.
- Select “Browse my computer for driver software” and specify the
location of the unzipped drivers. Click Next.
- A warning dialog box will appear specifying Windows can’t verify
the publisher of the driver software. Select “Install this driver
software anyway.”
- Click Close.
|
|
| |
Operating the Demo Software
The LCDDemo-LPC2158 Software has 4 modes of Operation
- A Repeating Pattern of Text Lines
- User Programmable Countdown Timer
- FM Radio Scan Simulator
- Custom User Message
|
|
| |
Pressing the MODE button changes the mode of operation of the unit.
- Repeating Text Lines works like a scrolling ad sign.
- The LCDDemo-LPC2158 repeats the following text lines in order:
| |
NXP
LPC2158
USB DEMO
I2C LCD |
The user can edit the
example software provided to easily “customize” these settings.
- Countdown Timer Mode provides a User Programmable Time
- The timer may be started and stopped by pressing SELECT
- While stopped, the time may be reset by holding down SELECT for two seconds
- The minutes field will then flash indicating the device is in program mode
- Pressing the SELECT button once increases the current
digit by one, and if SELECT is held, the scroll speed will quickly
increase to reach distant numbers
- Pressing the MODE button will move the user to the next
programmable digit. After the seconds field is set, SELECT may be
pressed to start the countdown.
- The default countdown time is (15 min, 00 sec).
- FM Radio Display simulates Frequency Scanning
- The simulated frequency is incremented by pressing the SELECT button
- If SELECT is held, the scan speed will quickly increase to reach higher frequencies.
- After reaching the topmost frequency (107.9) scanner will automatically
wrap around to the lowest most frequency (88.1).
- Custom User Message
- The custom user message mode is used to transfer
characters to the screen through the USB Virtual COM port on a PC.
- After entering this mode the cursor will be at the left
most character.
- On the PC to which the LCDDemo-LPC2158 is connected bring
up HyperTerminal with the default settings on the COM port of the
device.
- Press caps-lock and begin typing characters to display
them on the screen.
- Backspace deletes characters to the left while Enter
clears the screen.
|
|
| |
Programming New Software
It is possible to download user-written software
directly through the USB port on the device. The following procedure
should be used:
- Download the programming utility.
- Open the utility and click the Update
button to locate the desired .hex file to program onto the board.
- The utility will then read the program ID of
the application currently on the board and a dialog will be
presented asking to verify the download. Click OK.
- When prompted, unplug your LCDDemo-LPC2158
board and plug it back in to the USB port.
|
|
|
|