Yes, I'm aware of diffs and I think/hope I've done the conversion
correctly.
Here's my LCD specs:
http://bytality.com/files/OWFS_Hardware_Files/40x4_LCD_specs___lc4857-lv-4x40.pdf
Here's my pin connections:
LCD_H Driver pinout --> 4x20 LCD pin - Description
01 --> 13 - Power Supply Ground
02 --> 14 - Power Supply +5V
03 --> 12 - Contrast Adjust
04 --> 11 - RS
05 --> 10 - R/W
06 --> 09 - E1 (Enable for lines 1&3)
07 --> NC - DB0
08 --> NC - DB1
09 --> NC - DB2
10 --> NC - DB3
11 --> 04 - DB4
12 --> 03 - DB5
13 --> 02 - DB6
14 --> 01 - DB7
15 --> BL1 - LED +5V
16 --> BL2 - LED Ground
-Scott
Eric Vickery wrote:
Make sure that you have your wiring correct since the pinout of the 4x40 is
different than all the others 2x40 or smaller.
Eric
[EMAIL PROTECTED] wrote:
I seem to be having similar troubles too. I'm using a hobby-boards
driver on a 4x40 LC4857FG-SNYLV (which is essentially two 2x40 LCD's
put onto 1 board and I'm only using one of them ) It just gives me a
write error. Can anyone tell me exactly what that means? Is it
indicative of a wiring problem or a software bug? [See bottom for
OWServer's output]
1) I power on the LCD and all chars are dark boxes ( uninitialized state)
I've then tried both
2a) Writing TEST to LCD_H/message
2b) I've also tried just clearing the screen
in both cases
3) No text shows on LCD. The top row of chars go blank and bottom row
stays same as uninitialized (full dark boxes).
I think my wiring is correct from what I can tell. Any thoughts? I'm
using the windows build 2.5p6b owserver binary. If I can get it
working, I'm going to try the liveCD and see if I get similar results/issue.
-Scott
Here's the two debug outputs for reference.
/**************************************/
/**** OWHTTPD output ******/
/**** Call: TEST > message *****/
/**************************************/
CALL: PreParse line=GET /29.6EA701000000/LCD_H?message=TEST HTTP/1.1
DEBUG: URL parse file=/29.6EA701000000/LCD_H, request=message, value=TEST
CALL: WLcmd: GET file: /29.6EA701000000/LCD_H request:
message value: TEST version: HTTP/1.1
CALL: PARSENAME path=[/29.6EA701000000/LCD_H]
DEBUG: Get from cache sn 29 6E A7 01 00 00 00 1E in=0x0 index=-1
size=1628461844
DEBUG: Found in cache
CALL: PARSENAME path=[/29.6EA701000000/LCD_H/message]
DEBUG: Get from cache sn 29 6E A7 01 00 00 00 1E in=0x0 index=-1
size=1628461844
DEBUG: Found in cache
DETAIL: CHANGEDATA path=/29.6EA701000000/LCD_H/message value=TEST
CALL: SERVER(0)WRITE path=/29.6EA701000000/LCD_H/message
DEBUG: ParsedName_destroy /29.6EA701000000/LCD_H/message
CALL: DIRECTORY path=/29.6EA701000000/LCD_H
CALL: PARSENAME path=[/29.6EA701000000/LCD_H/clear]
DEBUG: Get from cache sn 29 6E A7 01 00 00 00 1E in=0x0 index=-1
size=1628461844
DEBUG: Found in cache
DEBUG: ParsedName_destroy /29.6EA701000000/LCD_H/clear
CALL: PARSENAME path=[/29.6EA701000000/LCD_H/home]
DEBUG: Get from cache sn 29 6E A7 01 00 00 00 1E in=0x0 index=-1
size=1628461844
DEBUG: Found in cache
DEBUG: ParsedName_destroy /29.6EA701000000/LCD_H/home
CALL: PARSENAME path=[/29.6EA701000000/LCD_H/message]
DEBUG: Get from cache sn 29 6E A7 01 00 00 00 1E in=0x0 index=-1
size=1628461844
DEBUG: Found in cache
DEBUG: ParsedName_destroy /29.6EA701000000/LCD_H/message
CALL: PARSENAME path=[/29.6EA701000000/LCD_H/screen]
DEBUG: Get from cache sn 29 6E A7 01 00 00 00 1E in=0x0 index=-1
size=1628461844
DEBUG: Found in cache
DEBUG: ParsedName_destroy /29.6EA701000000/LCD_H/screen
DEBUG: ParsedName_destroy /29.6EA701000000/LCD_H
/**************************************/
/**** OWServer output ******/
/**** Call via OWWrite: /29.6EA701000000/LCD_H/message TEST *****/
/**************************************/
CALL: owserver: parse path=/29.6EA701000000/LCD_H/message
CALL: PARSENAME path=[/29.6EA701000000/LCD_H/message]
DEBUG: Get from cache sn 29 6E A7 01 00 00 00 1E in=0x0 index=-1
size=1628461844
DEBUG: Found in cache
DEBUG: Expired in cache
DETAIL: Checking presence of /29.6EA701000000/LCD_H/message
DEBUG: Selecting a path (and device)
path=/29.6EA701000000/LCD_H/message SN=29 6E A7 01 00 00 00 1E last
path=00 00 00 00 00 00 00 00
DATA: DS9490_reset
DEBUG: Client address not yet parsed
DATA: DS9490_reset: ok
DEBUG: Transaction verify = 0
DEBUG: Add to cache sn 29 6E A7 01 00 00 00 1E in=0x0 index=-1 size=4
CALL: Write message
DEBUG: Get from cache sn 29 6E A7 01 00 00 00 1E in=0x6fb0087b index=-2
size=24576000
DEBUG: Not found in cache
DEBUG: Selecting a path (and device)
path=/29.6EA701000000/LCD_H/message SN=29 6E A7 01 00 00 00 1E last
path=00 00 00 00 00 00 00 00
DATA: DS9490_reset
DATA: DS9490_reset: ok
DEBUG: Transaction select = 0
DEBUG: Transaction send = 0
DEBUG: Selecting a path (and device)
path=/29.6EA701000000/LCD_H/message SN=29 6E A7 01 00 00 00 1E last
path=00 00 00 00 00 00 00 00
DATA: DS9490_reset
DATA: DS9490_reset: ok
DEBUG: Transaction select = 0
DEBUG: Transaction send = 0
DEBUG: Transaction readin = 0
DEBUG: Selecting a path (and device)
path=/29.6EA701000000/LCD_H/message SN=29 6E A7 01 00 00 00 1E last
path=00 00 00 00 00 00 00 00
DATA: DS9490_reset
DATA: DS9490_reset: ok
DEBUG: Transaction select = 0
DEBUG: Transaction send = 0
DEBUG: Transaction readin = 0
DEBUG: Selecting a path (and device)
path=/29.6EA701000000/LCD_H/message SN=29 6E A7 01 00 00 00 1E last
path=00 00 00 00 00 00 00 00
DATA: DS9490_reset
DATA: DS9490_reset: ok
DEBUG: Transaction select = 0
DEBUG: Transaction send = 0
DEBUG: Transaction readin = 0
DEBUG: Selecting a path (and device)
path=/29.6EA701000000/LCD_H/message SN=29 6E A7 01 00 00 00 1E last
path=00 00 00 00 00 00 00 00
DATA: DS9490_reset
DATA: DS9490_reset: ok
DEBUG: Transaction select = 0
DEBUG: Transaction send = 0
DEBUG: Transaction readin = 0
DEBUG: Transaction send = 0
DEBUG: Transaction readin = 0
DATA: Write error on /29.6EA701000000/LCD_H/message (size=4)
DEBUG: ParsedName_destroy /29.6EA701000000/LCD_H/message
DEBUG: RealHandler: FS_ParsedName_destroy done
DEBUG: RealHandler: cm.ret=0
DEBUG: RealHandler: done
Ben Griffith wrote:
Hi,
I've got a 16x2 character LCD wired up on a breadboard, and I've
switched back and forth between the Maxim design and the Hobby-Boards
design, but I can't get anything to display on the LCD. I can see the
DS2408 in owfs, and when I power up the LCD I see all all dark boxes
on the top row, which I think is what it should look like before it's
initialized. Then if I try to "echo hello > message" under LCD_H or
LCD_M (depending on which way I have it wired at the time) the LCD
goes blank. I've tried playing with the contrast and I can see the
spaces getting darker but there are no characters displayed. I've
checked and double checked my wiring, and switched back and forth
between the two designs several times, swapped out 3 different DS2408s
and three different LCDs, but I just can't get anything to display.
Is there a trick to getting it to work? Something I might have
overlooked? I'd really appreciate any help or advice anyone could give.
Thanks,
Ben Griffith
------------------------------------------------------------------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
|
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers