Pages: [1]   Go Down
Author Topic: Deleted  (Read 2724 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Deleted
« Last Edit: March 18, 2014, 06:00:30 pm by mousestampede » Logged

0
Offline Offline
God Member
*****
Karma: 0
Posts: 594
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

R/W pin is not grounded, just a wild guess at what's wrong
Logged

Freelance engineer, consultant, contractor. Graduated from UW in 2013.

Lancaster, England
Offline Offline
Jr. Member
**
Karma: 0
Posts: 85
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What's the resistor you're using on pin 3?

I just had a go at setting up an HD44780 4x20 LCD for the first time a couple of days ago and used a 10K pot on pin 3 so I could tweak it to look just right.  If it's too strong or not strong enough, it could explain seeing nothing on the LCD.
Logged

John

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 36
Posts: 4314
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You really should start with something simple.  Try following the tutorial at http://www.ladyada.net/learn/lcd/charlcd.html and pay particular attention to the part about midway through where the contrast is adjusted.  If you can't get that to work then there's no sense going any further.  Make sure pin 5 is grounded (reply #1) and use a potentiometer for the contrast (reply #2).  If you get stumped then post a photo that clearly shows your connections.

Don
Logged

London, England
Offline Offline
Edison Member
*
Karma: 4
Posts: 1026
Go! Go! Arduinoooo !!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you have a potentiometer on the contrast pin?
Logged

Lancaster, England
Offline Offline
Jr. Member
**
Karma: 0
Posts: 85
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That was the one I followed, got up and running with it in no time.

Then once I knew it all worked, I got a little more daring with the second schematic in this one so I could get 3 of those pins back.

http://code.google.com/p/arduinoshiftreglcd/
Logged

John

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7197
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That was the one I followed, got up and running with it in no time.

Then once I knew it all worked, I got a little more daring with the second schematic in this one so I could get 3 of those pins back.

http://code.google.com/p/arduinoshiftreglcd/

You will have to change your program while daring at the shift reg lcd like this:

Code:
#include <ShiftRegLCD.h>

ShiftRegLCD objectName(Datapin, Clockpin, Enablepin or TWO_WIRE [, Lines [, Font]])

    where Lines and Font are optional.

    * Enablepin: can be replaced by constant TWO_WIRE, if using only 2 wires.
    * Lines: 1 or 2 lines (also 4-line LCD's must be set as 2).
    * Font : 0 or 1, small or big font (8 or 10 pixel tall font, if available).


You can't use LiquidCrystal lcd(blah) any more.

Are you really in need of three pins? Have you used the analog pins as digital pins?
Logged


Western New York, USA
Offline Offline
Faraday Member
**
Karma: 36
Posts: 4314
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

We are getting way off topic.  This thread is about getting a standard parallel interface LCD operating with the LiquidCrystal library.

Don
Logged

Lancaster, England
Offline Offline
Jr. Member
**
Karma: 0
Posts: 85
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You will have to change...
Already done smiley

Are you really in need of three pins? Have you used the analog pins as digital pins?
Yup, need the pins, I'm now down from using 11 to using 8, and I still have 2 servo motors and a stepper (and maybe another 4x20 LCD) that I'll need to hook up to this. smiley

But let's not hijack this fella's thread.  I was simply commenting that Ladyada's tutorial helped me, and informed me that the LCD was working before moving on to what I really wanted to do. smiley
« Last Edit: March 28, 2011, 08:46:21 pm by Kaouthia » Logged

John

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7197
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You will have to change...
Already done smiley

Are you really in need of three pins? Have you used the analog pins as digital pins?
Yup, need the pins, I'm now down from using 11 to using 8, and I still have 2 servo motors and a stepper (and maybe another 4x20 LCD) that I'll need to hook up to this. smiley

But let's not hijack this fella's thread.  I was simply commenting that Ladyada's tutorial helped me, and informed me that the LCD was working before moving on to what I really wanted to do. smiley

I thought you were the OP. Your IDs both start with ka  smiley-red
Logged


Pages: [1]   Go Up
Jump to: