background image

 

Rev. 1.0 (February 2012)                                                           1                                                                © DLP Design, Inc. 

 

 

D

D

L

L

P

P

-

-

M

M

A

A

V

V

-

-

L

L

C

C

D

D

1

1

 

 

LEAD FREE

 

 

LCD / MICROCONTROLLER MODULE 

 

The DLP-MAV-LCD1 combines a 2x16-character backlit LCD display with a TI MSP430 
microcontroller to form a MAVRK-supported display module.  The MSP430 is preprogrammed with 
basic functionality for driving the LCD display via either the MAVRK platform or a simple, 5-pin TTL 
serial interface. 
 
 

FEATURES: 

 

  Simple ASCII Command Set 

  Requires 3.0-3.3V Supply 

 LED 

Backlight 

  5-Switch Joystick (Left, Right, Up, Down and Select) 

  Can Be Used Standalone or with the MAVRK Platform 

 
 

1.0  GENERAL DESCRIPTION

 

 

The DLP-MAV-LCD1 provides the MAVRK platform with a means of displaying data that does

 

not 

require a connected host PC. 
 
To send data from the host processor on the MAVRK platform via the 2-wire TTL serial interface, the 
host firmware sends the data to be displayed using the format described below in Section 3. 
 
When the 5-switch joystick is operated, the DLP-MAV-LCD1 issues switch closure information to the 
host processor using the MAVRK platform protocol.  This protocol consists of a printable ASCII format 
using a synchronization character “^”,

 

and a termination character

 

“~”.  (This protocol is further 

described in Section 3.) 
 
The DLP-MAV-LCD1 is ready to accept commands immediately upon power up.  (Initial baud rate and 
serial parameters are outlined in Section 3.) 

 

 
 
 

 

 

Summary of Contents for DLP-MAVLCD1

Page 1: ...GENERAL DESCRIPTION The DLP MAV LCD1 provides the MAVRK platform with a means of displaying data that does not require a connected host PC To send data from the host processor on the MAVRK platform via the 2 wire TTL serial interface the host firmware sends the data to be displayed using the format described below in Section 3 When the 5 switch joystick is operated the DLP MAV LCD1 issues switch c...

Page 2: ... by creating a SVN folder at C svn 3 Once installed locate the project C svn mavrk mavrk_embedded Modular_EVM_Projects System_Demo_Projects MSP43 0F5438 MVK_UART_Passthrough 4 Open the project in Code Composer 5 1 or later 5 Find the file MSP430F5438_UART_Passthrough_main c then edit the following lines in the function main mvk_Configure_UART_Passthrough MAVRK_UART_RF MAVRK_UART_TUSB mvk_Configure...

Page 3: ...mware for either communicating directly with the MAVRK platform or for operation in standalone mode via the 5 pin header Figure 2 DLP MAV LCD1 Module Ready to Start Right Out of the Box Figure 2 will be displayed for 5 seconds and then the display will be clear as shown in Figure 3 Figure 3 Clear After 5 Seconds At this point the DLP MAV LCD1 is ready for use Note that the unit will appear non res...

Page 4: ...ble 1 Sample Data and Commands Changing the Baud Rate via the Menu Figure 4 Splash Screen on Power Up Changing the baud rate may be accomplished however you must press Select joystick straight down to initiate the Baud Rate Menu Note that this must be done during the first 5 seconds when the splash screen shown above is displayed Figure 5 Baud Rate Menu Once Select has been pressed the Baud Rate M...

Page 5: ...r ups the following screen will be displayed indicating the saved baud rate Figure 7 Power Up Splash Screen Changing the Baud Rate via the Terminal Emulator To change the baud rate first set the baud rate of the terminal to 460800 as described above Then send the command b9600 at which point the new baud rate will immediately be in effect You will have to change your terminal to 9600 immediately t...

Page 6: ...57600 b57600 57600 115200 b115200 115200 230400 b230400 230400 460800 b460800 460800 Default 921600 b921600 921600 Table 3 Standard Baud Rates Data that exceeds the 16 character lines will be truncated based on the length of the display Both the top and bottom LCD lines require separate data commands Joystick Received Text Description Up kU Key Up was Pressed Down kD Key Down was Pressed Left kL K...

Page 7: ...Position OFF 0B c0B Display OFF Cursor ON Cursor Position ON 0C c0C Display ON Cursor OFF Cursor Position OFF 0D c0D Display ON Cursor OFF Cursor Position ON 0E c0E Display ON Cursor ON Cursor Position OFF 0F c0F Display ON Cursor ON Cursor Position ON 7x c70 Set Contrast Value to x Where x is 0 1 2 3 4 5 6 7 8 9 A B C D E or F Table 5 Commands Definition The table below describes the Cursor Locat...

Page 8: ...8C c8C 1 14 8D c8D 1 15 8E c8E 1 16 8F c8F 2 1 C0 cC0 2 2 C1 cC1 2 3 C2 cC2 2 4 C3 cC3 2 5 C4 cC4 2 6 C5 cC5 2 7 C6 cC6 2 8 C7 cC7 2 9 C8 cC8 2 10 C9 cC9 2 11 CA cCA 2 12 CB cCB 2 13 CC cCC 2 14 CD cCD 2 15 CE cCE 2 16 CF cCF Table 6 Cursor Location Definitions The table below describes sample strings sent to the DLP MAV LCD1 to include clearing the screen and positioning the cursor prior to writi...

Page 9: ...2 Here Clears the Screen Goes to Row 2 Column 1 and Displays Line 2 Here Table 7 Sample Commands 4 0 STANDALONE MODE Alternatively when used in standalone mode the DLP MAV LCD1 board may be powered externally and communicated with utilizing the 5 pin TTL serial header described below 1 5 Figure 8 DLP MAV LCD1 Standalone Pins Pin Description 1 FROM EXTERNAL HOST In TTL serial from host processor 2 ...

Page 10: ...orm without the prior written consent of the copyright holder This product and its documentation are supplied on an as is basis and no warranty as to their suitability for any particular purpose is either made or implied DLP Design will not accept any claim for damages whatsoever arising as a result of use or failure of this product Your statutory rights are not affected This product or any varian...

Page 11: ...1 DLP Design Inc 7 0 CONTACT INFORMATION DLP Design Inc 1605 Roma Lane Allen TX 75013 Phone 469 964 8027 Fax 415 901 4859 Email Sales sales dlpdesign com Email Support support dlpdesign com Website URL http www dlpdesign com ...

Reviews: