IR decode using pic basic for Holtec Ht6221/6222


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838

    Default IR decode using pic basic for Holtec Ht6221/6222

    Hi , have been looking at some examples of IR decode , i am new to pic basic programming , so some input on the code to decode the holtec HT6221/6222 using a pic would be appreciated ,

    the input will be from IR reciever going Low for signal

    I did look at using 12f508/ 509 pic , although its not got PWM , , found your example on here to generate the 38Khz carrier and will give it ago for a test.

    My requirement is save the received IR code to PIC ( assumed to be a valid code received , but not to decode it , and send it out a 1 sec or so after power is applied to the pic ,

    I thought of just saving all highs and low transitions from the IR reciever to a counter array and set a timer for a set time period of say 10uS then generate the output of highs and lows as required from the saved counters or timer values , clearly allowing for no data input ( eg all high when no IR signal

    Not sure if i can save that amount of data to this PIC 12F508 / 509 in this manor or a better approach is required

    Please advise

    Cheers

    sheldon

  2. #2
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    891


    Did you find this post helpful? Yes | No

    Default Re: IR decode using pic basic for Holtec Ht6221/6222

    Have a look here and search for the "LEARN" routine ;-)
    Roger

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts