W dniu 20.11.2012 o 16:06 Sven Geggus <[email protected]> pisze:
> Paul Alfille <[email protected]> wrote: > >> The easiest solution to DS2483 use is just to add "--no_PPM" to the >> command >> line of a working OWFS version. > > Ah, cool. Seems to work fine even with the Version of owfs supplied by > Raspbian wheezy and installed via apt-get (2.8p15). > > I just connected the DS2483 on a breadboard without any additional > components like resistors etc. > > The SLPC PIN is just connected to 3.3V. > > However, I discovered one strange thing: > > I connected a DS18S20 for testing purposes and without connecting the 5V > supply I > always get 85°C. I tried first with all 3.3V power to i2c and 1-wire also. On very short wires on a breadboard it works both ways. However I use DS18B20 not S. Both outer pins are tied to GND. The conversion/read takes ablut 6 seconds. Then everything works with 5V (1-wire) to power and 3.3V to SLPZ DS18B20 powered reading temperature takes 0.7s in parasite power 1.2s > > Another question. Would it be a good idea to add an DS9503 to the > 1-wire output as well? I think the best way would be to add ADuM1250 to fully sperate 1-wire. It's fairly cheap and available. The datasheet of DS2483 says Built-In ESD Protection Level of ±8kV Human Body Model (HBM) Contact Discharge on IO Pin I use the latest CVS The debug output is /opt/owfs/bin/owfs --i2c=/dev/i2c-0:ALL --no_PPM --debug /mnt/owfs/ DEBUG MODE libow version: 2.8p20 CONNECT: owfs.c:(96) fuse mount point: /mnt/owfs/ CONNECT: ow_avahi_link.c:(72) No Avahi support. Library libavahi-client couldn't be loaded CONNECT: ow_dnssd.c:(82) Zeroconf/Bonjour is disabled since dnssd library isn't found CALL: ow_parsename.c:(98) path=[] DEBUG: owlib.c:(82) Globals temp limits 0C 100C (for simulated adapters) CONNECT: ow_ds2482.c:(399) Found an i2c device at /dev/i2c-0 address 18 DEBUG: ow_ds2482.c:(516) ok CONNECT: ow_ds2482.c:(428) i2c device at /dev/i2c-0 address 18 appears to be DS2482-x00 DEBUG: ow_ds2482.c:(790) Channel selected doesn't match CONNECT: ow_ds2482.c:(692) DS2482-100 (Single channel) DEBUG: ow_ds2482.c:(679) Can set to port configuration! a DS2483! CONNECT: ow_ds2482.c:(399) Found an i2c device at /dev/i2c-0 address 19 CONNECT: ow_ds2482.c:(425) i2c device at /dev/i2c-0 address 19 cannot be reset. Not a DS2482. CONNECT: ow_ds2482.c:(399) Found an i2c device at /dev/i2c-0 address 1A CONNECT: ow_ds2482.c:(425) i2c device at /dev/i2c-0 address 1A cannot be reset. Not a DS2482. CONNECT: ow_ds2482.c:(399) Found an i2c device at /dev/i2c-0 address 1B CONNECT: ow_ds2482.c:(425) i2c device at /dev/i2c-0 address 1B cannot be reset. Not a DS2482. CONNECT: ow_ds2482.c:(399) Found an i2c device at /dev/i2c-0 address 1C CONNECT: ow_ds2482.c:(425) i2c device at /dev/i2c-0 address 1C cannot be reset. Not a DS2482. CONNECT: ow_ds2482.c:(399) Found an i2c device at /dev/i2c-0 address 1D CONNECT: ow_ds2482.c:(425) i2c device at /dev/i2c-0 address 1D cannot be reset. Not a DS2482. CONNECT: ow_ds2482.c:(399) Found an i2c device at /dev/i2c-0 address 1E CONNECT: ow_ds2482.c:(425) i2c device at /dev/i2c-0 address 1E cannot be reset. Not a DS2482. CONNECT: ow_ds2482.c:(399) Found an i2c device at /dev/i2c-0 address 1F CONNECT: ow_ds2482.c:(425) i2c device at /dev/i2c-0 address 1F cannot be reset. Not a DS2482. DEBUG: ow_com_close.c:(42) Unimplemented!!! DEBUG: ow_ds2482.c:(343) Cleaning excess allocated i2c structure DEBUG: fuse_line.c:(82) Added FUSE option 0 OWFS DEBUG: fuse_line.c:(82) Added FUSE option 1 /mnt/owfs/ DEBUG: fuse_line.c:(82) Added FUSE option 2 -o DEBUG: fuse_line.c:(82) Added FUSE option 3 direct_io DEBUG: fuse_line.c:(82) Added FUSE option 4 -f DEBUG: fuse_line.c:(82) Added FUSE option 5 -d DEBUG: owfs.c:(121) fuse_mnt_opt=[(null)] DEBUG: owfs.c:(123) fuse_open_opt=[(null)] FUSE library version: 2.9.0 nullpath_ok: 0 nopath: 0 utime_omit_ok: 0 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0 INIT: 7.17 flags=0x0000047b max_readahead=0x00020000 INIT: 7.18 flags=0x00000011 max_readahead=0x00020000 max_write=0x00020000 max_background=0 congestion_threshold=0 unique: 1, success, outsize: 40 ^C DEBUG: ow_exit.c:(18) Exit code = 0 -- patryk ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
