"1-Wire is a computer bus system designed by Dallas Semiconductor that provides low-speed data, signaling and power over a single wire. 1-Wire is similar in concept to I2C, but with lower data rates and a much lower cost (http://en.wikipedia.org/wiki/1-Wire)
@info 1-Wire bus is a copyright of Dallas Semiconductor please access to 1-wire home page (http://www.maxim-ic.com/1-Wire.cfm) for more info.
Owfs is a method under linux to allow 1-wire devices to appear like files in a directory. You can then enter a command like "cat */temperature" to have all the temperatures sensors measure and print their data. For instance, the collection of temperature sensors above are all on one bus, individually addressable, and will reconfigure on the fly as items are added or removed.
@info Owfs is a project of Paul H. Alfille and The owfs Team please access to Owfs home page (http://owfs.sourceforge.net/) for more info.
patch -p1 < /path/fox_owfs_diff.txt cp /path/packages-apps-owfs-R1_0_0.tar.gz distfiles/ cp /path/packages-apps-owfs-R1_0_0.tar.gz.md5 distfiles/ cp /path/apps-owfs-IR2_2_0-1.tar.gz distfiles/ cp /path/apps-owfs-IR2_2_0-1.tar.gz.md5 distfiles/ cp /path/apps-fuse-IR2_4_1-1.tar.gz distfiles/ cp /path/apps-fuse-IR2_4_1-1.tar.gz.md5 distfiles/ cp /path/apps-kmod-fuse-IR2_4_1-1.tar.gz distfiles/ cp /path/apps-kmod-fuse-IR2_4_1-1.tar.gz.md5 distfiles/
make menuconfig
rm -rf apps/owfs* apps/fuse* apps/kmod-fuse* packages/apps/owfs* ./configure make
run-owfs Using /lib/modules/2.4.31/fuse.o ls -l /tmp/1wire/ drwxr-xr-x 1 root root 1 Nov 7 10:59 10.061847000800 drwxr-xr-x 1 root root 1 Nov 7 10:59 10.1A9246000800 drwxr-xr-x 1 root root 1 Nov 7 10:59 10.233B40000800 drwxr-xr-x 1 root root 1 Nov 7 10:59 10.2BD346000800 drwxr-xr-x 1 root root 1 Nov 7 10:59 10.4D8746000800 drwxr-xr-x 1 root root 1 Nov 7 10:59 10.5D1947000800 drwxr-xr-x 1 root root 1 Nov 7 10:59 10.6D0150000800 drwxr-xr-x 1 root root 1 Nov 7 10:59 10.762047000800 drwxr-xr-x 1 root root 1 Nov 7 10:59 10.A22840000800 drwxr-xr-x 1 root root 1 Nov 7 10:59 10.B3E166000800 drwxr-xr-x 1 root root 1 Nov 7 10:59 10.E2C746000800 drwxr-xr-x 1 root root 1 Nov 7 10:59 10.E54347000800 drwxr-xr-x 1 root root 1 Nov 7 10:59 1F.7DC202000000 drwxr-xr-x 1 root root 1 Nov 7 10:59 FF.720200000100 drwxr-xr-x 1 root root 1 Jan 1 2000 bus.0 drwxr-xr-x 1 root root 1 Jan 1 2000 settings drwxr-xr-x 1 root root 1 Jan 1 2000 statistics drwxr-xr-x 1 root root 1 Jan 1 2000 structure drwxr-xr-x 1 root root 1 Jan 1 2000 system drwxr-xr-x 1 root root 1 Jan 1 2000 uncached cat /tmp/1wire/10.2BD346000800/temperature 18.125
It should also be possible to visit the URL http://192.168.0.90:3001/ to see the devices through owhttpd which listens to port 3001.
@info Thanks to Christian Magnusson for the owsf porting on the FOX Board
(http://home.mag.cx)
for more info.
|
|
Atmel© Certified Partner |
Documentation Terms of Use
Acme Systems provides this documentation "as is" without warranty or guarantees of any kind.
The mantainer of this site (Sergio Tanzilli), has gone to a great deal
of effort into making this documentation as correct as possible.
Acme Systems doesn't provide any direct support for the Open Source preinstalled software but provides, through
these pages and forum posts, all the information required to obtain the sources, install, use and update the
Open Source softwares runnable on the FOX Board, NetusG20, AriaG25 and Terra platforms.
Please note that all the preinstalled softwares, used on the Acme Systems products, are Open Source and you will
have to check the license terms provided (usually the GPL) by each author before using it in any commercial or non-commercial
product, by yourself.
Before sending emails or calling the Acme staff here are our contacts
please note that WE ARE MAINLY HARDWARE DESIGNERS and NOT LINUX GURUS so could be better to post
your questions directly to the forum listed below to be sure that all the contributors of this site and
the large software developers community will read and reply to your questions.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.