Question:
HT12d and HT12E trouble with output and switching pin placing.?
anonymous
1970-01-01 00:00:00 UTC
HT12d and HT12E trouble with output and switching pin placing.?
Three answers:
albin
2016-12-14 13:43:48 UTC
you would be counting stacks of Benjamin's in my Sponge-Bob pajamas, making waiting the money funds i bypass to deposit the following day with a view to pay the Darn charges that are so extreme proper now aaaaaahhhhhhhhhh!!!! my annoying earned funds is going away. That s**ks you won't be able to do something in this circumstances proper now!! I wish i might desire to purchase me the failings i might desire to have adequate funds not goodbye in the past yet now virtually each and every thing is so high priced I in basic terms have funds to fairly cover maximum of my charges. you in all hazard does not go with to be me proper now because of the fact once I end right here i bypass to sleep interior the fetal place and cry myself to sleep :) (JK) lol! yet heavily the following day is paying the charges day for me :( Peace :)
anonymous
2016-12-11 14:18:48 UTC
Ht12e Ht12d
Ecko
2013-03-19 22:27:32 UTC
The two links below show the encoder and decoder.

It will help to use an oscilloscope for testing. Obviously you expect serial data to appear on pin 17 of the encoder and this is received at pin 14 of the decoder. Connect these 2 data pins and the ground pins directly without the radio, until you verify that the configuration is ok.. When pin 14 of the encoder chip is low, the 12 bit data is sent.



The 12 bit data has 4 bits of binary encoding for 4 switches (buttons) to operate up to 4 relays in combination (this could be further decoded into 16 separate relays at the receiver but then only one can be operated at a time). The other 8 bits is the address, which is so that there are 256 different "keys" that can be used. This address is so you can set your device to a code that is different to anyone else around you, and also makes it less likely to trigger falsely from receiver noise. Obviously the encoder and decoder adresses must be the same, so they may have switches so you can set the addresses to match. In the example diagrams below, they are all set to high (floating).



You will have to decide what turns the transmitter and encoder on, and how to enables the data at the encoder. It shouldn't just be repeating continuously on the transmitter, as the regulations for these radios doi not allow that. There may need to be pullup resistors on the transmitter or receiver data lines. The data could be inverted perhaps by the transmitter or receiver. The oscillator frequency for the serial data rate must be the same exactly on each device, and low enough in frequency that it fits in the transmitter/receiver bandwidth. The transmitter may need to be on for a guard period before the code is sent, and of course stay on long enough for the code to be completed.An oscilloscope will help verify the operation, but it is not essential if you think it out.



The data sheets have more examples on how to trigger the !TE line etc.. Make sure you read the information for your device, as they refer to several devices. Use a regulated power supply (maybe 5V), and check it is working properly.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...