led 043

Upload: affan-pringgo

Post on 10-Apr-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/8/2019 Led 043

    1/7

    GLICTalk-K1 for Windows

    This application will only run under Microsoft Windows 98SE or XP.

    General Operation.Whilst the GLIC-K and GLIC-T interpreter chips can be used for most basic graphic functions without

    an EEPROM, more advanced functions such as text and graphic storage require the EEPROM tobe connected.

    In order to download text and bitmap data to the EEPROM you will need GLICTalk-K1.

    Considering the low costs involved, we would recommend that all circuit designs include theEEPROM as standard. All options are available if using the FGC GLIC-K1 Interface pcb.

    You must only use the 24LC512 Microchip EEPROM.

    PC Connection.

    You will need an RS232-type serial port on your PC. You then connect to the PC interface

    as shown on the GLIC-T and GLIC-K data sheets. If you are using an FGC interface boardthen all the circuitry and sockets are already included - just power-up and plug-in.

    GLICTalk-K1 Overview.

    GLIC Talk-K1 allows you to edit or create text strings to be stored on GLIC-K or -T EEPROM.

    It also allows you to store bitmap images onto the non-volatile EEPROM.

    The Text character Strings can be retrieved and displayed, controlled by your PICAXE / Stamp code. Thiscan save a huge amount of code space - especially when some text messages are used repetitively.

    Graphic bitmaps are limited to 128 x 64 pixels in size in a 1-bit (black and white) format. NOTE: TheKS0108 / T6963 cannot display grey-scale and therefore images will NOT be photographic quality.

    FGC

    The first screen shows thebasic functions that you willuse for downloading textand bitmap images.

    For new users the buttonmarked Graphic Test isuseful to check that yourconnections and settingsare good.

    But first, there are twosettings to specify.1. Com port number.2. GLCD type.

    Read On ....

    Opening Screen. GLCD TypeSelected Comm Port No.

    Text Screen

  • 8/8/2019 Led 043

    2/7

    Initial Setup.

    Your first steps are to ensure that:-

    You have selected the correct Com port number

    You have selected the correct Graphic LCD (GLCD) type

    Com Port number.

    All serial connections on a PC have an associatednumber so that communications data goes to andfrom the correct place.

    This is usually COM1, but if you have a PC cardinterface or a USB-Serial adaptor this may havebeen defined as a different number.

    Use the Comms dropdown to select the number.

    Graphic LCD (GLCD) type.

    GLICTalk-K1 will support GLIC-T and GLIC-K.

    GLIC-T is used for T6963 based GLCDs.

    GLIC-K is used for KS0108 based GLCDs.

    Use Display dropdown to select the correct type.

    Fastkey Note:CTRL+K selects KS0108.

    CTRL+T selects T6963.

    Initial Tests.

    You should now have your PC connected to the GLIC-K or GLIC-Tinterface using the circuit described on the GLIC-K/T data sheets.

    If you are using the FGC Interface board then everything is ready.

    You must now supply +5V to the circuit - if using home-made circuit orbread-board you must remember to apply the NEGATIVE voltage to the GLCDvia the contrast potentiometer. You may have to adjust the Contrast pot to seethe screen.

    Click on the Graphic Test button.

    You should see:-

    1. 3 concentric circles appear on both PC screen and GLCD screen.

    2. Hello from PC appears on PC and GLCD screen.3. A border animation appears on GLCD screen only.4. GLIC firmware description on GLCD screen only.

  • 8/8/2019 Led 043

    3/7

    Initial Check (continued).

    IF nothing happens:1 Check Power2 Check Negative voltage to GLCD

    3 Check Serial cable4 Check Port Number5 Check driver / settings if using a USB-Serial adaptor.6 Check driver / settings if using a Brain Boxes Ltd PC or PCMCIA card.

    (We do NOT support queries if using unbranded devices!)

    If you are using an FGC Interface board then it should work first time.

    If you are using a home-made pcb or birds-nest breadboard then you could be in for a long haul.

    Check and double-check. Remember, the GLIC- and GLIC-K circuit and software designs haveundergone rigorous testing. The circuit and software is perfect. However, if you have electricallydamaged the GLIC chip or the GLCD (or any other component) then you will have to replace them atyour cost - so be careful.

    IF the graphics work but no text appears then you have forgotten to set it to the correct GLCD.So, check to see whether you are using a GLIC-T (T6963) or GLIC-K (KS0108) GLCD.

    Set it using the Display dropdown.

    All OK now?

    STORING TEXT on GLIC-T or K EEPROM.

    Click the GLIC TEXT Dialogue button.

    Any text data in the EEPROM will be transferredto your PC and will be displayed in the textscreen.

    On a fresh (empty) EEPROM the text screen will be blank.

    To enter text, either:-Manually type in text in the text screen.Create text in Notepad and use the File / Open dropdown dialogue to import.

    NOTE: 20 characters maximum per line. 100 lines maximum. Anycharacters over the limits will be erased and ignored.

    Saving Text.

    If you wish to save the text on the text screen, then select File / Save As...

  • 8/8/2019 Led 043

    4/7

    Sending Text to EEPROM.

    Once you have typed in your text, you will need to send it to the EEPROM.

    To send the text to GLICs EEPROM, you click the Send Text to GLIC BUTTON.

    You will now see a Progress Screen on your PC and the GLCD.

    It will take about 10 seconds to download...

    IF THERE ARE ANY PROBLEMS when using a USB-Serial adaptor you may have to increase theComms / Delay value.

    The Dont Send button terminates the text dialogue link with the GLIC-T/K. Confirmation will be

    displayed on the GLCD screen.

    A Good Idea.SAVE a copy of the text screen as your PICAXE / Basic Stamp code will be calling particular linesfor display. Then youll know which number to use in the Serout command.

    Clear EEPROM.

    Clicking the Clear EEPROM button will blank the text section of the GLIC-K/T EEPROM.

  • 8/8/2019 Led 043

    5/7

    Downloading a bitmap Image to GLIC EEPROM.

    Click the Load bmp Image Dialogue button.

    This starts the Image-select and download dialogue...

    Select the desired file and click Open.

    (Clicking Cancel abandons the dialogue.)

    You will now be asked for an image number whereto store the image.

    The number you choose specifies the EEPROMlocation where the image is stored. It is also thenumber you use in your PICAXE / Basic Stamp

    code for displaying the image.

    Enter a number between 1 and 20 for the location.

    Click OK and the download will start.

    You will see a Progress Bar on your PC and GLCDscreen. Download takes about 10 seconds.

    The GLCD screen will also notify you of commserrors or if an interruption has occurred

    After a successful download the image will be displayed on the GLCD screen for 3 seconds.

  • 8/8/2019 Led 043

    6/7

    Creating a bitmap image for download.

    You will need to create an image of the following specification:-

    128 x 64 size.

    1 bit (black & white) image

    Save as Windows bitmap format.

    Any other size or format will be rejected by GLICTalk-K1.

    So, dont expect photographic quality images.

    Almost any image-creation application can be used.

    GLIC-K1 Functions.

    A number of new functions have been included to speed-up code development.

    Syntax/Run.

    Use the Display dropdown to access these commands.

    Now select the command for Syntax information.

    You will be shown a new window listing the command

    syntax and the meaning of each parameter.

    An example is shown on how to use the command.

    You will be presented with the option to RUN the selected command.

    If you choose to Run this Command a newdialogue box will appear.

    It gives a brief syntax description and an inputzone where you can type in some values.

    A simple set of example values are given.

    You can then click OK and the command is runthrough the mini-interpreter and sent to the GLIC-K/T for execution on screen.

    Parametric errors will be displayed.

  • 8/8/2019 Led 043

    7/7

    DO NOT use a PICAXE interface and DO NOT think that the serial connections are the same as PICAXE. Use the circuit

    diagram shown on Pages 2 and 5 of the GLIC-K1 main Data Sheet.

    GLICTalk-K1 will only work on PCs running Microsoft Windows 98 or XP.

    Due to the variable performance of USB-Serial adaptors we cannot support any adaptor-specific communication issues.However, we are currently optimising the software to work with the adaptor supplied by Rev-Ed.

    For notebook PCs we always recommend the PCMCIA/Cardbus Serial adaptor made by Brain Boxes Ltd. It is not cheapbut has a high specification and is of extremely high quality.

    Windows and XP are trademarks of the Microsoft Corporation.GLIC, GLIC-K1 , GLICTalk and GLICTalk-K are FGC copyrighted product names.

    Enter Command Line

    This is a shortcut method to execute a GLIC command line.

    You simply type in the Command Number followed by theparameters in the same way as you would enter theparameter list within your PICAXE / Basic Stamp Seroutcommand.

    If you click on the OK button the command string is checkedby the mini-interpreter and if OK will be sent to the GLIC-K/Tand displayed on the GLCD screen.

    This new option allows you to rehearse your command lines before coding up.

    CLS Before Run.

    Selecting this option initiates a Clear Screen command to the GLIC-K/T before your command isexecuted. This can make things easier to view when testing commands.

    GLCD Characters

    This tells the GLCD to display the specially pre-programmed character set.

    You can use these characters from your code using the Character Number value in your PrintATcommand by specifying their code number. Note: Specifying an ASCII number in the GLICTalk-K1RUN command will cause an error. This is to be used ONLY in your PICAXE / Basic Stamp code.

    Message Delay

    Some functions display a message window on your PC. These windows appear only for a short time andthe Message Delay dialogue box can be used to change the amount of time they stay on-screen.

    Comms / Delay.This varies the time between data block transmission from your PC to the GLIC-K/T + EEPROM. Thedefault delay should be adequate for most serial links, but if you are having problems with unbrandedadaptors you may have to increase this delay time. We will NOT support technical issues if you areusing cheap/unbranded serial adaptors.

    FGC Queries: [email protected]