This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
livebox:universalrfrx [2013/06/26 10:38] – [The decoder] brett | livebox:universalrfrx [2013/09/05 06:05] – [The receiver] brett |
---|
| |
The source: http://livebox-hah.googlecode.com/svn/trunk/userapps/arduino/ You will also need the RFRX Library . | The source: http://livebox-hah.googlecode.com/svn/trunk/userapps/arduino/ You will also need the RFRX Library . |
| |
| <note>The RFRX library is part of the HAHCentral sketch so by attaching a RF receiver to this existing hardware you can get this functionality for very little extra cost. Just the cost of a RF Rx unit, which is about 3-4 quid.</note> |
| |
The beautiful part of this design is the separation of the signal gatherer from the decoder. We look for a signal that has a lead-in >10ms and repeats more than once. If this condition is met we emit the pulse stream for a repeating block out to the serial port for the decoder to deal with. | The beautiful part of this design is the separation of the signal gatherer from the decoder. We look for a signal that has a lead-in >10ms and repeats more than once. If this condition is met we emit the pulse stream for a repeating block out to the serial port for the decoder to deal with. |
vserial=1 | vserial=1 |
</code> | </code> |
| |
| * vserial - Virtual Serial port (1) or Directly connected hardware (0) |
| * enable - Start this service automatically |
| |
Each RF<number>.STATE pattern is created as a BSC endpoint. When a signal comes in that matches our definition the endpoint will have its state changed accordingly and an xAPBSC.event will be generated. | Each RF<number>.STATE pattern is created as a BSC endpoint. When a signal comes in that matches our definition the endpoint will have its state changed accordingly and an xAPBSC.event will be generated. |