Character lcd problem

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Character lcd problem

Postby sevag00 » Mon Jun 04, 2012 9:20 am

Hi all. I'm doing the character lcd tutorial from the ladyada website. I have connected all the pins on the arduino and the logic, backlight and contrast all worked out fine. Anyway, i uploaded the sketch to the arduino and instead of appearing "hello world" on the lcd it displayed some weird characters.
Anybody have an idea what the problem is? I have also attached an image of the lcd.

Image
sevag00
 
Posts: 12
Joined: Sun Feb 12, 2012 5:14 am

Re: Character lcd problem

Postby adafruit_support_rick » Mon Jun 04, 2012 9:24 am

Check you wiring. It looks like you may have some of the data lines mis-wired. Post a picture showing your wiring
User avatar
adafruit_support_rick
 
Posts: 2873
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: Character lcd problem

Postby sevag00 » Tue Jun 05, 2012 2:45 am

Here's an image of the connection
Image

RS: pin# 7 EN: pin #8 DB4: 9 DB5: 10 DB6: 11 DB7: 12
sevag00
 
Posts: 12
Joined: Sun Feb 12, 2012 5:14 am

Re: Character lcd problem

Postby adafruit_support_bill » Tue Jun 05, 2012 5:16 am

How long are those jumpers? Shorter is better. Post a photo showing the soldering on the header.
User avatar
adafruit_support_bill
 
Posts: 15918
Joined: Sat Feb 07, 2009 9:11 am

Re: Character lcd problem

Postby sevag00 » Tue Jun 05, 2012 8:11 am

I think those wires are the longest of the bundle. Maybe 10 inches. Here's an image of the soldering.

Image

I think i messed up the soldering. Right?
sevag00
 
Posts: 12
Joined: Sun Feb 12, 2012 5:14 am

Re: Character lcd problem

Postby adafruit_support_bill » Tue Jun 05, 2012 8:25 am

Looks like some cold solder joints there. Several look like they have not flowed well onto the solder pad. Use a clean-hot iron and re-touch any suspicious looking joints. They should be smooth and shiny and have a cross-section like the diagram below:
Attachments
Solder Joint.gif
Solder Joint.gif (7.78 KiB) Viewed 798 times
User avatar
adafruit_support_bill
 
Posts: 15918
Joined: Sat Feb 07, 2009 9:11 am

Re: Character lcd problem

Postby adafruit_support_rick » Tue Jun 05, 2012 8:33 am

the third and fourth solder joints from the right look like they might be bridged.
User avatar
adafruit_support_rick
 
Posts: 2873
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: Character lcd problem

Postby floresta » Tue Jun 05, 2012 8:45 am

I think i messed up the soldering. Right?

Yes. If you look at the binary representation of the ASCII codes for your characters you will find that they all have the same logic level on bit7 as on bit6 and they all have the same logic level on bit3 as on bit2.

When using the 4-bit interface with the LCD bits 7 and 3 use the wire labeled DB7 and bits 6 and 2 use the wire labeled DB6.

If you look at your photograph you will see that it is quite likely that the blobs of solder on DB7 and DB6 are shorted.

Don
floresta
 
Posts: 214
Joined: Thu Jul 31, 2008 9:27 am
Location: Western New York, USA

Re: Character lcd problem

Postby sevag00 » Wed Jun 06, 2012 3:34 am

Yeah. I figured it out. It was faulty soldering. Now, It works fine. Thanks for the help everyone.
sevag00
 
Posts: 12
Joined: Sun Feb 12, 2012 5:14 am


Return to Arduino

Who is online

Users browsing this forum: No registered users and 8 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [105]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]