Implemented a clone of the Tellstick Duo firmware that will wotrk on a Arduino.
So far only supports the Archtech Self Learning protocol. Former-commit-id: 705f787fc30459a9d55dc571632dc4d01e7198f0
This commit is contained in:
parent
3c5da7baaf
commit
e269faec13
11 changed files with 441 additions and 0 deletions
|
|
@ -0,0 +1,29 @@
|
|||
SIGNAL
|
||||
signal i s two times in a row with a "low" pause of 8192us between them
|
||||
|
||||
The message buffer is 9 bytes long
|
||||
|
||||
Each signal starts with a preampble, the data and a postamble
|
||||
|
||||
PREAMBLE
|
||||
consists of two "one"-bytes
|
||||
|
||||
DATA
|
||||
9 bytes
|
||||
|
||||
POSTAMBLE
|
||||
consists of one "zero"-byte
|
||||
|
||||
A "one" bit is sent over the air as:
|
||||
high for 512us
|
||||
low for 1024us
|
||||
high for 512us
|
||||
|
||||
A "zero" bit is sent over the air as:
|
||||
low for 512us
|
||||
high for 1024us
|
||||
low for 512us
|
||||
|
||||
1 byte = 8*(512+512+1024)us = 16384us
|
||||
one signal = 2+9+1 bytes = 12 bytes = 196608us
|
||||
signal + 8192 + signal = 401408us = 401.408ms
|
||||
Loading…
Add table
Add a link
Reference in a new issue