Skip to content

lucsmall/WH2-Weather-Sensor-Library-for-Arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

_STOP PRESS!_

I now suggest using "Better WH2", an improved Arduino sketch for decoding packets from the WH2 outdoor temperature and humidity sensor from Fine Offset Electronics:

https://github.com/lucsmall/BetterWH2

Better WH2 incorporates timeouts and other changes that making decoding packets much more reliable. It has better immunity to noise and the code has been made less CPU intensive by reducing the frequency of timer interrupts by a factor of four. This frees up more time for your own code to run.

----

WH2 Weather Sensor Library for Arduino
Created by Luc Small on 30 April 2012.
Released into the public domain.


An Arduino library for receiving wireless data from the WH2 wireless 
temperature and humidity sensor from Fine Offset Electronics.

For more details on using this library, go to:

http://lucsmall.com/2012/04/30/weather-station-hacking-part-3/


This code contains a CRC-8 function adapted from the Arduino OneWire library:
 http://www.pjrc.com/teensy/td_libs_OneWire.html
Thanks go to the authors of that project.

About

A library for decoding packets from the WH2 wireless outdoor temperature and humidity sensor from Fine Offset Electronics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published