Searching \ for 'Lcd Displays' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/lcds.htm?key=lcd
Search entire site for: 'Lcd Displays'.

Truncated match.
PICList Thread
'Lcd Displays'
1995\11\20@202729 by avdeal

flavicon
face
I'm trying to get some code and so on together, for displaying to a
ROHM 16x1 dot matric display.

any help would be appreciated..


John P. Hollinghsead ]I[  KB5SXH
President Texas Data Systems
Pearland, TX
spam_OUTavdealTakeThisOuTspamhollingshead.com
(713) 485-0394
Fax: (713) 485-8223

1995\11\21@025143 by SONY-OD

flavicon
face
on Fri, 10 Nov 1995, John P. Hollinghsead wrote:

>I'm trying to get some code and so on together, for displaying to a
>ROHM 16x1 dot matric display.

>any help would be appreciated..

This is the set of commands for all LCD panel which are driven with the
HITACHI HD44780 controller, just check your panel to look at the chip.
LCD panel can driven by 4 or 8 bits. There is also 3 lines EN (Enable), D/I
(Data/Instruction) and R/W (Read/Write).
To connect with a minimum of wires you need 4+3 I/O lines in 4 bit mode.

Sequence for signals are as follow
              1st         2nd
              ____        ____
EN        ____|    |______|    |_____
             ____        ____
Data      ___|____|______|____|______
(4bit mode)   d4-d7        d3-d0

LCD panel is drived by an HITACHI controller HD44780 (panel ref: LM054,
LM016L, LM020L, LM041L, LM032L, LM044L, LM243A, LM027, LM23A, LM017L,
LM018L, etc ...).

Commands can be sent in frame of 4 or 8 bits. A reset put the panel in 8
bits mode. 4 bits mode use only bit B4,B5,B6 and B7.

Commands:
Exec.   DI RW b7 b6 b5 b4 b3 b2 b1 b0
1,52ms  0  0  0  0  0  0  0  0  0  1  Reset LCD Panel, Erase RAM
1,52ms  0  0  0  0  0  0  0  0  1  -  Cursor + AC=0, Display in origin position
37us    0  0  0  0  0  0  0  1 I/D S  Define cursor movment and shift display
37us    0  0  0  0  0  0  1  D  C  S  Display ON/OFF(D), cursor(C) and blonk
at                                       cursor position(B)
37us    0  0  0  0  0  1 S/L R/L-  -  Move the cursor and shift display
37us    0  0  0  0  1  DL N  F  -  -  Define bus length (DL), number of
line,                                         matrix font used (5x8 or 5x10)
37us    0  0  0  1  CG RAM Address    Define CG RAM Address
37us    0  0  1     DD RAM Address    Define DD RAM Address
0us     0  1  BF  Address counter AC  Read busy Flag & AC
37us    1  0     Write DATA           Write DATA into DD or CG RAM
37us    1  1     Read DATA            Read DATA from DD or CG RAM


Legend:
I/D  = 1: Increment, I/D = 0 : Decrement
S    = 1: Shift display
R/L  = 1: Shift to the right; R/L = 0 : Shift to the left
DL   = 1: 8 Bits; DL = 0 : 4 Bits
N    = 1: 2 or 4 lines; N = 0 : 1 line
F    = 1: 5x10 matrix; F = 0 : 5x8 matrix
BF   = 1: Busy; BF = 0 : free, can receive an instruction
DD Ram: Data Display RAM
CG Ram: Character Generator RAM

Execution time is given for a 270khz clock frequency (250-270Khz seems to be
the average value for current LCD panel).

RAM is not continuous RAM, mapping depend how many characters and line there
is in the panel. You can also define your own characters (CG RAM), only 8
CHR could be defined:

for 16x1:
1st line:  00h  01h ...  27h


for 16x2:
1st line:  00h  01h ...  27h
2nd line   40h  41h ...  67h

Regards,

      Philippe. <.....sonyedeKILLspamspam@spam@iway.fr>

1995\11\21@025143 by SONY-OD

flavicon
face
on Fri, 10 Nov 1995, John P. Hollinghsead wrote:

>I'm trying to get some code and so on together, for displaying to a
>ROHM 16x1 dot matric display.

>any help would be appreciated..

This is the set of commands for all LCD panel which are driven with the
HITACHI HD44780 controller, just check your panel to look at the chip.
LCD panel can driven by 4 or 8 bits. There is also 3 lines EN (Enable), D/I
(Data/Instruction) and R/W (Read/Write).
To connect with a minimum of wires you need 4+3 I/O lines in 4 bit mode.

Sequence for signals are as follow
              1st         2nd
              ____        ____
EN        ____|    |______|    |_____
             ____        ____
Data      ___|____|______|____|______
(4bit mode)   d4-d7        d3-d0

LCD panel is drived by an HITACHI controller HD44780 (panel ref: LM054,
LM016L, LM020L, LM041L, LM032L, LM044L, LM243A, LM027, LM23A, LM017L,
LM018L, etc ...).

Commands can be sent in frame of 4 or 8 bits. A reset put the panel in 8
bits mode. 4 bits mode use only bit B4,B5,B6 and B7.

Commands:
Exec.   DI RW b7 b6 b5 b4 b3 b2 b1 b0
1,52ms  0  0  0  0  0  0  0  0  0  1  Reset LCD Panel, Erase RAM
1,52ms  0  0  0  0  0  0  0  0  1  -  Cursor + AC=0, Display in origin position
37us    0  0  0  0  0  0  0  1 I/D S  Define cursor movment and shift display
37us    0  0  0  0  0  0  1  D  C  S  Display ON/OFF(D), cursor(C) and blonk
at                                       cursor position(B)
37us    0  0  0  0  0  1 S/L R/L-  -  Move the cursor and shift display
37us    0  0  0  0  1  DL N  F  -  -  Define bus length (DL), number of
line,                                         matrix font used (5x8 or 5x10)
37us    0  0  0  1  CG RAM Address    Define CG RAM Address
37us    0  0  1     DD RAM Address    Define DD RAM Address
0us     0  1  BF  Address counter AC  Read busy Flag & AC
37us    1  0     Write DATA           Write DATA into DD or CG RAM
37us    1  1     Read DATA            Read DATA from DD or CG RAM


Legend:
I/D  = 1: Increment, I/D = 0 : Decrement
S    = 1: Shift display
R/L  = 1: Shift to the right; R/L = 0 : Shift to the left
DL   = 1: 8 Bits; DL = 0 : 4 Bits
N    = 1: 2 or 4 lines; N = 0 : 1 line
F    = 1: 5x10 matrix; F = 0 : 5x8 matrix
BF   = 1: Busy; BF = 0 : free, can receive an instruction
DD Ram: Data Display RAM
CG Ram: Character Generator RAM

Execution time is given for a 270khz clock frequency (250-270Khz seems to be
the average value for current LCD panel).

RAM is not continuous RAM, mapping depend how many characters and line there
is in the panel. You can also define your own characters (CG RAM), only 8
CHR could be defined:

for 16x1:
1st line:  00h  01h ...  27h


for 16x2:
1st line:  00h  01h ...  27h
2nd line   40h  41h ...  67h

Regards,

      Philippe. <sonyedespamKILLspamiway.fr>


'LCD displays'
1996\09\18@213006 by TONY NIXON 54964
flavicon
picon face
I don't know if you have access to a Farnell catalog, but they
advertise LCD graphic displays with micro interface.

These are from Hitachi and from Varitronix. They appear to have an 8
bit interface to them.

Regards

Tony

1996\09\18@213006 by TONY NIXON 54964

flavicon
picon face
I don't know if you have access to a Farnell catalog, but they
advertise LCD graphic displays with micro interface.

These are from Hitachi and from Varitronix. They appear to have an 8
bit interface to them.

Regards

Tony


'LCD Displays'
1997\01\29@125902 by Walter Banks
picon face
While we are on a LCD thread. There is 4 and 8 bit parallel
C code on our BBS. It is essentially the same as any one
of a multitude of other code packages except it is written
in C and the same source works on 9 or 10 embedded system
platforms with no changes other than  port definitions.

Does anyone have a favorite graphics display with 64 *128 to
128 * 256 resolution? How about touch overlays?

Walter Banks

1997\01\30@072313 by Frank A. Vostenbosch

flavicon
face
> From:    Walter Banks <.....walterKILLspamspam.....BYTECRAFT.COM>
>
> While we are on a LCD thread. There is 4 and 8 bit parallel
> C code on our BBS. It is essentially the same as any one
> of a multitude of other code packages except it is written
> in C and the same source works on 9 or 10 embedded system
> platforms with no changes other than  port definitions.
>
> Does anyone have a favorite graphics display with 64 *128 to
>  128 * 256 resolution? How about touch overlays?

I use a Sony display with 128x64 resolution which uses an 8-bit
interface.  It needs quite a few control lines (6 IIRC), partly because
it's made for a 6800 bus interface, and partly because the left and
right hand sides of the display have a separate enable input.
Built-in commands are quite limited (i.e. no character mode, no horizontal
panning) but usable.
If enough people request it, I'll post PIC code for the (proportional)
text font that I'm using.

Frank

------------------------------------------------------------------------
Frank A. Vorstenbosch                           Phone:  +44-181-941 7899
Electronics & Software Engineer                 Mobile:  +44-976-430 569
Eidos Technologies Ltd., Hampton, Middx         Fax:    +44-181-941 7895

1997\01\30@103528 by Walter Banks

picon face
Frank,

> If enough people request it, I'll post PIC code for the (proportional)
> text font that I'm using.


I am interested in seeing the code for it.

Walter Banks


'LCD displays'
1997\07\11@102408 by Andy Kunz
flavicon
face
To all who expressed interest in the 7-segment, 4-digit LCD we are offering:

Latest shipment has arrived.

Price is $4.50 each + shipping.  Anybody still needing a data sheet should
request private, please - there's a snafu with my ISP preventing the
downloading off my page.

Dealer inquiries are invited.

Info, etc:   EraseMEmontanaspam_OUTspamTakeThisOuTfast.net

Andy

==================================================================
Andy Kunz - Montana Design - 409 S 6th St - Phillipsburg, NJ 08865
         Hardware & Software for Industry & R/C Hobbies
       "Go fast, turn right, and keep the wet side down!"
==================================================================


'LCD displays'
1997\10\09@190500 by TONY NIXON 54964
flavicon
picon face
Does any one know of links for LCD display availability?

I need one similar in size to a watch display for an upcoming project.

Regards

Tony


But for venetian blinds, it would be curtains for all of us....

1997\10\10@094611 by Martin R. Green

picon face
I don't know if anyone else has thought of this, but just about now
there should be a wealth of dead Tamagotchi displays at the bottom of
toyboxes everywhere.  I have no idea how difficult they would be to
drive, but they ar basically just a small dot matrix display with a
few custom icons that you can just ignore.

Anybody tried interfacing one of these yet?

Martin R. Green
elimarspamspam_OUTbigfoot.com

On Fri, 10 Oct 1997 08:46:42 +1000, TONY NIXON 54964
<@spam@Tony.nixonKILLspamspamENG.MONASH.EDU.AU> wrote:

>Does any one know of links for LCD display availability?
>
>I need one similar in size to a watch display for an upcoming project.
>
>Regards
>
>Tony
>
>
>But for venetian blinds, it would be curtains for all of us....

1997\10\10@104556 by Andrew Warren

face
flavicon
face
Martin R. Green <KILLspamPICLISTKILLspamspamMITVMA.MIT.EDU> wrote:

> I don't know if anyone else has thought of this, but just about now
> there should be a wealth of dead Tamagotchi displays at the bottom
> of toyboxes everywhere.  I have no idea how difficult they would be
> to drive, but they ar basically just a small dot matrix display with
> a few custom icons that you can just ignore.
>
> Anybody tried interfacing one of these yet?

Martin:

I haven't looked closely at those displays, but if they're anything
like the overwhelming majority of wristwatch LCD displays, they're
designed for 1/2 bias.  Unfortunately, the PIC16C9xx devices only
support 1/3 bias.

-Andy

=== Andrew Warren - RemoveMEfastfwdTakeThisOuTspamix.netcom.com
=== Fast Forward Engineering - Vista, California
=== http://www.geocities.com/SiliconValley/2499

1997\10\10@105419 by Martin R. Green

picon face
Sorry, you've lost me there, 1/2 bias, 1/3 bias, please elaborate.
Also, I wasn't necessarily thinking of the 16C9xx series, couldn't you
drive these via a cmos latching shift register driven by a PIC, as
long as you invert the signal to the LCD at a constant rate?


TIA - Martin R. Green
spamBeGoneelimarspamBeGonespambigfoot.com

On Fri, 10 Oct 1997 07:45:02 -0800, Andrew Warren
<TakeThisOuTfastfwdEraseMEspamspam_OUTIX.NETCOM.COM> wrote:

{Quote hidden}

1997\10\11@110430 by Mike Smith

flavicon
face
-----Original Message-----
From: Martin R. Green <EraseMEelimarspamBIGFOOT.COM>
To: RemoveMEPICLISTEraseMEspamEraseMEMITVMA.MIT.EDU <RemoveMEPICLISTspam_OUTspamKILLspamMITVMA.MIT.EDU>
Date: Friday, 10 October 1997 23:17
Subject: Re: LCD displays


>I don't know if anyone else has thought of this, but just about now
>there should be a wealth of dead Tamagotchi displays at the bottom of
>toyboxes everywhere.  I have no idea how difficult they would be to
>drive, but they ar basically just a small dot matrix display with a
>few custom icons that you can just ignore.
>
>Anybody tried interfacing one of these yet?
>


And has anyone made a tamagotchi clone with a pic?  Or, better yet, an
electronic 'nanny' for one?

What micro do they use, these passing strange toys?

MikeS
<RemoveMEmikesmith_ozTakeThisOuTspamspamrelaymail.net>


'LCD displays'
1998\02\20@202717 by Ron Kreymborg
flavicon
face
Hi PICsters,

I need some help please. I am trying to write the code to drive a standard
2-line by 16 character lcd display from first principles (ie from the data
sheet). I know about Scott Edwards products but in Australia with shipping
costs we're talking $10 local $80 SE. While I am new to PICs I have been
programming for many years. The attached 16F84 program probably contains
some subtle blunder I have missed, but I have been working on it for many
hours. I am prepared to be embarassed.

The problem is the display doesn't do a thing. Not one dot. I have several
displays, some with surface mount chips (Toshiba T7934), some with globs
of epoxy. Otherwise they are physically the same. In each case the pinouts
are a row of 16 pads down one side:

  1 Vss       5 R/W        9 DB2        13 DB6
  2 Vdd       6 E         10 DB3        14 DB7
  3 Vo        7 DB0       11 DB4        15 v+
  4 RS        8 DB1       12 DB5        16 V-

Pin 2 is logic 5V, pin 3 is lcd v+. On some boards pins 15 & 16 power the
backlight, on others they are not defined. Because all the boards have
this same pinout and nomenclature, I have assumed they all share the same
instructions and timing requirements. The few spec sheets I have seem to
verify this. I have a detailed T7934 spec sheet that backgrounds the
skimpy sheets that come with the lcds. I have an oscilloscope and have
verified the timing right at the pads. The setup and hold times are all
sub-microsecond for the lcds, so shouldn't be a factor for a 4Mhz '84.

Sorry for all the words but just trying to fill in the background. I sure
would appreciate some comments.

Thanks
Ron

;******************************************************************
;
; Sample routines to display on a 2x16 character LCD display.
; Assumes a T7934 type lcd driver.
;
;******************************************************************

       title   "Test 2x16 LCD Routines"
       list p=pic16f84,r=dec,n=80,x=off,st=off
       include <p16f84.inc>
       errorlevel -302         ; no bank warnings

dotime  macro   arg1
       movlw   arg1
       call    wait
       endm
lcd     macro   arg1
       movlw   arg1
       call    xlcd
       endm
strb    macro   arg1
       bsf     STATUS,rp0
       movlw   arg1
       movwf   TRISB
       bcf     STATUS,rp0
       endm

; Data -
       cblock  0x0c            ; start of data area
       dval_1
       dval_2
       flags
       conword
       endc

; Flags -
bflag   equ     0
rsflag  equ     1

; I/O portB -
BUSY    equ     7               ; input - LCD is busy (0x80)
R_W     equ     3               ; output - LCD Read/Write (0x08)
RS      equ     2               ; output - Register Select (0x04)
E       equ     1               ; output - LCD Enable (0x02)


start   clrf    PORTA
       clrf    PORTB
       bsf     STATUS,rp0
       movlw   b'00000000'     ; all outputs and low to start
       movwf   TRISA
       movwf   TRISB
       bcf     STATUS,rp0

; Power up sequence is as per T7934 spec:

main    bcf     flags,rsflag    ; clear RS flag
       dotime  20              ; 20mSec power up delay
       movlw   b'00110000'     ; set function (8-bit)
       movwf   PORTB
       call    pulse
       dotime  5               ; 5mSec wait
       call    pulse
       dotime  1
       call    pulse

; Power up resets are done

       movlw   b'00100000'     ; set for 4-bit
       movwf   PORTB
       call    pulse

       lcd     b'00101000'     ; 4-bits, 2-lines, 5x7
       lcd     b'00001100'     ; display on
       lcd     b'00000001'     ; clear display
       lcd     b'00000110'     ; increment, no display shift

; Output some characters

loop    lcd     b'10000000'     ; address 0
       bsf     flags,rsflag    ; set RS high
       lcd     "T"
       lcd     "e"
       lcd     "s"
       lcd     "t"
       lcd     "i"
       lcd     "n"
       lcd     "g"
       lcd     "."
       bcf     flags,rsflag    ; RS low
       dotime  100
       goto    loop            ; write 'em again


; Check whether the LCD is busy. Loop until it isn't. When
; it's free output the byte passed in W, MS nibble first.

xlcd    movwf   conword         ; save control word
       strb    b'11110000'     ; RB7-4 as inputs for busy
       movlw   1 << R_W
       movwf   PORTB           ; set up for read

xlcda   bcf     flags,bflag     ; assume not busy
       bsf     PORTB,E         ; clock high
       nop                     ; little wait
       btfsc   PORTB,BUSY      ; busy set?
       bsf     flags,bflag     ; yes
       bcf     PORTB,E         ; clock low
       nop                     ; little wait
       nop
       call    pulse           ; get low bits but ignore (for now)
       btfsc   flags,bflag     ; was it busy?
       goto    xlcda           ; yes
       strb    b'00000000'     ; RB7-4 outputs again

       movf    conword,w       ; get word to send
       call    xlcdb           ; send high nibble
       swapf   conword,w       ; get word again
xlcdb   andlw   0xf0            ; just high bits (clears all control bits)
       movwf   PORTB
       btfsc   flags,rsflag    ; was RS set?
       bsf     PORTB,RS        ; yes
       call    pulse           ; write current nibble
       return


pulse   bsf     PORTB,E
       nop
       bcf     PORTB,E
       return


wait    movwf   dval_1          ; passed value is in mSec
       addwf   dval_1,f        ; correct for this routine
del1    movlw   0xa4            ; 0xa4 @ 4Mhz
       movwf   dval_2
del2    decfsz  dval_2,f
       goto    del2
       decfsz  dval_1,f
       goto    del1
       return


       end


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ron Kreymborg                   Computer Systems Manager
Monash University               CRC for Southern Hemisphere Meteorology
Wellington Road
Clayton, VIC 3168               Phone     : 061-3-9905-9671
Australia                       Fax       : 061-3-9905-9689
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1998\02\20@215014 by David Lions

picon face
Ron Kreymborg wrote:
>
> Hi PICsters,
>
> I need some help please. I am trying to write the code to drive a standard
> 2-line by 16 character lcd display from first principles (ie from the data
> sheet).


This is probably an industry standard character LCD, based on Hitchi
44780 chip.  There are huge amounts of info on driving these, and sample
code for PIC's.  Try first :

http://www.iaehv.nl/users/pouweha/lcd.htm

and then search for the "LCD FAQ", and look in the piclist archive...

1998\02\23@194524 by Ron Kreymborg

flavicon
face
Thanks to all those who replied. As Lynn said, it's probably in your
hardware. I had not realised the Vo lcd voltage was Vss referenced or that
the display was only visible over such a small range. The optimum Vo
voltage seems to be around 0.47V, with all pixels on at 0.3V and all off
at 1.5V. I didn't have a potentiometer handy and so for many hours
laboured over software with Vo tied to Vdd!

Ron

On Sat, 21 Feb 1998, Lynn Richardson wrote:

> It may not be just a program problem, Ron.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ron Kreymborg                   Computer Systems Manager
Monash University               CRC for Southern Hemisphere Meteorology
Wellington Road
Clayton, VIC 3168               Phone     : 061-3-9905-9671
Australia                       Fax       : 061-3-9905-9689
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


'LCD Displays'
1998\12\19@180618 by Bill Kichman
flavicon
face
Hello group,
I am new to the PICLIST and have a general design question.  I am
interested in designing an application using a PIC to, among other
things, control graphic display on one of the newer type  graphic
(possibly with touch screen) LCD displays.  Does this seem possible
using a PIC, given the high density of data for the required graphic
images?  Should it be possible with a few EPROMS for the display data?
Obviously I am in the initial design stage and need to consider all the
most feasible options before jumping right in.  The purpose of the
display is to provide feedback from monitored sensors, probably handled
by a separate PIC.  Any input is greatly appreciated.
Regards
Bill <So much to do, So little time> Kichman


'LCD Displays'
1999\11\16@201808 by Andrew T Kelley
picon face
I picked up two lcd displays a flea market.
They have markings on them. They are on the back:

"SSI"
Is this the manufacturer?

"M1632" or "MI632" I cannot tell
Model number

They have 14 pin two row headers on them.  It has a backlight(?) too, I
think.
They have HD44780A00 and HD44100H chips on the back

Any information would be appreciated( data sheets,links, etc.. )

Andrew K.
EraseMEK_AndrewspamspamspamBeGonejuno.com

___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: dl.http://www.juno.com/dynoget/tagj.

1999\11\16@204540 by Wagner Lipnharski

picon face
Hey Andrew, take a look at http:/http://www.ustr.net  and select LCD page.
There are lots of information about it.  Your LCD is a common 44780
driven LCD (the most common). Should work nicely. Good Luck. The HD44780
is the controller chip, while the HD44100 is the extension for more
digits... :)
Wagner.

Andrew T Kelley wrote:
{Quote hidden}

1999\11\16@204547 by Nick Taylor

picon face
Andrew,

Peer Ouwehand's site has probably the most complete HD44780 LCD info:
    http://www.iaehv.nl/users/pouweha/lcd.htm

Have fun,
- Nick -

Andrew T Kelley wrote:
{Quote hidden}

1999\11\16@210132 by Andrew

flavicon
face
Hi,

I have a lcd module with a NEC (i think) 7227 chip on it, I can't find any
info on the chip, has anyone got any info or know where I can get specs
etc..

Thanks in advance
Andrew Thoms

Andrew T Kelley wrote:

{Quote hidden}

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...