Skip to content
To decode data from Oregon Sensors
C++
Branch: master
Clone or download
Latest commit 00e982a Jan 6, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples many changes Jan 1, 2016
src correct jenkins bugs Jan 3, 2016
INSTALL.txt changes in INSTALL Jan 2, 2016
LICENSE.md Update LICENSE.md Jan 2, 2016
README.md to correct bug in print hexadecimal ID Jan 3, 2016
keywords.txt add keywords file Jan 1, 2016
library.json change json file Jan 1, 2016
library.properties Update library.properties Jan 6, 2016

README.md

Arduino Oregon Library:

##Tested Hardware:

  • Arduino UNO
  • 433Mhz receiver (connected on digital pin 2)
  • Oregon sensors THGR228N

Example without MySensors:

Serial output:

Brute Hexadecimal data from sensor:
1A2D10E2711860043CDA
Oregon ID: 226 Hexadecimal: E2
Sensor ID: 226 has been find in position EEPROM: 0
Oregon model: THGR228N
Oregon channel: 1
Oregon temperature: 18.70
Oregon humidity: 46
Oregon battery level: 90

----

Brute Hexadecimal data from sensor:
1A2D10B4201340052F43
Oregon ID: 180 Hexadecimal: B4
Sensor ID: 180 has been find in position EEPROM: 1
Oregon model: THGR228N
Oregon channel: 1
Oregon temperature: 13.20
Oregon humidity: 54
Oregon battery level: 90

Example with MySensors library (www.mysensors.org):

Serial output:

Brute Hexadecimal data from sensor:
1A2D10E2711860043CDA
Oregon ID: 226 Hexadecimal: E2
Sensor ID: 226 has been find in position EEPROM: 0
Oregon model: THGR228N
Oregon channel: 1
Oregon temperature: 18.70
send: 10-10-0-0 s=0,c=1,t=0,pt=7,l=5,sg=0,st=ok:18.7
Oregon humidity: 46
send: 10-10-0-0 s=0,c=1,t=1,pt=7,l=5,sg=0,st=ok:46.0
Oregon battery level: 90
send: 10-10-0-0 s=0,c=1,t=24,pt=7,l=5,sg=0,st=ok:90.0

----

Brute Hexadecimal data from sensor:
1A2D10B4201340052F43
Oregon ID: 180 Hexadecimal: B4
Sensor ID: 180 has been find in position EEPROM: 1
Oregon model: THGR228N
Oregon channel: 1
Oregon temperature: 13.20
send: 10-10-0-0 s=1,c=1,t=0,pt=7,l=5,sg=0,st=ok:13.2
Oregon humidity: 54
send: 10-10-0-0 s=1,c=1,t=1,pt=7,l=5,sg=0,st=ok:54.0
Oregon battery level: 90
send: 10-10-0-0 s=1,c=1,t=24,pt=7,l=5,sg=0,st=ok:90.0

Result on OpenHAB controller (With MySensors)

Logo

You can’t perform that action at this time.