Page 1 of 1

KS0108 Graphical LCD

Posted: Wed Jan 01, 2014 7:42 pm
by JohnCrow
I've just connected up a 128x64 Graphical LCD using the KS0108 controller.
The use of this has now been simplified with the addition of a component in FC6. (I have used the display before, but with a I2C controller)

I have attached a simple flowchart to use it as a bar graph temperature display.
I have kept it simple using only integer math.
Temperature is measured using a LM35 type temperature sensor.

The display can be configured as white on blue or blue or blue on white.
It can also be used in either landscape or portrait mode. by simple changes in the component properties.

Wires for the contrast pot and back-light resistor(560-R) are run under the display.
5V and ground are connected via the screw terminal at the top right, though ground can be taken to the 9-pin connectors as with all standard e-blocks.
Display_Small.jpg
Display_Small.jpg (96.72 KiB) Viewed 10526 times
System_Small.jpg
System_Small.jpg (59.89 KiB) Viewed 10526 times
Simple Temp Display.fcfx
(10.33 KiB) Downloaded 664 times

Re: KS0108 Graphical LCD

Posted: Wed Jan 01, 2014 8:00 pm
by Steve001
looks like a nice project john, what display is that ?

steve

Re: KS0108 Graphical LCD

Posted: Wed Jan 01, 2014 8:34 pm
by JohnCrow
Hi Steve

Its a standard graphical LCD with the KS0108 controller (It actually has 2 controllers, but that is transparent to FC)
I got it from a firm in Sheffield who does a lot of Microcontroller stuff (ByVac)
I've mostly got bits from him at the National Hamfest at Newark showground over the last 3 years, but he supplies by post as well.
Nice products.

http://www.byvac.com/bv3/index.php?rout ... duct_id=60

I want to add a couple of 9-pin d connectors using the breakout boards I've used on other boards, but I need to order some more once I get a list of bits sorted.
This will be easier than wiring all those single jumpers every time I want to use it.

Re: KS0108 Graphical LCD

Posted: Wed Jan 01, 2014 10:13 pm
by Steve001
Thanks for that john

Havent been to a ham fair for a couple of years now will have to look out for some
JohnCrow wrote:I want to add a couple of 9-pin d connectors using the breakout boards
:D

they do make things easier .. the first five i used i soldered them upside down :oops: :oops: :lol: :lol: :lol:


steve

Re: KS0108 Graphical LCD

Posted: Wed Jan 01, 2014 11:10 pm
by Kenrix2
I have the V6 free edition v6.0.4.0(27.11.2013), it is past the 30 day trial, and I get this error when I try to open your project:

Failed to open document.
Attribute <start> is not found

I am very curious how you did the bar graph. Any Ideas on how I can open this?

Re: KS0108 Graphical LCD

Posted: Thu Jan 02, 2014 1:24 pm
by Benj
Hello,

John has access to the VC release of Flowcode which is slightly more up to date then the public release.

I am talking with Jonny now to see if there is an easy way of opening John's example using 6.0.4 so please bear with us.

Re: KS0108 Graphical LCD

Posted: Thu Jan 02, 2014 4:10 pm
by stewartbaker
Yes, I found this as well.

3rd time of happening :-)

Stewart

Re: KS0108 Graphical LCD

Posted: Sun Jan 12, 2014 1:27 pm
by JohnCrow
I've added a couple of D-Plugs so the board can be connected easily.

The Flowcode component defaults to Port C & Port B, but it will work if the Port B pin settings are changed to Port D.
That way it can be plugged onto the programmer directly rather than having to use ribbon cables

The header pins have been left connected so the display can be used with the Arduino
Finished.jpg
Finished.jpg (88.96 KiB) Viewed 10370 times

Re: KS0108 Graphical LCD

Posted: Wed Jan 29, 2014 5:51 am
by anglenasalt
it looks like a nice project john, what display is that ?