Hello owfs-users and developers,
I just, registered to this mailing list. I am the one who had the questions on "stepper driving with owfs", Paul was so kind to post them here.
I got my DS9490R from Dallas today and I got it running with owfs (latest daily package) under gentoo. I can mount it as root and acces the bus as user.
Note: It took some research how to pass the "-x" command to fusermount , I use fuse 2.2 pre 3 and --fuse-opts"allow_other" did the trick for me, there should be some advice in the faq that tells you how to pass the option correctly according to the fuse version used. I run Gentoo Kernel 2.6.10
I plan to use the one wire bus mostly for environment control (Terrarium) and as timer.
At the then the bus weight will be around 30m-40m with around 6-8 sensors (Temperature, humidity, light) 6-7 relais, and one 12v stepper motor. Is standard telephone cable still good enough for this cable weight? Or should I go with cat5 cable ... its all in the cable according to the dallas application notes ;)
So far I only got the sensor readout working. I write my applications in Gambas what is a kind of Virtual Basic (please dont throw stones on me), its not C, but very easy to learn. The only programming experience I have is qbasic to for me its a gigantic step forward.
The next step will be relais control, I will use DS2408 for this , someone mentioned I should use logic 0 the switch instead of logic 1. Why is it better this way?
I finally understood how an optokoppler works (my electronic knowledge is still very basic, 3 innocent optokopplers went up in smoke but now I know how they work), the relais are very simple : BC517, CNY17-2, LED, Resistor, some diodes, I would connect everything this way :
1.PIO PIN goes LOW 2.Optokoppler transistor switches 3.Collector Emitter voltage connects to BC 517 Base Voltage 4.BC 517 switches and power is going through the Relais
This circuit was tested (without DS2408 just some wires and powersupply) and I hope it will work, it will be tested tomorrow but if you think anything should be done different please post it.
When the Relais run I will investigate the stepper control further...
My final and most important question :
On the DS9490R there are two Grounds : "1-wire GND / Return" and "power ground"
I assume power ground is for the is the gnd for the +5V stolen from the USB Port, so I wont need this.
But when I use an external power supply to power the sensors / IO chips, do I have to connect 1-wire Ground even when i already have connected the gnd pin of the chip to the GND of my power supply?
I mean when the ground wire from my power supply and 1-wire ground are connected to the same pin could this harm my Adapter or USB Port? The power Supply will power all Bus devices(5v), relais(5v) and 3 PC Fans(12v) so I am afraid this could do damage to the port.
Thanks for all your help, this mailing list is really helping, without it I would still sit here and wonder why I cant access my USB-dongle :)
Thats all for now, please forgive my poor english I am german. Simon
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers