can i use pic as encoder/decoder for rf system ??

Discussion in 'Programmer's Corner' started by superayman, Apr 7, 2013.

  1. superayman

    Thread Starter New Member

    Apr 1, 2013
    22
    0
    The thing is that i need to make a remote control with atleast 13 buttons on it for making a robot that moves and got an arm on it
    i need to know should i buy pic (model not important)
    or should i get the arduino uno rev 3 with 2 atmega's
    i want to use microcontrollers because there isn't an encoder/decoder more than 8 bit
     
  2. absf

    Senior Member

    Dec 29, 2010
    1,492
    372
    Yes, you can. Here is a link using PIC as encoder and decoder using the Philips RC5 protocol.

    http://jap.hu/electronic/

    Without using PIC, you can address more than 8 channels per transmitter/receiver. Using PT2262 encoder as an example. It has 6 Address/Data lines and 6 Address lines. The 6 A/D lines can be used as Address lines or Data lines. When used as Address lines, you'll have a single channel of 12 bit Address remote. But if you used it as Data Lines. The D0-D5 can address 64 channels per receiver but with a fixed Address at A6-A11.

    Study the datasheet attached and understand it well so you can make full use of it.


    Allen
     
    Last edited: Apr 7, 2013
  3. superayman

    Thread Starter New Member

    Apr 1, 2013
    22
    0
    Am sorry i didn't find how to use the PT 2272 for more than 4 channels
    am a complete newbie in rf system but am good at programming pic in c.
    So can you help me making a remote control that got more than 12 buttons on it
    am about to buy a rf system 433 MHz.
    PS.if i dont have to get the pic it would be better
     
    Last edited: Apr 8, 2013
  4. superayman

    Thread Starter New Member

    Apr 1, 2013
    22
    0
Loading...