Jump to content
43oh

MSP430G2 Launchpad LCD Problem


Recommended Posts

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...