Hi Bruce!

On Jan 10, brucek <[email protected]> wrote:

> I have a few simple scripts that are writing to the display using the
> screenyx.  It seems to fun fine for awhile...and then the screen goes blank.
> If I send a clear (via owhhtpd) the display wakes up and continues to
> run....for awhile.  Clearing the display always seems to restore it.
> I'm assuming that my script is somehow turning the display off (by sending
> bad data?, and clearing it forces it to turn back on.

In my case I even disconnected and reconnected the whole ds2408 (+ 
display) from the bus, but I could never get it to display sane data until 
restart of owserver. I've upgraded to 2.8p14 now, maybe its better with 
this version.

> As for garbage, I had lots of it...until I remembered to add pull-ups on the
> i/o lines. No more garbage anymore.
How much do you use? I used 22k resistors.

> I currently have about 25 sensors on a network that is about 100-150' long.
> All of my sensors (ok, all that are installed permanently, and not just
> being tested) are wired so that 1 pair goes down to a sensor, and 1 pair
> comes back on the same run of CAT5, such that all stubs are actually
> daisy-chained.

I use one pair for 5V, one for Gnd and one for 1wire (back-and-forth, like 
you do). I've read that one should use "more copper" for the supply 
voltage/ground in order to minimize transmission losses (beat me, I'm no 
electronics guru ;)
I don't know how many sensors I have currently because somehow owfs only 
shows two of them, although I can "cd" into the "invisible" directories 
without problem and do queries and set commands.
(a quick manual count gives me 17 sensors, not as much as you but still 
not bad ;) And I've just received 4 more ds18s20 which are likely to be 
deployed sooner or later ...

And writing this reminds me to make another light sensor. My last design 
used a ds2406 + transistor + photo diode, with schmitt trigger for my 
garage. I have a movement sensor there (not 1wire coupled) which switches 
a 60W light bulb for quick illumination. On the other hand, if I switch on 
the neon lamps, I don't need the 60W bulb, so the light sensor turns off a 
relay that's between the movement sensor and the 60W bulb. (it also works 
if there is enough daylight, but I don't have any windows there, so it's 
dark most of the time).

I might also use a ds2438 + photo resistor. I think I'm going to try with 
breadboard first :)

I want to detect if there is (electric) light in the living room, but on 
the other hand some fine grained sensor data would also be nice (but I 
should install it on my roof in that case). Has anyone here built a light 
sensor for outdoor usage?


> Bruce

Markus

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to