
AWSoMNavigation |
ConstructionSubmitted by delboy on Thu, 2006-07-20 22:28.
One Wire Weather
IntroductionOne Wire Weather is peripheral hardware that when attached to a client computer will automate the process of the collection of environmental data, such as temperature, humidity, wind velocity and direction. With the addition of modules it is possible to increase the scope for the collection of environmental data. In its basic form and without the addition of modules the unit will sample the following data "Wind Velocity", "Direction" and "Temperature". This unit is perfect for an enthusiast and hobbyist. Under Ubuntu it is simple to install, provided some preliminary libraries are added via the Synaptic Package Manager. Preliminary InstallationYou will need the following pre-installed before installing via compilation the One Wire Software. As we are compiling our software from code we need to be able to configure the Installation software for the machine we are compiling for, perform a "make" which builds the object code and binaries necessary, and finally install to the directories the software compiled. To achieve this you need the following installed along with any dependent software required. You need not worry about this if this is the first time you have tried to compile you own software, all will be explained in due course. Synaptic Package Manager
build-essential CompilingDownload the Source Code available from the following location.
oww-0.81.9.tar.gz If this link is broken please advise us & visit the following location oww.sourceforge.net it can only mean their is a newer version available. Using a program called "tar" unpack the downloaded file, use the following command to achieve this, you should run this command within the same directory that you have save the file to, provided this is downloaded within your own home directory you will not need to use "sudo". Now change directory to oww-0.81.9, only when you have all the above dependent files will you be able to compile this program. Execute the following command it should not be necessary to change your user login to root at this stage but you will need to later. As of version 0.82 the --without-usb option is not required only 0.81.9 needs to be compiled this way for the One Wire Weather System using a Serial connection rather than a USB connection. Now you need to build the code to do this use "make" on it own with no other directives. Then change user to root or use "sudo" and the following command You will be asked for a password and this will be your login password not a "root" password, use "sudo" instead of "root" where possible. HardwareThis hardware can be purchased for as little as £60 +VAT & P&P you are advised to shop around for the best deal just type "One Wire Weather" in any good search engine. ApplicationsWhat can this equipment be used for? It can be used for many varying applications it is a series of sensors after all, that on it's own can measure Temperature, Wind Velocity and Direction, with the addition of other modules these measurements can be expanded. So be it for a school or personal project this is a great way to make your computer do more, for little cost. |