interfacing rf module with pic16f877

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

  1. superayman

    Thread Starter New Member

    Apr 1, 2013
    22
    0
    can any one give me a c code for making some led's on and off
    i want it to work as encoder/decoder
    atleast for 13 buttons
     
  2. BMorse

    Senior Member

    Sep 26, 2009
    2,675
    234
    In order to get help, you will need to define quite a few things before anyone can even help, for starters....

    What compiler will you be using to compile the C code?
    What oscillator speed did you choose?
    What modulation are you using for the RF? or are you using IR?

    I could go on and on with the questions, but I think you need to elaborate on what you are trying to accomplish, and with what.

    IMHO, You would be better off just using some off the shelf encoder decoder pairs, those can be used without programming Pic's, check out this site >>http://www.rentron.com/PicBasic/RemoteControl.htm they have all sorts of IR and RF modules along with encoder/decoders. No need to reinvent the wheel so to speak :)
     
  3. superayman

    Thread Starter New Member

    Apr 1, 2013
    22
    0
    MICROC
    4MHZ
    am using RF 315 mhz
     
  4. lloydi12345

    Member

    Aug 15, 2010
    103
    0
    Hi, this could get you started. http://embedded-lab.com/blog/?p=148 Although he is not using the same microcontroller but you could get the idea if you'll read the whole article.
     
Loading...