Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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

Extension for old sensor protocol

The library has been extended to implement the old ELV sensor transmission protocol V1.1 as well. This should support Thermo/Hygro sensors like the AS2000 and ASH2000 which are using the 433 MHz transmitter HFS-300.

To enable the old protocol, pass the protocol version to the setup() method:

void setup()
{
  // TX868 is at data pin 5
  // Use the old protocol V1.1
  tx.setup(5, TempHygroTX868::PROT_V11);
}

Installation

References

License

Copyright 2015, 2020 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/.

About

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

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.