Shop OBEX P1 Docs P2 Docs Learn Events
SX and Seetron 2x16 lcd — Parallax Forums

SX and Seetron 2x16 lcd

Shawn LoweShawn Lowe Posts: 635
edited 2007-06-08 22:42 in General Discussion
Hello!
OK, I finally am playing with my sx lite kit I bought a while back. I've decided to play around with a ds1620 I have that I could not get to work with my bs2sx. Right now, I am not even hooking up the chip. I have downloaded the sx serial lcd demo program into my sx28 (hey, hey! downloaded and ran...yeah no problems!smile.gif ) When I run the program however, my lcd fills with triangles. I have played with the baud settings on the back (2400 or 9600), I have changed the serout speed and the true, open true values yet i still have triangles. I know my sx is sending data because I have characters moving randomly on the lcd, it just really acts like I have the baud setting wrong. attached is my program. I just have a wire from ra1 to the serial data pin on the lcd.

Sooo, any suggestions?

Thanks

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Shawn Lowe


My last words shall be - "NOT YET!!!"

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2007-06-08 02:06
    I have Seetron ILM-216Ls and they're spec'd for·Inverted TTL/CMOS (N2400, N9600.)

    Post Edited (PJ Allen) : 6/8/2007 2:13:55 AM GMT
  • FORDFORD Posts: 221
    edited 2007-06-08 02:13
    Can I also suggest that you just start with a simple one line of code to send one character to the display, and then go on to the more advanced code like you posted.

    When you do, remember to put a pause in at the start (about 200 milliseconds should be enough), to allow the display to initialise.

    Also when you clear the display with a command, have a short pause before sending more data to the display, as this can have strange affects on the display.

    Once you prove it this way, you know the baud rate is correct, and its easier to then get more advanced with the commands etc.

    Cheers,
    Chris, WA.
  • Shawn LoweShawn Lowe Posts: 635
    edited 2007-06-08 03:00
    OK-

    Yep, the problem was I was too complex, too early. Also the codes for the parallax lcd ARE NOT the same for my seetronic! Changing those up and I got a coherent message(you have to tell the seetronic your going to send a command before you send it). It will take some research to get it "cool" but at least I know I am communicating!tongue.gif



    Thanks guys

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Shawn Lowe


    My last words shall be - "NOT YET!!!"
  • JonnyMacJonnyMac Posts: 9,214
    edited 2007-06-08 03:30
    The SEROUT example in the help file will give you what you need to communicate with a SEETRON LCD and be cool at the same time.
  • Shawn LoweShawn Lowe Posts: 635
    edited 2007-06-08 22:42
    Ha, Ha!!! You the man jonnymac! The example was exactly what I needed.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Shawn Lowe


    My last words shall be - "NOT YET!!!"
Sign In or Register to comment.