Maker Pro
Maker Pro

LCD

W

wt

Jan 1, 1970
0
I want to program the text to a 2 line 5 x 7 LCD module. But before I do
that in a language I am experimental with just the LCD module with a push
button for the clock or enable signal and some DIP switches for the data
signals. When I finished setting up the LCD and proceed to input letters to
the LCD, some letters are fine however some letters come out incorrectly. I
adjust the DIP switches for the appropriate hi's and lo's for that letter
however, when I clock the data into the LCD, a different character comes up
and when I clock it again and again, I get different letters. I notice
however that the letters that are different sometimes have similarities in
the binary number either in the high nibble or low nibble. Is my LCD busted?
It's a new one and took me ages to wire this thing up. I am using breadboard
to hold it all together. What could be the source to this problem?
 
A

Al

Jan 1, 1970
0
wt said:
I want to program the text to a 2 line 5 x 7 LCD module. But before I do
that in a language I am experimental with just the LCD module with a push
button for the clock or enable signal and some DIP switches for the data
signals. When I finished setting up the LCD and proceed to input letters to
the LCD, some letters are fine however some letters come out incorrectly. I
adjust the DIP switches for the appropriate hi's and lo's for that letter
however, when I clock the data into the LCD, a different character comes up
and when I clock it again and again, I get different letters. I notice
however that the letters that are different sometimes have similarities in
the binary number either in the high nibble or low nibble. Is my LCD busted?
It's a new one and took me ages to wire this thing up. I am using breadboard
to hold it all together. What could be the source to this problem?

Two possiblities:

1) Noise interference on the breadboard

2) Problem with your clock rate. Is it correct for the LCD?

Al
 
W

wt

Jan 1, 1970
0
With regards to the clock rate, I'm manually clocking the data into the LCD
with a pushbutton that has some hardware deboucing with it.
 
W

wt

Jan 1, 1970
0
Yes but I'm actually using pull down resistors, does that make a difference?
The configuration is a 10k resistor connects the data pin to ground and a
switch is placed between the data pin and +5V.
 
K

Klaus (DK)

Jan 1, 1970
0
You will definitely get a valid HI when the switch is ON, but what is
the voltage at the input, when the switch is OFF? Try to measure that
with a meter.
Usually you put the resistor to +5V and the switch to ground because the
input may have a pull up resistor built in or worse if the input is a
"genuine" TTL input the is an inherent pull up resistor. A floating TTL
input behave usually as a HI input.
Cheers


wt skrev:
 
W

wt

Jan 1, 1970
0
Should we always use pullups instead of pulldowns in all digital
electronics? Also, since the datasheet for this particular LCD is rather
crappy, can we check to see if there are internal pullups in the LCD but
using a logic probe?
Thanks to all who have contributed to this post. You have all been moste
helpful.
 
Top