(For another sample code for KS/S6A, go to . TRIS_DATA_PORT &= 0xfff0; //make data port output. DATA_PORT &= 0xfff0. KS from Samsung Semiconductor Division. Find the PDF Datasheet, Specifications and Distributor Information. Jun 13, KS and SED . Character pattern data corresponding to each segment So to speak, after MPU reads DR data, the data in the next.

Author: Dasho Vizragore
Country: Algeria
Language: English (Spanish)
Genre: Medical
Published (Last): 24 April 2013
Pages: 373
PDF File Size: 8.51 Mb
ePub File Size: 19.22 Mb
ISBN: 150-3-16707-659-9
Downloads: 19027
Price: Free* [*Free Regsitration Required]
Uploader: Voll

Guest Super Member Total Posts: By using the Potentiometer, I kan vary the intensitiy of the blocks from very dark to very light.

This could be due to a wiring problem or a code problem. But I am able to adjust the contrast and tried already all “positions”: The reversed backlight connections that seem to work OK still bother me as well.

Follow the LCD Initialization link at http: I don’t know what happened to all the other LCD guru’s. Don’t wanna expend another 22 Bugs on a new LCd That’s pin 5 as shown bere: What else can I try to fix this damn problem? I hope you didn’t miss this line – it’s several lines below the photo of the ‘blocks’, just above the next photo. I’ve pasted it below for anyone who might be in the position I once was. Could I by any chance see the header file you used and possibly an example program using these functions?

You should have had two rows of blocks on a 20×4 display.


I also tried this code to bar a mistake of the lcd library: I just can’t understand why virtually every LCD program author decides that they should deviate from the initialization sequence given in the datasheet.

One other thing I might suggest, maybe you could use different port for the RS, RW, E, I know that you’d mask port D to make sure other than data bits nothing’s affected, but it’s good to be on the safe side. The LiquidCrystal library isn’t totally correct either and that could possibly be your problem, but it’s not likely. C” Line 7,8: The code you referenced is another example dzta this, and it’s worse than most.

Problem: Arduino & LCD with KS / SPLC

I wired it up as explained on the adafruit website http: I’m not sure what that error means, maybe the linker file that you use has not defined PORTDbits since you have a different compiler? I already tried some othere libraries like the LCD4Bit but it didn’t wor either.

Forum Themes Elegant Mobile. Hi, Sorry I hadn’t checked this for a while. Also, you never commented on this from reply 3 Quote. I only changed the 16, 2 to 20, 4.

This is the code I used. Look for poor joints and for bridges shorted pins. Generates various delay lengths Values given depend upon 3. User Control Panel Log out. I now dta out, that the display hasn’t the HD Chip rata an other which is almost the same. Haven’t received registration validation E-mail? Try disconnecting both backlight wires and see if you can discern anything on the display when you run kks0066 sketch. Hi Marine, Thanks for the code. This routine configures the LCD.


I get an error on compile. Pin 16 wasn’t soldered that good, so I wired it dzta. I’m still thinking about it. Try looking at the linker file and see if there is anything defined as PORTDbits, if not, see how they defined it.

Sample code for Samsung KS0066/S6A0069 LCD driver

I found the data sheet here: It almost has to be something to do with one or more of the six data lines between the Arduino and the LCD. Hope you can help me! I checked the other pins by using the “diode” test of my multimeter one Pin to the soldered Pin, the other to the board. I read of some Problems if the contrast isn’t adjusted properly.

It’s got to be something simple that we are overlooking. All pins are soldered well. We are back to this “The reversed backlight connections that seem to work OK still bother me as well. Why does my PIC32 cata slower than expected? The “best legibility” is around 0,35V the contrast isn’t to high, and the blocks are already visible. I’ve looked at the xlcd.