Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

make yourself a 4x40 serial LCD

Discussion about LCD's and other related hardware

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351, hydrolisk1792

Post Reply
caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

make yourself a 4x40 serial LCD

Post by caesar »

This project is not developed anymore, a better version with USB support has taken over, read here: http://forums.lcdsmartie.org/viewtopic.php?p=10613

I started working on a 4x40 serial LCD, it uses a 16F877 (877A/876/876A) PIC and the RS-TTL converter of your choice.

The first beta version recognizes just cursor positioning, custom characters, home and clear screen. Communication takes place at 38400bps so winamp spectrum analyzer looks great, without gliches.

If there is someone interested, I can further develop the command set (backlight, buttons, GPO's).

Hex file and schematics are available on request (PM me with your mail).

Edit:
- added backlight and contrast commands, working fine.
- 57600bps 90% functional.
Last edited by caesar on September 20th, 2006, 12:57 am, edited 2 times in total.

Rafael
Plugin Author
Posts: 71
Joined: November 22nd, 2005, 7:12 pm
Location: Curitiba, Paran?, Brazil

Post by Rafael »

We can start the tests when you want!!! :D

caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

I have managed to get the communication speed up to 57600bps.
Spectrum analyzer never looked half so good on a serial connection.

Stay tuned for backlight, brightness and GPO's. Buttons will be available only with a separate low cost PIC.

jwildesbr
Posts: 2
Joined: May 9th, 2006, 8:05 pm

make yourself a 4x40 serial LCD

Post by jwildesbr »

Hi,

Can you send or post the project to us?
My email is jwildes@hotmail.com

Thanks a lot,

sonnyk88
Posts: 3
Joined: May 8th, 2006, 9:42 pm

Thx

Post by sonnyk88 »

caesar,

I finally got time to build circuit. I am using your rev 0.9 code at 19200. It works great.

The block character only displaying with two straight lines instead of block.

Thanks

sonnyk88
Posts: 3
Joined: May 8th, 2006, 9:42 pm

opps

Post by sonnyk88 »

After restart smartie, power cycle lcd and cicruit. The block character is displaying correctly.

caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

Great!

How's the contrast setting working (and backlight too)?

The custom characters are only changed if you restart smartie or change to a screen with other custom characters. (use this if you power cycle the lcd).

PS: just a hint - use the edit button to add to a previous post if nobody has made a reply yet!

sonnyk88
Posts: 3
Joined: May 8th, 2006, 9:42 pm

Post by sonnyk88 »

My DataImage LCD does not has backlight, so I can't test it. But the contrast did work, but it was on C1 instead on C2 Pin.

_X7JAY7X_
Hardware Genie - Plugin Author
Posts: 374
Joined: February 16th, 2005, 10:24 pm
Location: Michigan

Post by _X7JAY7X_ »

Just wondering how the 4x40 is working. Is it out of the testing phase? Do you have button or gpo support?

J

caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

It'll stay in testing phase untill it has all MO commands implemented.
GPO is alpha now, soon to be released in beta. Buttons are working but at 19200bps in the one chip version.
I think that most users prefer a 19200bps one chip version than a two PIC version at 57600bps (both versions with button support).

Switching it to a low cost 40MHz 18F PIC (some are cheaper than 16F877) could get buttons support at maybe 115200 bps.... or at least 57600bps.


This project is not developed anymore, a better version with USB support has taken over, read here: http://forums.lcdsmartie.org/viewtopic.php?p=10613

caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Re: make yourself a 4x40 serial LCD

Post by caesar »

Due to interest in this project I searched my old backups for this project and found the compiled hex file.

chip is 16F877(A) with 20MHz crystal, fuses are set in hex file
4x40.rar
Wiring is:
PORTB data lines to LCD D0-7
PORTD.7 to LCD E1
PORTD.6 to LCD RW
PORTD.5 to LCD RS
PORTD.4 to LCD E2

communication is serial @ 57600bps, select MO protocol in Smartie
RX and TX need a RS232 to TTL converter like MAX232 or compatible
You do not have the required permissions to view the files attached to this post.

Post Reply