Re: pyserial to read from DS1615 temperature recorder chip

2006-07-24 Thread Joe Knapka
Grant Edwards wrote: > On 2006-07-24, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > >>>Logs of the serial traffic would be helpful. >> >>Here they are. First a log of the traffic generated by the >>T-logger GUI program, abtained with Portmon. > > > I try to avoid Windows as much as humanly

Re: pyserial to read from DS1615 temperature recorder chip

2006-07-24 Thread Grant Edwards
On 2006-07-24, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> Logs of the serial traffic would be helpful. > > Here they are. First a log of the traffic generated by the > T-logger GUI program, abtained with Portmon. I try to avoid Windows as much as humanly possible, but one thing that appears

Re: pyserial to read from DS1615 temperature recorder chip

2006-07-24 Thread alexandre_irrthum
Thanks Grant, > Can you verify that the device is actually responding by > watching the data line with an oscilloscope? I don't have an oscilloscope but the device does respond (LED blinks) when I send it a test command (44H). > I take it that means that other programs are able to read from > th

Re: pyserial to read from DS1615 temperature recorder chip

2006-07-24 Thread alexandre_irrthum
Gerhard Fiedler wrote: > On 2006-07-24 14:03:30, [EMAIL PROTECTED] wrote: > > > To read from the chip, one must issue the "read page" command (33h), > > followed by the two-byte address of the requested page (pages are 32 > > bytes long). After receiving this, the DS1615 will send the data in a > >

Re: pyserial to read from DS1615 temperature recorder chip

2006-07-24 Thread Grant Edwards
On 2006-07-24, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >>> import serial >>> s = serial.Serial(0, baudrate=9600, bytesize=8, parity='N', stopbits=1, >>> timeout=None) >>> s.write("\x33") >>> s.write("\x00") >>> s.write("\x00") >>> s.read() # "\x00" is returned here. This byte was already i

Re: pyserial to read from DS1615 temperature recorder chip

2006-07-24 Thread Grant Edwards
On 2006-07-24, Gerhard Fiedler <[EMAIL PROTECTED]> wrote: > On 2006-07-24 14:03:30, [EMAIL PROTECTED] wrote: > >> To read from the chip, one must issue the "read page" command (33h), >> followed by the two-byte address of the requested page (pages are 32 >> bytes long). After receiving this, the DS

Re: pyserial to read from DS1615 temperature recorder chip

2006-07-24 Thread Gerhard Fiedler
On 2006-07-24 14:03:30, [EMAIL PROTECTED] wrote: > To read from the chip, one must issue the "read page" command (33h), > followed by the two-byte address of the requested page (pages are 32 > bytes long). After receiving this, the DS1615 will send the data in a > burst of (up to) 32 bytes. I'm

pyserial to read from DS1615 temperature recorder chip

2006-07-24 Thread alexandre_irrthum
Hi there, I am trying to use pyserial to read data from a temperature logger device (T-logger). T-logger is based on the DS1615 temperature recorder chip (Dallas Semiconductor). According to the DS1615 docs, writing to the chip is performed one byte at a time. To read from the chip, one must issu