msp430 Infrared decoder

Discussion in 'The Projects Forum' started by orlysang, May 6, 2011.

  1. orlysang

    Thread Starter New Member

    May 6, 2011
    2
    0
    Hi,

    I am trying to create an infrared decoder using a 38.5KHz receiver which output is the demodulated signal,this output goes into an msp430. I am sampling each 54us, storing each 1 and 0 (high or low voltage) into an array.
    To recreate the modulation i am doing 2 times a carrier frequency of about (36.5KHz) which is the one i am testing from a remote controller, this each time i see a 1 in the array. Is this a good aproach to sample and send back the same signal? is there another way to recreate an infrared signal ? Any advice would be of great help since the deadline for the project is n about 4 days and we are trying everything to make this work.

    Thanks
     
  2. Markd77

    Senior Member

    Sep 7, 2009
    2,803
    594
    Another way is to store a time for each on/off transition. You might be able to get better resolution for the same memory requirement.
     
    orlysang likes this.
  3. orlysang

    Thread Starter New Member

    May 6, 2011
    2
    0
    Hi,

    Just to end the thread my error was the sampling time, i was sampling for about 30ms and there are a lot of signals that the time duration is more than that.

    Thanks
     
Loading...