Re: [Owfs-developers] DS2413 problem

2008-04-25 Thread Paul Alfille
On Tue, Apr 22, 2008 at 9:19 PM, Alessio Sangalli <[EMAIL PROTECTED]> wrote: > owwrite. The fact is, the CVS version does not work (I am unable to > switch on and off the relay) but 2.7p4 works well. With both versions, > cvs and 2.7p4, I can read the temperature sensors. > Can you try the newest

Re: [Owfs-developers] DS2413 problem

2008-04-25 Thread Paul Alfille
On Tue, Apr 22, 2008 at 9:19 PM, Alessio Sangalli <[EMAIL PROTECTED]> wrote: > I had some other troubles. Embedded development is exciting ;) > > I just tested the latest cvs version; I now have used owserver + > owwrite. The fact is, the CVS version does not work (I am unable to > switch on and o

Re: [Owfs-developers] DS2413 problem

2008-04-22 Thread Alessio Sangalli
Paul Alfille wrote: > Of course, I can test on the fly, just tell me when you have committed > on the CVS > > Done. I had some other troubles. Embedded development is exciting ;) I just tested the latest cvs version; I now have used owserver + owwrite. The fact is, the CVS version does

Re: [Owfs-developers] DS2413 problem

2008-04-22 Thread Preben Bille Brahe
Alessio Sangalli wrote: > Gregg C Levine wrote: > >> Of course the difficulty lies within soldering down a SMT part, when >> this is >> a through the hole shop > > No, I have a too big, 25W soldering iron but I managed to solder the > nasty DS9503 and DS2413 just fine. I even created a SMD to

Re: [Owfs-developers] DS2413 problem

2008-04-22 Thread Alessio Sangalli
Gregg C Levine wrote: > Of course the difficulty lies within soldering down a SMT part, when this is > a through the hole shop No, I have a too big, 25W soldering iron but I managed to solder the nasty DS9503 and DS2413 just fine. I even created a SMD to hole converter: I took a 8 pin DIL so

Re: [Owfs-developers] DS2413 problem

2008-04-22 Thread Gregg C Levine
developers@lists.sourceforge.net Subject: Re: [Owfs-developers] DS2413 problem On Tue, Apr 22, 2008 at 10:07 AM, Alessio Sangalli <[EMAIL PROTECTED]> wrote: Of course, I can test on the fly, just tell me when you have committed on the CVS Done. But, tell me, in which time zone do you live?

Re: [Owfs-developers] DS2413 problem

2008-04-22 Thread Paul Alfille
On Tue, Apr 22, 2008 at 10:07 AM, Alessio Sangalli <[EMAIL PROTECTED]> wrote: > Of course, I can test on the fly, just tell me when you have committed > on the CVS > Done. > > But, tell me, in which time zone do you live? > GMT -4hours http://www.timeanddate.com/worldclock/city.html?n=43

Re: [Owfs-developers] DS2413 problem

2008-04-22 Thread Alessio Sangalli
Paul Alfille wrote: > Yes, I see my coding error. Are you willing to try again? Of course, I can test on the fly, just tell me when you have committed on the CVS But, tell me, in which time zone do you live? bye Alessio -

Re: [Owfs-developers] DS2413 problem

2008-04-22 Thread Paul Alfille
Yes, I see my coding error. Are you willing to try again? Paul On Tue, Apr 22, 2008 at 8:33 AM, Alessio Sangalli <[EMAIL PROTECTED]> wrote: > > I have compiled and installed the cvs versoin but what happens is that, > for example in owhttpd, now I cannot see the control buttons anymore, > instea

Re: [Owfs-developers] DS2413 problem

2008-04-22 Thread Paul Alfille
On Tue, Apr 22, 2008 at 8:49 AM, Alessio Sangalli <[EMAIL PROTECTED]> wrote: > I am a bit confused... > So I should write PIO.A/B to set and read latch.A/B to get the status, > is this what you mean? > Well, I guess it's technically "tri state logic". The PIO pin can be "closed" -- non-conducting

Re: [Owfs-developers] DS2413 problem

2008-04-22 Thread Alessio Sangalli
Paul Alfille wrote: > Writing PIO will set the pins conducting (1) or non-conducting (0) PIO > Reading Latch should show the PIO setting > Reading PIO should show the measured state > Reading sensed shows the invers of reading PIO (0 for near ground, 1 for > near 5V) > > The PIO.A and PIO.B shoul

Re: [Owfs-developers] DS2413 problem

2008-04-22 Thread Alessio Sangalli
Gregg C Levine wrote: > Hello! > Paul, Alessio, I am not sure that the DS2413 is configured to allow that to > happen. Its GPIO points, actually input only ones, although the company > calls them GPIO in their literature, are designed to respond to events on > those lines. Suggestions are given on

Re: [Owfs-developers] DS2413 problem

2008-04-22 Thread Alessio Sangalli
Paul Alfille wrote: > Are you able to test the fix from the CVS? I have compiled and installed the cvs versoin but what happens is that, for example in owhttpd, now I cannot see the control buttons anymore, instead I have an error message: 3A.8BDB uncached version up directory PIO.

Re: [Owfs-developers] DS2413 problem

2008-04-22 Thread Paul Alfille
; "The Force will be with you always." Obi-Wan Kenobi > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Paul > Alfille > Sent: Monday, April 21, 2008 8:21 PM > To: owfs-developers@lists.sourceforge.net > Subject: Re: [O

Re: [Owfs-developers] DS2413 problem

2008-04-21 Thread Gregg C Levine
Behalf Of Paul Alfille Sent: Monday, April 21, 2008 8:21 PM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] DS2413 problem Are you able to test the fix from the CVS? Paul Alfille On Mon, Apr 21, 2008 at 5:39 PM, Alessio Sangalli <[EMAIL PROTECTED]> wrote: Hi I am

Re: [Owfs-developers] DS2413 problem

2008-04-21 Thread Paul Alfille
Are you able to test the fix from the CVS? Paul Alfille On Mon, Apr 21, 2008 at 5:39 PM, Alessio Sangalli <[EMAIL PROTECTED]> wrote: > Hi I am not sure how to properly control the DS2413. I use it to control > two relays (that I drive with transistors 2N). > > I basically have to "open" or "

[Owfs-developers] DS2413 problem

2008-04-21 Thread Alessio Sangalli
Hi I am not sure how to properly control the DS2413. I use it to control two relays (that I drive with transistors 2N). I basically have to "open" or "close" the output pins; I can do it with PIO.BYTE (even though reading it returns a value which is not correct) but not with PIO.A or PIO.B I