Having access to the dallas semiconductor 1 wire sensor and an arduino board i decided to try to get them to work nicely together
here is how it works
Extract the following 2 files into your Arduino/libraries folder
extract the following two files into your Arduino projects directory:
wire the Arduino as such:
|flat side facing|
|pin3 <--4.7k--> +5|
Both of the programs above output to the serial connection.
as i am using windows XP i connect through hyper terminal and receive the data
Use the one wire address finder to discover the address of your sensor and to check that it is wired correctly
replace the address int he one wire temperature sensor file with the one found by the address finder
Run the one wire temperature sensor sketch
It should output the data in both Fahrenheit and Celsius.
Arduino TSP Reviewed by Chris Yarger on 21:00 Rating: