LCDInfo.com

http://www.lcdinfo.com
It is currently Wed Apr 16, 2025 13:49

All times are UTC + 2 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sat Nov 29, 2003 14:55 
Offline

Joined: Sat Nov 29, 2003 14:49
Posts: 3
Hey all
Does anyone know how to interface with the HD61830 controller? At this point I am just trying to get a blinking cursor on the LCD with dip switches as this example shows for the HD44780 http://www.epemag.wimborne.co.uk/resources.htm

I have the datasheet for the HD61830 and it tells me to set RS High and all data low. Then I assume you have to pulse enable low. Then set RS Low and data to '00111100'. Then pulse low again. This is supposed to put a blinking cursor (or just a plain cursor) on the screen. This does not work.

Has anyone interfaced with the HD61830 with success?

Any help is greatly appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 29, 2003 21:26 
Offline

Joined: Sat Nov 29, 2003 14:49
Posts: 3
anyone?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 29, 2003 22:46 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
I'm not looking into the datasheet now but I think that to get something showing you should first initialize the display with the settings for the particular size etc. and that would take many commands and I don't know if that would work with dip switches.

What are you planning to interface the display with ? In new LCDInfo there is a driver for HD61830 for PC parallel port connection.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 30, 2003 0:16 
Offline

Joined: Sat Nov 29, 2003 14:49
Posts: 3
Thanks for your input Henri.

I am going to connect this to a PIC16F877A microcontroller. The whole idea is to interface with my home automation system using X10 modules. The only reason for the display is to have some graphical user interface. Basically, just a nice picture! :D

Where is this parallel software located? I would like to see if the display actually works.

To be honest I really have not tried to connect with the PIC just yet. I wanted to see if I could get the display working with the dip switches.

Thanks again!!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 30, 2003 18:29 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
I have just sent you email with some simple test program attached.


Top
 Profile  
 
 Post subject: HD61830 + 18F452
PostPosted: Tue Jan 31, 2006 14:27 
Offline

Joined: Mon Jan 30, 2006 17:50
Posts: 6
I´m writting a source code for the HD61830 + PIC18F452. It is a commented code and contains some advanced functions you may like, for example: while in graph mode, you can put text string (4 fonts to choose) mixed with images.

It is available at: http://eletronica.50webs.com/

I hope it may help.

Roberto.


Top
 Profile  
 
 Post subject: hi
PostPosted: Tue Sep 05, 2006 17:27 
Offline

Joined: Sat Aug 12, 2006 0:41
Posts: 6
i have hd61830 chipset lcd screen. but don't work. where is the problems? i using this pic code;

DEVICE 16F628
CONFIG BODEN_ON,CP_OFF,WDT_OFF,PWRTE_OFF,LVP_OFF,MCLRE_OFF,BODEN_OFF,INTRC_OSC_NOCLKOUT
XTAL 4

ALL_DIGITAL = TRUE

DIM LCD_KOMUT AS BYTE,LCD_DATA AS BYTE,T AS BYTE

SYMBOL LCD_RESETB=PORTA.2
SYMBOL RS=PORTA.1
SYMBOL E=PORTA.0

TRISA=%00000000
TRISB=%00000000

DELAYMS 250
LCD_INIT:
DELAYMS 250:LOW LCD_RESETB:DELAYMS 250
HIGH LCD_RESETB
DELAYMS 250

GFX_MODE:
PORTB=0X00:GOSUB GONDER_KOMUT 'SET_LCD_MODE(0X00),0X32

PORTB=0X32:GOSUB GONDER_DATA 'SET_LCD_MODE(0X00),0X32
DELAYMS 100
PORTB=0X01:GOSUB GONDER_KOMUT 'SET_CH_PITCH(0X01),0X77
PORTB=0X77:GOSUB GONDER_DATA
DELAYMS 100
PORTB=0X02:GOSUB GONDER_KOMUT 'SET_CHAR_NUM=0X02),16-1
PORTB=15:GOSUB GONDER_DATA
DELAYMS 100
PORTB=0X03:GOSUB GONDER_KOMUT 'SET_TIME_DIVS(0X03),64-1
PORTB=63:GOSUB GONDER_DATA
DELAYMS 100
PORTB=0X04:GOSUB GONDER_KOMUT 'SET_CURS_POS(0X04), 8
PORTB=8:GOSUB GONDER_DATA
DELAYMS 100
PORTB=0X08:GOSUB GONDER_KOMUT 'SET_HOM_L_ADDR(0X08), 0
PORTB=0X00:GOSUB GONDER_DATA
DELAYMS 100
PORTB=0X09:GOSUB GONDER_KOMUT 'SET_HOM_H_ADDR(0X09), 0
PORTB=0X00:GOSUB GONDER_DATA
DELAYMS 100
PORTB=0X0A:GOSUB GONDER_KOMUT 'SET_CUR_L_ADDR(0X0A), 0
PORTB=0X00:GOSUB GONDER_DATA
DELAYMS 100
PORTB=0X0B:GOSUB GONDER_KOMUT 'SET_CUR_H_ADDR(0X0B), 0
PORTB=0X00:GOSUB GONDER_DATA
DELAYMS 100

'--------------------------------------------------------

FOR T=65 TO 100
PORTB=0X0C:GOSUB GONDER_KOMUT
DELAYMS 1
PORTB=T:GOSUB GONDER_DATA
DELAYMS 500
NEXT T
STOP

GONDER_KOMUT:
HIGH RS:DELAYUS 50
HIGH E
DELAYUS 100
LOW E
DELAYUS 100
RETURN

GONDER_DATA:
LOW RS:DELAYUS 50
HIGH E
DELAYUS 100
LOW E
DELAYUS 100
RETURN
END


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group