OOK Relay
21 March, 2012 - 22:53
Brett / Derek
Not sure if you have seen this on Jeelabs?
http://jeelabs.org/2011/02/03/ook-relay-revisited-2/
http://jeelabs.org/2011/01/29/new-ook-and-dcf-relay/
The RF code is rather cool (as much as I understand it)
- all the decoders live in the decoders.h file
- there are two pulse sources: the 868 MHz receiver and the 433 MHz receiver
- for each, a “DecoderInfo” table is defined with decoders to use for them
- the runPulseDecoders() function does what the name says: evaluate each of the decoders in turn
- when a decoder succeeds, data is added to an outgoing buffer (and optionally, printed to serial)
Sounds like a chum for URF?
Plus most of the big ones have been written by JCW who really seems to know what he is doing.
I had not seen this thanks. The decoder I've been working on, when I get time, takes a different approach rather than embedding all the decode logic into the firmware and having to specify a protocol. I simply stream a packed binary format to a backend off chip analyzer (aka the HAH). This is easily upgradable so adding new RF decoders doesn't require an AVR reflashing assuming I've got enoughtbandwidth (the unknown). My decoder will be programable using URF style sequences so it should be unbound in terms of what it can decode. Every RF decoder I've seen has hardcoded decoder rings just like JeeLabs so I thought I'd try something new.
The backend part is working although in a very rough state I just haven't any time to work on the front end RF AVR side of things. Wish I could invent an extra 4 hrs a day.
Brett