[SOLVED] Connecting HT12D data/VT pin to PIC

Status
Not open for further replies.

speedEC

Full Member level 6
Joined
Apr 1, 2011
Messages
337
Helped
23
Reputation
46
Reaction score
21
Trophy points
1,298
Activity points
4,324
Dear All,

I have wireless transmitter and receiver. I need to connect the wireless receiver to PIC RB1(INT1) pin of PIC18F452. When the PIC receives the interrupt from wireless receiver, it should do some work, like switch-on the relay,etc. I have used HT12D decoder. I tried to connect the VT (momentary) pin of HT12D to RB1 pin. But, PIC didn't capture the interrupt. I have tested the interrupt pin on RB1(INT1) using by giving +5v supply to RB1 pin. It detects the interrupt. I have set the RB1 pin to detect as:

INTCON2bits.INTEDG1 = 0;

I have connected LED, for test, between HT12D VT pin and GND. The lights-up when TE grounded on HT12E encoder correctly. But, If I put LED between VT and PIC MCU, the LED not glow. Why? Any help would be highly appreciated and Grateful.

Thanks
pmk
 

Thanks ckshivaram. I have completed the circuit fine.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…