Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Holtek encoder HT12E, help please

Status
Not open for further replies.

ljcox

Well-Known Member
My understanding of the Holtek data sheet for the encoder HT12E is as follows:-

An "information word" is a 12 bit "pilot" followed by 12 bits of "data" where the data maybe either 8 bits address + 4 bits data or 12 bits address.

For an oscillator frequency of 3 kHz, the data rate transmitted is 1 ms/bit.

So the 24 bit word (pilot + data) is sent in 24 ms.

If the TE pulse is < 24ms, then 4 words are sent, ie. 24 bits * 4 = 96 bits taking 96 ms.

So if the data sent was (using Hex for simplicity) A9C, then the encoder would send Pilot + A9C, Pilot + A9C, Pilot + A9C, Pilot + A9C and then stop.

If the TE pulse is > 24ms but < 96 ms, say 30 ms, then 8 words are sent, ie. 24 bits * 8 = 192 bits taking 192 ms.

Is this correct?
 
Last edited:
ljcox said:
For an oscillator frequency of 3 kHz, the data rate transmitted is 1 ms/bit.
So the 24 bit word (pilot + data) is sent in 24 ms.

If I understand the HT12A/E datasheet(page 7) correctly, there is an additional sync pulse, with length 333us(1/3 bit or one Fosc cycle) after the pilot and before actual data begin.

This would add up to 24.333ms total time for sending a word.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top