- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
spanish :
Hola Diego,
Primero indicanos que clase de LCD deceas usar (modulo LCD de caracteres compatible con Hitachi, segment LCD, LCD gráfico, serial, I2C, etc) , puesto que para diferente tipo de LCD se necesitará un diferente módulo.
English:
Hi Diego,
Please, tell us what kind of LCD do you want to use, as with a different kind of LCD you will need to use a diferent user module.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
voy ha utilzair el lcd character en el púerto 6 con psoc 5 necesito saber como configura los pines ya que he hecho el montaje pero no sale la informacion en el lcd gracias por la ayuda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Usar un LCD de caracteres (compatible con hitachi 44780) en PSOC5 es sumamente fácil hay 2 partes hardware y software
-
Primero se añade el módulo Character LCD (cypress/Display)
-
Luego se selecciona el puerto (en tu caso el puerto 6) en la seccion de recursos globales (Design wide resources), dado que se requiere 7 pines, puedes elejir usar los pines P6.0 - P6.6 o P6.1 - P6.7
No es necesaria otra configuración porque el software lo hace automáticamente. -
Luego conectas los pines a tu módulo LCD de acuerdo a esta tabla:
Logical Port Pin LCD Module Pin Description LCDPort_0 DB4 Data Bit 0 LCDPort_1 DB5 Data Bit 1 LCDPort_2 DB6 Data Bit 2 LCDPort_3 DB7 Data Bit 3 LCDPort_4 E LCD Enable (strobe to confirm new data available) LCDPort_5 RS Register Select (select data or control input data) LCDPort_6 R/!W Read/not Write (toggle for polling the ready bit of the LCD)
Para la parte del software :
-
Primero inicializas el módulo con :
LCD_char_Start(); //Cambia LCD_char por el nombre que le diste al módulo
-
Luego cuando quieras escibir algo pones
LCD_char_Position(0,0); //cambias la posicion de cursor
LCD_char_PrintString("Texto que quieras");
Espero haber podido ayudar en algo si algo no queda claro avísanos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
please, write the contributions in simple technical english. The benefit for readers worldwide will be higher.
Viktor