128x64 LCD X Y Plotter

Tips, Tricks and methods for programming, learn ways of making your programming life easier, and share your knowledge with others.

Moderators: Benj, Mods

Post Reply
Harry Tuttle
Posts: 27
Joined: Sat Aug 01, 2009 3:15 pm
Has thanked: 2 times
Been thanked: 10 times
Contact:

128x64 LCD X Y Plotter

Post by Harry Tuttle »

Simple little programme for the Byvac BV4512 128x64 LCD Graphic controller using hardware I2C.

http://www.byvac.co.uk/downloads/datash ... aSheet.pdf

Two analogue inputs ( a couple of potentiometers ) are read by the 16F877A to give X and Y coordinates which are plotted on the LCD in the style of an Etchasketch. There are some extra macros that are not used in Main but might be of use.
BV4512.jpg
(66.3 KiB) Downloaded 6979 times
pots.jpg
(98.74 KiB) Downloaded 6979 times
BV4512.fcf
(14.12 KiB) Downloaded 886 times

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: 128x64 LCD X Y Plotter

Post by JohnCrow »

Thanks
Just bought one of these displays at a rally this afternoon.
I was sure Id seen them mentioned on the forums.
Been able to use your program to verify the hardware is working, they are a nice display.
1 in 10 people understand binary, the other one doesn't !

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: 128x64 LCD X Y Plotter

Post by JohnCrow »

This is how I have mounted my display.
The jumpers allow the I2C to be configured for any device.

I have drilled a hole in the patch board to allow access to the contrast potentiometer.
The 4 pin connection on the display driver board is connected to the SIL header via an old CD-Rom audio cable.
(Just seen peaking out above the display board)
BV4512.JPG
BV4512.JPG (80.53 KiB) Viewed 8463 times
1 in 10 people understand binary, the other one doesn't !

Post Reply