Sony IR Remote


Results 1 to 40 of 41

Thread: Sony IR Remote

Threaded View

  1. #14
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by eggman View Post
    You should modulate your signal on a carrier of about 38 kHz. You can generate this with assembly or use a pic12f683 and use the internal pwm generator. Then you can modulate this signal by switching the trisio pin.
    I intend to build remote using 12F675 (I have a lot...and none of 12F683). How generating a carrier of 39 kHz with assembly ? I found something about 40 kHz pulse on Mr.Bruce site, but...
    Please, one clue ?!
    ?!?
    Pulse: '// Emits # of 39kHz bursts held in variable Cycles
    ASM ;// with auto delay between bursts
    bsf gpio, 0 ;// 1uS, LED=on [need 25uS total ???????
    goto $+1 ;// 3uS (2uS per goto $+1)
    goto $+1 ;// 5uS
    goto $+1 ;// 7uS
    goto $+1 ;// 9uS
    goto $+1 ;// 11uS
    ' goto $+1 ;// 13uS 'comment this for 39 kHz ???
    bcf gpio, 0 ;// 14uS, LED=off
    goto $+1 ;// 16uS
    goto $+1 ;// 18uS
    goto $+1 ;// 20uS
    goto $+1 ;// 22uS
    decfsz _Cycles,F ;// 23uS
    goto _Pulse ;// 25us
    ENDASM
    PAUSEUS 500 '// 500uS delay between each data bit
    RETURN '// Return to Main

    ...and next ?
    Last edited by fratello; - 15th May 2010 at 19:55.

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