Rentron's TX-IR PIC Needed / Pre-programmed PIC12F609


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2014
    Posts
    2

    Default Rentron's TX-IR PIC Needed / Pre-programmed PIC12F609

    Anyone have this pre-programmed part that I can purchase? Seems Rentron is no longer, but if the program can be obtained that would be nice as well. We purchased them with the IR program in them, hence the TX-IR part name. Thanks in advance!

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Rentron's TX-IR PIC Needed / Pre-programmed PIC12F609

    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jan 2014
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Re: Rentron's TX-IR PIC Needed / Pre-programmed PIC12F609

    I'm in a serious bind. Is the original code for the Rentron's TX-IR PIC obtainable? I need the 38kHz PWM code (50%) duty cycle. I'm using an external 4MHz oscillator. I can not seem to duplicate it since I'm still trying to interface to an emulator to debug. I've simply run out of time. Any help would be greatly appreciated! Below is what I think it is.

    ----------------

    PROCESSOR p12f609
    #include "p12f609.inc"
    __CONFIG _MCLRE_OFF & _CP_OFF & _WDT_OFF & _XT_OSC
    #DEFINE PORT B'11111101'
    MOVF OSCCAL
    MOVLW PORT
    TRIS GPIO

    BEGIN
    BCF GPIO, 1 ;1uS
    NOP ;2uS each nop is 1uS long
    NOP ;3uS
    NOP ;4uS
    NOP ;5uS
    NOP ;6uS
    NOP ;7uS
    NOP ;8uS
    NOP ;9uS
    NOP ;10uS
    NOP ;11uS
    NOP ;12uS
    BSF GPIO, 1 ;1uS Begin HIGH duty cycle
    NOP ;2uS
    NOP ;3uS
    NOP ;4uS
    NOP ;5uS
    NOP ;6uS
    NOP ;7uS
    NOP ;8uS
    NOP ;9uS
    NOP ;10uS
    NOP ;11uS
    NOP ;12uS
    GOTO BEGIN ;2uS (26uS total for 38KHz)
    END

  4. #4
    Join Date
    May 2009
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Re: Rentron's TX-IR PIC Needed / Pre-programmed PIC12F609

    PROCESSOR p12f609
    #include "p12f609.inc"
    __CONFIG _MCLRE_OFF & _CP_OFF & _WDT_OFF & _XT_OSC

    start:
    BANKSEL ANSEL
    CLRF ANSEL
    MOVLW fDh
    MOVWF TRISIO

    Followed by your code should work

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Rentron's TX-IR PIC Needed / Pre-programmed PIC12F609

    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. Buying pre-programmed PICs
    By dhouston in forum Off Topic
    Replies: 2
    Last Post: - 21st March 2012, 22:38
  2. how to determine what programmed is in a PIC?
    By droptail in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 4th June 2011, 16:55
  3. High End Pre with PIC 16F876A
    By abidr in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 8th May 2008, 08:13
  4. Internal osc config PIC12F609
    By Pedro Pinto in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 23rd April 2008, 16:23
  5. How to read Serial number programmed into PIC
    By freddayz in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 22nd April 2008, 02:36

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