PIC12F675 / Infrared Signal

Discussion in 'Programmer's Corner' started by Reed, Apr 3, 2006.

  1. Reed

    Thread Starter New Member

    Apr 3, 2006
    3
    0
    complete
     
  2. Papabravo

    Expert

    Feb 24, 2006
    9,898
    1,722
    There are at least a couple of critical pieces of information missing from your picture. Let us start with the basics.

    1. Do you have a copy of the PIC12F675 Datasheet?
    2. What frequency is the PIC12F675 running at?
    3. How often does Timer1 generate an interrupt?

    I think, but I am not 100% sure, that you can use the Timer1 Interrupt to detect the presence of a burst. You can measure the time between bursts to detect the quite period. Then you can measure the length of a burst in Timer1 interrupts and determine the difference between a zero and a one. There may be other details and it might be easier to do if more resources are available.

    Could you post the circuit so I can see what the six non power pins are doing?

    Hope this helps
     
  3. Reed

    Thread Starter New Member

    Apr 3, 2006
    3
    0
    correction
     
  4. Reed

    Thread Starter New Member

    Apr 3, 2006
    3
    0
    complete
     
Loading...