picaxester
Senior Member
I want to use those nice little LCDs (3x16)
that come in cordless phones in my PICAXE projects but I can't find a data sheet, so I made a crappy program to record the data on 4
of the 8 pins of the LCD. The 4 that I
believe are the I/O pins.
The others I think have to do with the power
supply, ground, +3v, -3v and something else.
Heres a pic:
http://images.turds.multiply.com/image/3/photos/7/orig/1/LCD%20testing.JPG?et=ICvx74KSH%2CtfGbyytt1Nhg
Heres the program:
setfreq m8
b0 = pins
for b1 = 0 to 255
do until b0 <> pins
loop
write b1, pins
b0 = pins
next b1
download:
do until pin2 = 1 'download botton
loop
for b2 = 0 to 255
read b2, b1
b0 = 0
bit0 = bit9
bit1 = bit8
bit2 = bit15
bit3 = bit14
sertxd (bit0, bit1, bit2, bit3, 13, 10)
next b2
goto download
And this is what it recorded:
A = input 1 (Green wire)
B = input 0 (Green wire)
C = input 7 (White/Green wire)
D = input 6 (White/Green wire)
-A---B---C---D-
«00»«00»«00»«01»
«00»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«00»«00»«00»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«00»«00»«00»
«00»«00»«00»«01»
«00»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«00»«01»«00»«00»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«00»«00»«00»«00»
«00»«00»«00»«01»
«00»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«00»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«00»«00»«00»
«00»«00»«00»«01»
«00»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«00»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«00»«00»«00»
«00»«00»«00»«01»
«00»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«00»«01»«00»
«01»«01»«01»«01»
«00»«00»«00»«01»
«00»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«00»«01»«00»«00»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«00»«01»«00»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
I think
A is maybe a Data/Instruction pin,
B is maybe a clock pin,
C is maybe a data pin and
D is maybe a chip select pin.
What do you think?
eric
that come in cordless phones in my PICAXE projects but I can't find a data sheet, so I made a crappy program to record the data on 4
of the 8 pins of the LCD. The 4 that I
believe are the I/O pins.
The others I think have to do with the power
supply, ground, +3v, -3v and something else.
Heres a pic:
http://images.turds.multiply.com/image/3/photos/7/orig/1/LCD%20testing.JPG?et=ICvx74KSH%2CtfGbyytt1Nhg
Heres the program:
setfreq m8
b0 = pins
for b1 = 0 to 255
do until b0 <> pins
loop
write b1, pins
b0 = pins
next b1
download:
do until pin2 = 1 'download botton
loop
for b2 = 0 to 255
read b2, b1
b0 = 0
bit0 = bit9
bit1 = bit8
bit2 = bit15
bit3 = bit14
sertxd (bit0, bit1, bit2, bit3, 13, 10)
next b2
goto download
And this is what it recorded:
A = input 1 (Green wire)
B = input 0 (Green wire)
C = input 7 (White/Green wire)
D = input 6 (White/Green wire)
-A---B---C---D-
«00»«00»«00»«01»
«00»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«00»«00»«00»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«00»«00»«00»
«00»«00»«00»«01»
«00»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«00»«01»«00»«00»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«00»«00»«00»«00»
«00»«00»«00»«01»
«00»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«00»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«00»«00»«00»
«00»«00»«00»«01»
«00»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«00»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«00»«00»«00»
«00»«00»«00»«01»
«00»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«00»«01»«00»
«01»«01»«01»«01»
«00»«00»«00»«01»
«00»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«00»«01»«00»«00»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«00»«01»
«00»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
«00»«01»«01»«01»
«00»«01»«00»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«01»«01»«01»
«01»«00»«01»«00»
«01»«01»«00»«01»
«01»«01»«00»«01»
«01»«01»«00»«01»
I think
A is maybe a Data/Instruction pin,
B is maybe a clock pin,
C is maybe a data pin and
D is maybe a chip select pin.
What do you think?
eric