Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

MSP430G2 Launchpad LCD Problem

$
0
0
Hello,
I am trying to interface my MSP430G2553 launchpad with an  LCD (http://www.winstar.com.tw/UserFiles/ProductImages/12523136510757108108.jpg) but my characters look weird. I am using http://www.fibidi.com/arduino-lcd-16x2-characters/ with one potentiometer , with changing ports like this: 
  
    
#include <LiquidCrystal.h>


    // initialize the library with the numbers of the interface pins
    //LiquidCrystal lcd(8,9,4,5,6,7);
    LiquidCrystal lcd(P2_4,P2_5,P2_0,P2_1,P2_2,P2_3); 


    void setup() {
    lcd.begin(16,2);


    lcd.setCursor(0,0);
    lcd.print("Hello World!");
    }


    void loop() {
    }
But my characters looks like this with 3.6V to LCD:
 
ifduB.jpg
NZP3Q.jpg
 
And if I use 5V from TP3 TP1 from Launchpad USB thing with highest brightness:
 
wDIrz.jpg
 
I tried:
 
 1. using other ports (1.0 to 1.7)
 2. changing potentiometer
 3. changing and checking breadboard
 4. checking voltages 3.6v -> 3.5 and 5V -> 5.09V
 5. not using backlight
 6. wiring empty LCD pins to ground
 7. removing lcd.setCursor(0,0); line
 8. trying MSP430G2452
 
But still same. I alson can't use right half of the screen.
 
It should work but, is something wrong with LCD (that was my first soldering attempt I may overheat something but I checked for short circuits and there isn't any) or my chosen ports. 
 
Any ideas?
 
Thank you.

Viewing all articles
Browse latest Browse all 2077

Trending Articles