Arduino library to control the ELV TX868 rf transmitter module to send temperature and humidity values over the air.
C++
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
LICENSE
README.md
TempHygroTX868.cpp
TempHygroTX868.h
keywords.txt
library.properties

README.md

TempHygroTX868

Arduino library to control the ELV TX868 rf transmitter module to send temperature and humidity values over the air at 868.35 MHz.

The communication protocol is compatible to ELV sensors like the S 300 and ASH 2200, therefore the data may be received by weather stations like USB-WDE 1, WS 200/300, and IPWE 1 manufactured by ELV.

Usage

#include <TempHygroTX868.h>

TempHygroTX868 tx;

void setup()
{
  tx.setup(5); // TX868 is at data pin 5
}

void loop()
{
  byte address = 3;
  float humidity = 50;
  float temperature = 21.4;

  tx.setAddress(address);
  tx.send(temperature, humidity);

  delay((unsigned long)tx.getPause() * 1000UL);
}

For all options, see TempHygroTX868.h. The examples directory contains several examples including full production code to build a weather sensor/transmitter similar to the S300:

Wireless temperature and humidity sensor

Installation

License

Copyright 2015 Martin Kompf

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.