speedEC
Full Member level 6

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
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