Differences
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/17 07:17] – [The decoder] brett | livebox:universalrfrx [2013/06/26 10:38] – [The decoder] brett | ||
---|---|---|---|
Line 5: | Line 5: | ||
{{: | {{: | ||
+ | With the virtual serial port mode this makes it possible to combine the HAHCentral sketch with the RFRX receiver code module. | ||
+ | |||
+ | It would also allow you to combine say the RFGateway sketch using the Nanode hardware with the RF hardware and have the xap-serial message being dumped directly onto the Ethernet. | ||
===== The receiver ===== | ===== The receiver ===== | ||
The hardware to slurp and detect what looks like a valid RF signal from all the background noise. | The hardware to slurp and detect what looks like a valid RF signal from all the background noise. | ||
- | The beautiful part of this design is the separation of the signal gatherer from the decoder. | + | The source: http:// |
- | Here is a pulse train that meet this condition. | + | The beautiful part of this design is the separation of the signal gatherer from the decoder. |
+ | |||
+ | Here is a pulse train that meets this condition. | ||
{{: | {{: | ||
- | The first block would be stored and when the 2nd block is encountered | + | The first block would be stored and when the 2nd block is encountered |
| | ||
Sample output. | Sample output. | ||
Line 25: | Line 30: | ||
</ | </ | ||
- | This pulse sequence be visualized using a helper: | + | This pulse sequence |
* http:// | * http:// | ||
and if all has gone well it should look like the picture we captured using our Logic Analyzer directly attached to the RF receiver pin. | and if all has gone well it should look like the picture we captured using our Logic Analyzer directly attached to the RF receiver pin. | ||
Line 46: | Line 51: | ||
The signal processor to match a signal against a list of pre-configured patterns. | The signal processor to match a signal against a list of pre-configured patterns. | ||
+ | |||
+ | Using the web page we enter the ON and OFF signal we want to watch for. If there is only a single RF pattern, i.e. it's a toggle for ON followed by OFF, only supply a single RF pattern, don't repeat it in the ON and OFF fields. Just ON will do. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The / | ||
< | < | ||
Line 51: | Line 62: | ||
devices=1 | devices=1 | ||
rf1.label=RF 1 | rf1.label=RF 1 | ||
- | rf1.off=0101017A0437046001600101271018401014 | + | rf1.off=0101017E0434046001600A01271018401014 |
rf1.on=010201820436046A015601700436045001700101271018100001820339 | rf1.on=010201820436046A015601700436045001700101271018100001820339 | ||
enable=1 | enable=1 | ||
- | usbserial=/dev/ttyUSB1 | + | serialport=/dev/ttyUSB0 |
+ | vserial=1 | ||
+ | </ | ||
+ | |||
+ | Each RF< | ||
+ | |||
+ | A sample event when a signal comes in that matches the rf1.on pattern. | ||
+ | < | ||
+ | xap-header | ||
+ | { | ||
+ | v=12 | ||
+ | hop=1 | ||
+ | uid=FF00EE02 | ||
+ | class=xAPBSC.event | ||
+ | source=dbzoo.livebox.urfrx: | ||
+ | } | ||
+ | input.state | ||
+ | { | ||
+ | state=on | ||
+ | } | ||
</ | </ |