pc_keyboard
MPS430 

所属分类:单片机开发
开发工具:C/C++
文件大小:9KB
下载次数:6
上传日期:2005-05-03 09:31:03
上 传 者dom
说明:  keyboard TI TMPS430单片机使用例子,希望对象我一样的初学者有帮助
(keyboard use TI TMPS430 SCM example, I hope that the same object is to help beginners)

文件列表:
pc_keyboard\hardware.h (2180, 2004-07-23)
pc_keyboard\lcd.c (7985, 2004-07-23)
pc_keyboard\lcd.h (2406, 2004-07-23)
pc_keyboard\main.c (11145, 2004-07-23)
pc_keyboard\makefile (1154, 2004-07-23)
pc_keyboard (0, 2004-09-12)

whats this? ----------- this one is capturing keys from a standard at keyboard and displays the characters on an LCD. the caps key toggles the keyboard LEDs. this one isn't running that smoth yet. if anyone gets it running better please let us know! look here too: http://www.beyondlogic.org/keyboard/keybrd.htm required hardware ----------------- - a MSP430F1121 or larger device (any from the F1x series) - any character type display with a HD44780 controler or compatible (e.g. a KS0066 16x2 type was used for developement) connections for a four bit interface (LCD->MSP): RS -> P1.1 R/W -> P1.2 E -> P1.3 D4 -> P1.4 D5 -> P1.5 D6 -> P1.6 D7 -> P1.7 many LCD controllers run from 3 volts, but the display requires a voltage difference of more than 3 volts for the contrast. this means a negative voltage is needed on the contrast pin (usualy named VEE or VO) - a keyboard that runs from 3 volts (maybe many of the newer ones do) two pull-up resistors 20k and i sugest a series resistor of 1k in the clock and data line. connect the data line to P2.0 and the clock line to P2.1. signal-5 pin DIN: VCC-5 CLK-1 DAT-2 GND-4 - optionaly a LED on P2.5 (470 Ohms series resistor to GND) disclaimer ---------- this example is part of the mspgcc project http://mspgcc.sf.net see license.txt for details. chris

近期下载者

相关文件


收藏者