This project has been design around HT12E and HT12D encoder / decoder chips from Holtek. With jumper selectable address on the receiver. The HT12E Encoder ICs are series of CMOS LSIs for Remote Control system applications. They are capable of Encoding 12 bit of information which consists of 8. By using the paired HT12E encoder and HT12D decoder we can easily transmit and receive 12 bits of parallel data serially. HT12E simply converts 12 bit.

Author: Grogor Kazrajin
Country: Morocco
Language: English (Spanish)
Genre: Automotive
Published (Last): 20 October 2006
Pages: 253
PDF File Size: 8.6 Mb
ePub File Size: 2.97 Mb
ISBN: 404-3-50345-346-1
Downloads: 48886
Price: Free* [*Free Regsitration Required]
Uploader: Gakree

Tony EE rocketscientist 62k 2 21 I haven’t drawn any circuits for this as the interfacing is straight forward as both the Raspberry Pi and the HT12E operate at 3.

I’ve never tried this before but looks ok.

ht12d & ht12e | EngineersGarage

Guilherme Garcia da Rosa 2 3 7. Newer Post Older Post Home. Trigger send trigger pulse. Add decoupling caps close to the IC. I have experimented further with this, connecting LEDs to the HT12D decoder data pins to ensure the transmitted and received data is presented correctly. Home Questions Tags Users Unanswered. For fun here is a free tool to help design, layout and simulate. The output from the encoder can be used in various ways; for example to feed a Radio Frequency or infrared transmitteror it could be directly connected to a decoding processor.

Avoid long jumper wires at all costs. I wondered whether these processors were still available – they are! Number 99 entered quits the script.

ElectronicAdventures: Data Encoder/Decoder HT12E/HT12D

ClearAll set A ports to ”. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. Remember I said check power? Thanks for all your awnser, after studying a little bit into the RF module I found out my problem, the ht12r side of both encoder and decoder are the Jt12e PIN, which means they will only communicate if those addresses are the same, that was what I was making wrong, I left them all at 1 and changed the resistors in them both cause the TX need to have 20 times the resistence of the receiver, in other words 50k and 1M resistors.


It could be said that this is a very convoluted way to use this technology but it was really useful to experiment and prove that it was possible. All is working now, thanks to all.

Sign up or log in Sign up using Google. So, you are saying, when you grounded all the pins on the left of HT12D and 12E, it worked? HT12E Encoder circuit The basic circuit arrangements for the encoder: Try to get thin solid wire 24 AWG I believe.

Yah but I agree.

Pabitha Pabi 25 June at The GPIO pin acting as the trigger function needs connecting via an inverter circuit. I see you do not have jumpers to join each side of the power rails.

The encoder HT12E is capable of encoding information comprising 12 bits in total; 8 address bits and 4 data bits. Email Required, but never shown. Note there is a gap on both sides down the middle for the Blue and Red outer rails. It would be possible to control literally hundreds of external devices this way. By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

Using the Raspberry Pi to control. Post as a guest Name. Posted by Nigel Cleaver at And the picture of the circuit done: Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

I know but, and I’m going to sound like Olin here it should be easy to see how inconvenient it is, even for a new user. I have included a simple Python3 script below, which prompts the user to enter a number between 0 and 15, and using Binary Coded Decimal, sets the AD8 – AD11 pins to convey the user entered number correctly.


Don’t use wire with thick insulation. I have referenced this before in an earlier blog and the direct link is: That means you need an inexpensive multimeter to do this.

Best practice of using the breadboard is to use short solid wire leads and neatly connect flush to the board without large inductive loops.

Sign up using Email and Password. With the possibilities of using multiple decoders HT12D all ‘listening’ on their individually configured addresses it is possible for the Raspberry Pi or Arduino to control both the address values and control the use of the data pins.

The transmission of the data stream can be over an RF link or direct connection using 2-core ht12s.


Keep IC’s close toegether and imagine that it is a printed circtuit board layout. I began to think about how I could use this technology with the current range of micro-controllers such as the Arduino and the Raspberry Pi, together with other potential uses.

I also thought it would be a great opportunity to fully investigate the hy12d of the two processors to help me better understand how I might use these in the future. Did you really need to post that many images without the full URLS, no less? Bt12e working on a similar circuit. Use staples for power and ground rails. The outputs from the HT12D decoder can be used to switch connected logic circuitry or other attached devices via suitable interfaces. Sign up using Facebook.