Jump to content
DickB

LCD for MSP430G2

Recommended Posts

I'd like to add a simple alphanumeric LCD display to my MSP430G2 Launchpad, preferably serial.  Looking for recommendations and C code library.

Share this post


Link to post
Share on other sites

Depends on the size you want (physical and lines/chars per line), but there are a lot of options.

 

I have used a numbers of them, including these in the last 6 months:

 

Parallax 27977 2 lines X16 chars (pricey-- about $30), which is 5V supply, but the serial functions ok at 3.3V. 

Noritake GE256X64B-7032B  256X64 pixel (currently on clearance at Noritake site... about $15)

A couple from Adafruit that appear to be out of stock (a 20X4 and a 16X2, using the HC44780)

Several models of  Noritake VFD's

 

There are a ton of models available from the usual places for less money, most with the similar knockoff controllers, of which I have used few, but can make no  recommendations.

 

On the launchpad, I generally use lightly modified sample code from the TI samples for conventional (asynchronous) serial, rather than a full library. I can post some snippets if you can't find anything. You might also want to take a look at Energia.

Share this post


Link to post
Share on other sites

slac467 zip archive at www.ti.com/lit/sw/slac467i/slac467i.zip has a number of examples (IIRC, there are several SPI, I2C and asynch serial examples). slac435  is the sample code for the launchpad, but all  of the samples use timerA0 and software, rather than the hardware serial. It has been so long since I built my toolkit, I can't recall which samples I stole from (I just ref'd slac467 and slac080 in my docs)

THere are resources on this forum like

There are a lot of examples around the web, such as https://www.embeddedrelated.com/showarticle/420.php

 

Definitely see slau144 section 15 for full detail of the USCI block.

Share this post


Link to post
Share on other sites
On 11/9/2019 at 1:06 PM, enl said:

slac467 zip archive at www.ti.com/lit/sw/slac467i/slac467i.zip has a number of examples (IIRC, there are several SPI, I2C and asynch serial examples). slac435  is the sample code for the launchpad, but all  of the samples use timerA0 and software, rather than the hardware serial. It has been so long since I built my toolkit, I can't recall which samples I stole from (I just ref'd slac467 and slac080 in my docs)

THere are resources on this forum like

There are a lot of examples around the web, such as https://www.embeddedrelated.com/showarticle/420.php

 

Definitely see slau144 section 15 for full detail of the USCI block.

Thanks.  I got a mashup of the TI example and oPossum's code from your link working with a Sparkfun 4 line 20 character alphanumeric display.  Not sure why the code in your link did not work. I did note some differences from the TI code but have not analyzed them. I do have a working display to help me debug and tune my project.

Share this post


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...