Electronics KS0108 or not?

Discussion in 'Modding' started by CyberVillain, 17 Mar 2005.

  1. CyberVillain

    CyberVillain What's a Dremel?

    Joined:
    20 Oct 2004
    Posts:
    3
    Likes Received:
    0
    I've found a really nice PLED 128x64 display.
    [​IMG]

    Its suposed to be KS0108, but i've compared the pinouts with a display that i know is KS0108, and they differ on some pins... any KS0108 expert here that can take a look at the procuct specification PDF?

    http://www.elfa.se/pdf/75/07550122.pdf

    Regards, Anders
     
  2. Henri

    Henri What's a Dremel?

    Joined:
    21 Jan 2003
    Posts:
    83
    Likes Received:
    0
    That doesn't look like KS0108 to me.

    Do you have more complete datasheet that would also show the commands used to control it ?
     
  3. Henri

    Henri What's a Dremel?

    Joined:
    21 Jan 2003
    Posts:
    83
    Likes Received:
    0
    Ok I also checked Bolymin site for any information about this display and found just the same PDF there. Maybe you could email Bolymin and ask for more information about the display.

    I can now see that it says "KS0108 alike" in the PDF but as it doesn't have CS lines it has to be somewhat different. But maybe the command set otherwise is same as KS0108 but would be nice to have more information about the controller used in it. Also would be nice to know more about the Vcol, Vrow and Vbt.
     
  4. Hazer

    Hazer In time,you too will be relixalated

    Joined:
    14 Apr 2003
    Posts:
    957
    Likes Received:
    2
    Here ya go:

    http://www.stek-inc.com/PDF/SO12864C.pdf

    On page 19, you will notice they call it the BL12864C, so dont worry about if its the same display or not. It is the same display. Gives very good explanation on Vrow, Vcol, and Vbt (contrast voltage). It is the KS0108 controller. I havent played with one of these, so I have no idea how fun or not, but since its 8bit it shouldnt be bad. I just like having a character layer personally.
     
  5. CyberVillain

    CyberVillain What's a Dremel?

    Joined:
    20 Oct 2004
    Posts:
    3
    Likes Received:
    0
    So there is no known way that a display like this is conneted to the paralellport of a Computer? I mean since it does not have teh standard pinouts i can not follow the standard KS0108 wiring-sheets that is everywere on the net.

    regards, Anders
     
  6. coorz

    coorz Miffed

    Joined:
    25 Apr 2003
    Posts:
    1,382
    Likes Received:
    2
    If it's 100% KS0108 compatible then there would be no problem as most lcd apps support that.
    If not then the lcd apps author(s) has to write one for it.
     
  7. Hazer

    Hazer In time,you too will be relixalated

    Joined:
    14 Apr 2003
    Posts:
    957
    Likes Received:
    2
    What do you mean about standard wiring?

    It has the following which should be easy:
    E-enable
    RS-register select
    nReset- reset
    Busy - busy signal
    DB0-DB7- your 8 bit data path

    These should be easy to connect to the parallel port.
    The rest is ground, Vdd = 5V, Vcol = Vrow = +13V, and Vref connected to a pot and 5V for contrast. You may even get lucky and be able to wire the +13V to the 12V molex and get the whole thing working without an external power supply.
     
  8. Henri

    Henri What's a Dremel?

    Joined:
    21 Jan 2003
    Posts:
    83
    Likes Received:
    0
    I think he means the wiring usually used with LPT port connected KS0108 displays with "standard wiring".

    Thanks Hazer for that datasheet. Now that I looked into it I noticed that I already had the same thing in my archives.

    Looks like the instruction set is something like KS0108 but still the display won't work with software done for KS0108. One KS0108 can only handle a 64x64 pixel area so that's why there are two KS0108 IC's and chip selects in a 128x64 KS0108 display. But this one doesn't have any chip selects and seems to only have one controller that can handle the whole 128x64 area. This makes the code simpler to write than for KS0108 as there's no need to change the controller at the 64 pixel boundary. But this also means that KS0108 code won't work with this.

    Also the datasheet is saying that the bytes are arranged horizontally in the display memory instead of vertically like with KS0108.

    So seeing all these differences I'm not really sure why it's called "KS0108 alike" controller.

    But there should be no problems using this in LPT port if a driver is written for this display.

    This looks like interesting display so I'm probably going to get one sometime in future and write a driver but can't afford buying one at the moment.
     
    Last edited: 19 Mar 2005
  9. mbates14

    mbates14 What's a Dremel?

    Joined:
    25 Nov 2005
    Posts:
    36
    Likes Received:
    0
    they probably meant by the term "alike" because they are both graphics only controllers, and the data is written into the display RAM in almost the same manner.


    the one going on ebay OSD2401M04 is a higher contrast version of the M03 which is KS0108 "alike" it accepts basically the same instruction set, except there is no need for CS1/CS2 inputs, as the ATmega8 controller inside the display handles the entire display.

    so the only thing really, you need to do in the software, instead of changing to CS2, and resetting addys to 0, just dont fool with CS1/CS2, and write the bitmaps flat out, the addy auto-incrememnts. ;)


    Im writing some ATmega48 code for this particular display, so i can give you some heads up. Im going to use mine in a stand-alone audio spectrum analyzer. (no PC needed, FFT is performed in the chip, using some math and ADC).
     
  10. One~Zero

    One~Zero What's a Dremel?

    Joined:
    9 Sep 2004
    Posts:
    214
    Likes Received:
    2
    Henri and Coorz....you know I had to join in on this discussion :D
    I sell similar PLED 128x64 PLED displays that are 100% compatible with the KS0108 controller. Plus, they don't require the extra voltages for the Vcol and VRow drivers. Runs straight from 5VDC, very easy hookup.
    You can read up a bit more about them here:
    KS0108 PLED 128x64
     

Share This Page