Vous êtes sur la page 1sur 3

Problem on Samsung KS0713 - Crystalfontz LCD Forum http://www.crystalfontz.com/forum/showthread.php?

t=5123

Crystalfontz Home
Product Listing
Software
Contact Us

Crystalfontz LCD Forum > Crystalfontz Products > Technical Support User Name User Name Remember Me?
Problem on Samsung KS0713 Password Log in

Register Today's Posts Search

Thread Tools Rate Thread Display Modes

2007/03/09, #1
01:30 PM

Problem on Samsung KS0713


lun
Registered
I am using PIC 16F876A to interface a LCD display which is a dot LCD, 128 X 64.
Join Date: And the LCDdirver is SamsungKS0713(S6B1713), transfer the data in serial
2007/03
Posts: 3 mode. By using CSS complier to program the PIC. The problem is can't show any
image on the LCD, but I initialise and turn on the display successfully.

Code:

> #include <16F876A.h> //Sets the PIC


> #include [/php]
> #use delay(CLOCK=20000000) /* 20MHz crystal */
> #fuses HS,NOWDT,NOPROTECT,NOLVP //Xtal, No Watchdog timer,
> No code protection, No Low voltage programming (otherwise
> B3 get doesn't work!!)
> #include
> #include
> #include
> #use standard_io(B)
> #define CS1B PIN_B4
> #define RS PIN_B7
> #define SID PIN_B2
> #define SCLK PIN_B3
> #define RST PIN_B1
>
> void LCD_display();
> void LCD_initial();
> void serout(int);
>
> void main()
> {
> //transfer the data in seial mode
> output_low(RST); //reset the driver
> delay_us(1);
> output_high(RST);
> output_high(CS1B);
> delay_us(1);
>

2007/03/09, 06:55 PM #2

cosmicvoid After your init function, is your display screen completely dark?
Registered
It looks like you are using the maximum values for your charge
pump (voltage converter) setup:

1 от 3 14.11.2007 г. 12:18
Problem on Samsung KS0713 - Crystalfontz LCD Forum http://www.crystalfontz.com/forum/showthread.php?t=5123

serout(0X27);
serout(0X81);
serout(0X3F);
Join Date: 2003/11
Location: Western WA, USA
Posts: 458 In my application, I use 0x26 for the regulator range setting, and
0x81 + 0x20 for the contrast initial setting (and then vary the
0x20 to get the proper contrast).

Try using these values (0x25 or 0x26), and see if it makes a


difference.

Also, try using 0xA2 instead of 0xA3 for the 'bias' setting, which
affects the range of the other contrast command values.
Experiment with the different combinations.
__________________
Infinity or Bust

2007/03/11, 01:35 PM #3

lun Thanks a lot. I have tried different combination, but it still doesn't
Registered work. I can turn on the LCD display, and it shows a green screen
without any image only.
Join Date: 2007/03
Posts: 3

2007/03/11, 05:22 PM #4

cosmicvoid Quote:

Registered Originally Posted by lun


I can turn on the LCD display

How do you know that you are actually turning it on?? From what
Join Date: 2003/11 you say, only the backlight is on.
Location: Western WA, USA
Posts: 458
It seems more likely that your commands are not working, and
the display remains un-initialized. If the charge pumps are
working, then some or all of the pixels should become dark (to
some degree). Are you sure that your wiring is correct, and that
your timing is within the specifications? Have you looked at your
signals with a scope?

It might help if you tell what brand and model of display you are
using.
__________________
Infinity or Bust

2007/03/12, 04:07 PM #5

lun cosmicvoid, Thanks a lot. I found out that is just some connection
Registered problem.
Join Date: 2007/03
And I reconnected it and changed the combination as you said and
Posts: 3 it works well.
Thanks, your advice is really helpful.

« Previous Thread | Next Thread »

2 от 3 14.11.2007 г. 12:18
Problem on Samsung KS0713 - Crystalfontz LCD Forum http://www.crystalfontz.com/forum/showthread.php?t=5123

Posting Rules

You may not post new threads


You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On Forum Jump
HTML code is On Technical Support Go

All times are GMT -7. The time now is 11:22 PM.

-- Default Crystalfontz Style Contact Us - Crystalfontz America Inc. - LCD Displays - Archive - Top

Powered by vBulletin® Version 3.6.4


Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.

3 от 3 14.11.2007 г. 12:18

Vous aimerez peut-être aussi