MicroController Pros Home Page My Account  Cart Contents  Checkout  

****Note: We no longer process and ship international orders. Only orders from USA and Canada are now accepted.****
You can place international orders for our products on E-Bay. Just copy the item's title description from our website and paste it into the search box on E-Bay and place your order there.

  Store » EM1000-TEV My Account  |  Cart Contents  |  Checkout   
Quick Find
 
Enter keywords to find the product you are looking for in the Quick Find field above

or use
Advanced Search
Categories
Accessory Boards->
8051->
ADI Blackfin
Arduino->
ARM->
Atmel AVR->
Cypress PSoC
Freescale->
FTDI->
Locktronics
Microchip PIC->
MIPS
Parallax->
Renesas
Silicon Labs
ST Microelectronics->
Texas Instruments->
Tibbo->
Books->
Displays->
E-Blocks->
EEPROM/EPROM/FLASH
Embedded Ethernet->
Embedded Software->
I/O Modules->
Parts & Components->
Pick & Place Tools
Programmable Logic (PLD)
Prototype PCBs->
Robotics
ROM/Flash Emulators
Test & Measurement->
Tutorial Software
Universal Programmers->
Wireless->
Information
Intro to Embedded Tools
Embedded News Digest
Useful Resources
Shipping & Returns
Warranty & Liability
Privacy Notice
Conditions of Use
Contact Us
EM1000-TEV

Back to 4x Serial to Ethernet Terminal Evaluation Kit Ordering Page

The TEV-LB0 board carries a 128x64, black/white WINSTAR WG12864F LCD panel. This panel is based on a SAMSUNG S6B0108 controller (there are two controllers on one panel). The WG12864F does not have the contrast control, so the contrast control circuit is added externally. Additionally, there is a control line for the LCD panel's backlight. The image displayed on the panel is not visible unless the backlight is turned on.

Related datasheets, as well as the schematic diagram for the TEV-LB0 board can be found on Tibbo website.

Interconnection between the EM1000 and the panel/ contrast control/ backlight control

(1) Pin number on the TEV-LB0 connector.
(2) The line of the contrast control circuit, not the LCD panel itself.
(3) Backlight control line.

Required initialization code in Tibbo BASIC application

This section assumes that you are familiar with Tibbo BASIC and TIDE software. These are documented in the Tibbo BASIC Programming Guide.

For correct panel operation, click Project, Settings, and select EM1000 or EM1000W platform. Additionally, click Customize to open a Customize Platform dialog. In the dialog, double-click the Display Panel Type line and choose Samsung S6B0108 (Winstar WG12864F).

The following initialization code should also be added to your project:

lcd.iomapping=44,46,40,41,43,42,4 RST,EN,CS1,CS2,DI,RW,data_bus
io.num=PL_IO_NUM_46
io.enabled=YES
io.num=PL_IO_NUM_44
io.enabled=YES
io.num=PL_IO_NUM_40
io.enabled=YES
io.num=PL_IO_NUM_41
io.enabled=YES
io.num=PL_IO_NUM_42
io.enabled=YES
io.num=PL_IO_NUM_43
io.enabled=YES
lcd.width=128
lcd.height=64
lcd.rotated=NO
lcd.inverted=NO
lcd.enabled=YES
set_lcd_contrast(11)

The set_lcd_contrast() procedure should be called after the panel initialization. The procedure sets the contrast level in 16 steps, the contrast control hardware only has 4 data lines. Therefore, the contrast level of 16 is equal to the contrast level of 0.

Here is the suggested code for this function:

Sub Set_lcd_contrast(level As Byte)
Contrast control shares the data bus with the LCD. Initialize LCD first,
then set the contrast (before LCD initialization the bus may be driven
by the LCD)
enable port, output data
io.portnum=PL_IO_PORT_NUM_4
io.portenabled=255
io.portstate=level
generate strobe for the data register (on the LCD PCB)
io.num=PL_IO_NUM_48
io.enabled=YES
io.state=HIGH
io.state=LOW
disable port
io.portenabled=0
End Sub

Use the following code to turn on the backlight:

io.num=PL_IO_NUM_47 backlight
io.enabled=YES
io.state=LOW

Back to 4x Serial to Ethernet Terminal Evaluation Kit Ordering Page


Shopping Cart more
0 items
What's New? more
SAMD21 Dev Breakout, Arduino-M0 Compatible, Battery Connector
SAMD21 Dev Breakout, Arduino-M0 Compatible, Battery Connector
US$15.95
Bestsellers
01. 2x5 (10-pin) 0.05" pitch IDC Connector Flat Ribbon Cable, 20cm
02. 2x5 (10-pin) 0.05" pitch IDC Connector Flat Ribbon Cable, 12cm
03. 5-pin Press-Fit Header Strip, Breakaway Pins, 2.54mm Pitch
04. Parallel to USB Adapter: Connect USB printer to LPT port
05. 2x10 (20-pin) 0.1" pitch IDC Connector Flat Ribbon Cable, 15cm
06. 8-pin Press-Fit Header Strip, Breakaway Pins, 2.54mm Pitch
07. USB Universal In-Circuit Programmer PIC AVR ARM MSP 8051 EEPROM
08. 2x5 (10-pin) 0.1" pitch IDC Connector Flat Ribbon Cable, 15cm
09. ARM JTAG Debugger & Programmer, parallel port
10. Power Supply 3-12V DC, U.S. plug, 6 connection tips
Reviews more
Does not seem to work on Win 11. I'm running it in WinXP s ..
1 of 5 Stars!
  Thursday 28 March, 2024   List of all our Products

Copyright © 2003-2017 MicroController Pros LLC
Powered by osCommerce