Scott,
you can find schematic on the Maxim-Dallas DS2408 datasheet
http://pdfserv.maxim-ic.com/en/ds/DS2408.pdf

AAG uses this schematic for their TAI8590 1-Wire Text User Interface.
http://www.aagelectronica.com/aag/index.html (this is the model I am
experimenting with)

As I mentioned before, I am trying to write some simple Python code to
control LCD display connected to the DS2408. The owpython module
(binding of OWFS to Python - you can find details on OWFS web pages)
works great thanks to Peter Kropf (author of the code) and I can
control LCD display without difficulty.

I do not want to post the Python code to the list, I think it is OT
here. Of course I can provide it to you (or to anybody else) by direct
mail.

Petr

SJ>  Petr,
SJ>  
SJ>  I was wondering if you would mind providing me with the code you
SJ> put together to control you LCD via 1-wire DS2408, and also the
SJ> parts schematic.  I'd like to setup an LCD display on a 1-wire net
SJ> this winter, and am starting to gather info (of which I've found
SJ> very little so far).  Anything you have would be appreciated since I am 
quite novice in this area.
SJ>  
SJ>  Thanks much
SJ>  -Scott
SJ>  
SJ>  
SJ>  
SJ>  Petr wrote: 
SJ>   
SJ> Thanks to the "Owfs and DS2413 -- SOLVED" topic on this list, the
SJ> problem is solved and I am able to initialize the LCD display
SJ> flawlessly.

SJ> My feeling was I have to send (write) "1" to the PIO if I need to get
SJ> "1" (HI, 5V) on the DS2408 data pin. Opposite is the truth.

SJ> For example if you write:
SJ> PIO_ALL="1,1,1,1,1,1,1,1,"

SJ> you will get LO TTL logic level on the all data pins of the DS2408.

SJ> It took me the whole day to get it working :)

SJ> Petr




PJ>> Simon Natterer <simon <at> natterer-legau.de> writes: 
SJ>   
SJ>   
SJ>   
SJ> Paul Alfille wrote: 
SJ>   
SJ>   
SJ> In short, the datasheet is confusign to me. I gather there is a mode
SJ> where the DS2408 is used for relatively high-speed communication through
SJ> it's PIO pins, with the strobe pin used for handshaking. This fits
SJ> poorly into the OWFS model. OWFS pretends the 1-wire devices are
SJ> block-devices (think of 1-wire as a scsi controller), not a character
SJ> devices (like a serial line). 
SJ>   
SJ>   
SJ> It seems to work for me! The RSTZ pin signals correctly
SJ> when the written data is valid, for me it is connected to
SJ> the display-enable-pin and the display works. So I think
SJ> the RSTZ pin generates a falling edge after each
SJ> byte is written.
SJ> So if in owfs strobe is set to 1 it has this behavoir, if it
SJ> is set to 0 the RSTZ pin is used as a reset pin.
SJ> I don't see a problem. 
SJ>   
SJ>   
SJ>   
PJ>> Simon,

PJ>> I am trying to experiment with DS2408 to drive LCD display. I am trying to 
write
PJ>> the code in OWPython binding. But I can't even initialize the LCD display. 
Can
PJ>> you post the snippet of the LCD initialization code please?

PJ>> Thanks a lot

PJ>> Petr







-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to