Description: A decoder, the key is how to identify 0 and 1 from the definition of bits we can find 01 are 0.56ms
The difference is that the beginning of the low-level high the width of the different 0 for 0.56ms, 1 is 1.68ms, so
Must be based on the width of the high difference between 0 and 1, if, after starting from the low latency 0.56ms
0.56ms later read that if a lower level shows that the bit is 0 the other hand, compared with one in order to reliably from
See Delay must be longer than 0.56ms but no more than 1.12ms, otherwise if the bit is 0 read
Is next to high so he 1.12ms+0.56 ms/2 = 0.84ms the most reliable in general take 0.84ms
So can
2 According to the format code should wait until the beginning of 9ms code and 4.5ms after the completion of the result code before reading
3 from the above two points that we receive decoding process flow chart
File list (Check if you may need any files):
ht6221.txt