SED1330f Graphic LCD Control

General discussion relating to the library modules supplied with the compiler

Moderators: David Barker, Jerry Messina

Post Reply
stewbeans
Posts: 2
Joined: Tue Feb 20, 2007 12:58 am
Location: Dallas, TX (USA)

SED1330f Graphic LCD Control

Post by stewbeans » Tue Feb 20, 2007 1:08 am

Hello, this is my first post on this forum, I am used to using BasicMicro's comiler but needed something with support for larger memory PICs, and so I'm trying Swordfish. It looks great so far, I don't have a formal engineering education so please put up with my knowlege holes the next few months as i get up to speed with swordfish.

Anyway, I've read that the supported graphics controller, S1D13700, is very similar to the SED1330f controller i've got on my 256x128 display. Is it possible that simply changing the screen size parameters in the module could make the code work?

Thanks,
Stewart

User avatar
Steven
BETA Tester
Posts: 406
Joined: Tue Oct 03, 2006 8:32 pm
Location: Cumbria, UK

Post by Steven » Tue Feb 20, 2007 8:40 am

Hello Stewart,

Welcome to the forum. I am sure that you will enjoy exploring Swordfish. I have had a good first look through the datasheet for the SED1330f and at first review, it does look very similar to the S1D13700. The commands seem to be the same. Yes, you will need to change the screen size in the S1D13700 library, but you will also probably have to change part of the initialisation sequence. The SYSTEM SET and SCROLL commands have parameters that depend on screen size. Have a look at the datasheet - in the version I have looked at, they give suitable values for a 256 x 128 display. Let me know if you have any problems with doing this and I'll see what I can do.

Regards,

Steven

stewbeans
Posts: 2
Joined: Tue Feb 20, 2007 12:58 am
Location: Dallas, TX (USA)

Post by stewbeans » Tue Feb 20, 2007 2:58 pm

Great, thanks for the help! I'll work on it and let you know if I run into any problems I can't seem to solve.

Stewart

skartalov
Posts: 37
Joined: Fri Apr 09, 2010 10:50 am
Location: BULGARIA

Post by skartalov » Sat Apr 10, 2010 1:11 pm

Hi,
I own 320x240 GLCD with SED1330 controller:

Datasheet:

http://home.comet.bg/datasheets/LCD%20G ... 0240A1.pdf

Until now I couldn't succeed to run it!

Any ideas what can be wrong?

THANX

2brain
Posts: 18
Joined: Fri Jan 22, 2010 1:04 pm
Location: Hong Kong

Post by 2brain » Mon Apr 12, 2010 3:29 pm

Skartalov,
does your LCD display have the optional internal DC/DC convertor or are you supplying -20. Without one or the other you not going to see anything. You also need the variable resistor connected from the -20 to Vo to adjust the contrast or you are not going to see anything either.

skartalov
Posts: 37
Joined: Fri Apr 09, 2010 10:50 am
Location: BULGARIA

Post by skartalov » Sun Apr 18, 2010 6:57 am

I supply -20V from another power supply. I see only initialization of the display, as it becomes black for a moment, and then goes white (green) again. That's all.

2brain
Posts: 18
Joined: Fri Jan 22, 2010 1:04 pm
Location: Hong Kong

Post by 2brain » Sun Apr 18, 2010 9:12 am

You didn't say whether you have a variable resistor (10K ohms) between Vo, 0v(ground) and your -20v.
What code are you using as the basis of your application?
Assuming you are using SE what GLCD driver are you using?
Can you add some code to your next post?
The more information you can give the easy it will be to help.

Post Reply