LCD outputting gibberish

Talk about Adafruit Raspberry Pi® accessories!

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

LCD outputting gibberish

Postby Speediing » Sat Mar 09, 2013 8:27 pm

I have wired up my display from adafruit as pe rhttp://learn.adafruit.com/drive-a-16x2 ... -pi/wiring . I am using the 16x2 LCD and the included adafruit python library . The code compiles properly although the display only outputs gibberish. Do any of you have any help with this?Image
Speediing
 
Posts: 1
Joined: Sat Feb 09, 2013 11:57 am

Re: LCD outputting gibberish

Postby adafruit_support_bill » Sun Mar 10, 2013 6:03 am

I can't quite follow the wires in the photo. But the problem is most likely in the 4 data wires (pins 11-14). Make sure they are in the right order and all the jumpers are firmly gripped in the breadboard. If any of the connections are loose, move to an adjacent hole or a different area of the breadboard for a better connection.
User avatar
adafruit_support_bill
 
Posts: 15931
Joined: Sat Feb 07, 2009 9:11 am

Re: LCD outputting gibberish

Postby Zygo » Fri Mar 15, 2013 3:21 pm

I don't know if you were able to solve your problem or not, but I found I needed to change the busnum as instructed in the tutorial for the newer raspberry pi model B, and also in this line of the Adafruit_CharLCDPlate.py code.

lcd = Adafruit_CharLCDPlate(busnum = 1)

When I did that, it would work, but only after I had run the program once. To get it to work right after booting, I also needed to change the busnum in Adafruit_MCP230xx.py in a couple of places (basically look for anywhere busnum=0 and replace it with 1), and in Adafruit_I2C I replaced the little bit of code that's supposed to autodetect which busnumber to use with '1'.

I hope this helps.
Zygo
 
Posts: 4
Joined: Wed Mar 13, 2013 2:15 pm


Return to Adafruit Raspberry Pi® accessories

Who is online

Users browsing this forum: Snakin and 1 guest

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


New Products [102]

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]