27976 Parallax Inc, 27976 Datasheet
27976
Specifications of 27976
Related parts for 27976
27976 Summary of contents
Page 1
... Parallax Serial LCD 2 rows x 16 characters Non-backlit (#27976) 2 rows x 16 characters Backlit (#27977) 4 rows x 20 characters Backlit (#27979) The Parallax Serial LCDs are very functional, low-cost liquid crystal displays that can be easily interfaced to and controlled by a microcontroller using a I/O pin. Code examples are ® ...
Page 2
... If you still don’t see the characters, go back and check your electrical connections and try again. Once you’ve successfully completed test mode, move the dip switches to the correct positions to select the baud rate you want to use for your application. Copyright © Parallax Inc. Parallax Serial LCDs (#27976, #27977, #27979) Parallax, Inc. www.parallax.com 2.1 4/15/2010 Page ...
Page 3
... The text will never “run off” the display; you’ll always see all of the characters you send. Example code is provided below. You may download the example code files from the 27976, 27977, or 27979 product pages at www.parallax.com; just enter any of these product numbers in the “search” field ...
Page 4
... The commands in the range Dec 128 to 143 and Dec 148 to 163 move the cursor to the 16 different positions on each of the two lines of the model 27976 and 27977 LCDs. The commands in the range Dec 128 to 207 move the cursor to the 20 different positions on each of the four lines of the model 27979 LCD. Copyright © ...
Page 5
... SEROUT TxPin, Baud19200, [%00000] SEROUT TxPin, Baud19200, [%00100] SEROUT TxPin, Baud19200, [%01110] Copyright © Parallax Inc. Parallax Serial LCDs (#27976, #27977, #27979) ' Set pin high serial port ' Pause for Serial LCD to initialize ' Define custom character 2 ' Now send the eight data bytes ...
Page 6
... Then, load the code below into your Propeller and load RAM or EEPROM. You will see a diamond character appear on the screen. Note: the FullDuplexSerial.spin object is included with the Propeller Tool software. {{ Serial_LCD_Custom_Character.spin For Parallax Serial LCDs 27976, 27977, 27979 }} CON _clkmode = xtal1 + pll16x _xinfreq = 5_000_000 ...
Page 7
... Move cursor to line 0, position 6 135 87 Move cursor to line 0, position 7 136 88 Move cursor to line 0, position 8 137 89 Move cursor to line 0, position 9 138 8A Move cursor to line 0, position 10 Copyright © Parallax Inc. Parallax Serial LCDs (#27976, #27977, #27979) Commands marked as N/A 2.1 4/15/2010 Page ...
Page 8
... Move cursor to line 2, position 13 (only on model 27979) 182 B6 Move cursor to line 2, position 14 (only on model 27979) 183 B7 Move cursor to line 2, position 15 (only on model 27979) 184 B8 Move cursor to line 2, position 16 (only on model 27979) Copyright © Parallax Inc. Parallax Serial LCDs (#27976, #27977, #27979) 2.1 4/15/2010 Page ...
Page 9
... Define custom character 5. This command must be followed by eight data bytes. 254 FE Define custom character 6. This command must be followed by eight data bytes. 255 FF Define custom character 7. This command must be followed by eight data bytes. Copyright © Parallax Inc. Parallax Serial LCDs (#27976, #27977, #27979) 2.1 4/15/2010 Page ...
Page 10
... So, to display a back- slash, use command Dec 0 and to display a tilde, use command DEC 1. Of course, you can always overwrite these characters with your own custom characters. Copyright © Parallax Inc. Parallax Serial LCDs (#27976, #27977, #27979) 2.1 4/15/2010 Page ...