Shop OBEX P1 Docs P2 Docs Learn Events
T6963c anybody have code that works — Parallax Forums

T6963c anybody have code that works

cyplesmacyplesma Posts: 76
edited 2007-08-28 20:40 in BASIC Stamp
been playing with a couple of 240 x 64 lcds either they are both bad or the code I have doesn't work. I have changed the code so many ways and so many times I'm definitely lost. I am using a BS2 on the homework board, but I do have a 9v power supply hooked up to it instead of the battery.

Does anybody have code that actually works?

and could you send it to me, pl pl pl plplease. freaked.gif

Post Edited (cyplesma) : 8/19/2007 11:46:36 PM GMT

Comments

  • FranklinFranklin Posts: 4,747
    edited 2007-08-20 00:34
    The chip seems to do 80x32 characters, what is it you have tried (attach some code)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • cyplesmacyplesma Posts: 76
    edited 2007-08-20 02:22
    mhmmmm I have tried the setting for both 8x8 font and 8x7 font.

    here's the code, the latest that I tried, I have tried mixing the order of the pins that control the chip.

    I haven't used any pull up resistors at all with the high imedance d0-d7 pins. On any device should pullup resistors be used?

    I'll also include two of the many pdfs I have on this chip and one on the lcd itself.
  • FranklinFranklin Posts: 4,747
    edited 2007-08-20 03:44
    If a device requires a known state then pullup/down resistors should be used.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • cyplesmacyplesma Posts: 76
    edited 2007-08-21 04:59
    well I hooked this lcd up to the printer port and tried 3 different lcd programs to see if they could display anything and they can't. So I'm thinking at this point I have a bad lcd (I guess you get what you pay for - 20.00 eio.com and who knows maybe I let the magic smoke out). I did change a few things with the code, I pulled out the reset signal lines and used a momentary switch, something I learned from the printer port diagram.
  • cyplesmacyplesma Posts: 76
    edited 2007-08-24 16:53
    ok, pretty sure my green/yellow 240x64 lcd is dead. I was able to get my blue/white 240x64 lcd to display something from lcd studio although it does seem to be very flakey at best. The first time I hooked it up (b/w lcd) it did everything it was supposed, I disconnected it put it away for a few days, and then retried it last night, and it didn't work 100%.

    I tried the b/w lcd with the stamp, seemed to get some weird stuff on the screen, thought I might have something going but alas, eventually I got a blank screen. Changed some code here and there, but nothing. Still, haven't given up.
  • cyplesmacyplesma Posts: 76
    edited 2007-08-28 20:40
    green/yellow lcd is not dead, seams that you have to check the contrast voltage while the lcd is powered up. I was setting the voltage (-7vdc +/- 2v) while the lcd was off and I was just using a couple of resistors to get the contrast voltage in this range.

    but.... seems when I was doing this the voltage would change to a +3vdc while the power was applied to lcd. soooo I used a pot (correct thing to do anyway) to adjust the voltage to be -7 while the lcd was being powered.

    the lcd does work with with lcdstudio. Just need to get back to wiring it up to the stamp and start my coding troubleshooting again. may not happen for a few days.

    but if anyone else has code that works, I'll be happy to make use of it.
Sign In or Register to comment.