gajian88 WROTE:hi...can i know how to control PT2262 using PIC? issit possible if i send a low pulse to PT2262?
one more thing, the value of the resistor at both oscillator will affect data to send?
Answer is appreciated!
Dont know why you wanted to control an RC encoder with PIC. Though I've never done it, I think it is possible. There are 12 address lines in which 6 of them are shared with Data. There is another pin for enabling the code sending /TE.
To control it, you may fix the lower address lines A0-A5 (with a unique combination) and connect the 6 data lines to the PIC's B ports plus the /TE line. In this way you can have 2^6 (64) combinations and each can switch on a device or an LED on the receiver side. So you may interface you PS/2 keyboard to your PIC with each key representing one device or one LED on the other end. You may also comstruct a 4x4 matrix keypad on your PIC.
A low pulse to 2262 /TE pin is to enable the sending of the encoded codes to the 2272 end. On the 2272, a valid receive is indicated by a logic high on the VT pin.
The resistor on the OSC will determine the sending and receiving data frequency (usually 38 to 40 KHz). The TX and RX should match or else they wont be able to communicate. Lots of remote controls for DVD, airconds and toys are using these types of chips and there are a few schemes of code encoding. RC planes and automobiles may have their own schemes to prevent from theft.
Allen