Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Junebug IR remote protocol viewer.

Status
Not open for further replies.

blueroomelectronics

Well-Known Member
The new PICkit2 2.50 software includes a very useful logic analyzer tool. Here's a simple program that will let you use the LA tool to view / analyze many IR remote signals (36KHz - 40KHz)

Code:
;*** Junebug IR Bridge, uses PICkit2 Logic Analyzer mode Ch1
;*** DIP-4 (TX) should be on, Trigger Analyzer on Ch1 "/"
    list    p=18F1320        
    include    <p18f1320.inc>
    CONFIG    OSC=INTIO2,WDT=OFF,LVP=OFF
    org    0h
    movlw    72h
    movwf    OSCCON        ; 8MHz clock
    setf    ADCON1        ; set all I/O to digital
    bcf    INTCON2,RBPU    ; enable PORTB input pullups
    movlw    b'11111101'
    movwf    TRISB        ; RB0 in, RB1 out
loop    btfss    PORTB,0
    bsf    LATB,1    
    btfsc    PORTB,0
    bcf    LATB,1
    bra    loop        ; loop forever
    END

**broken link removed**
Sony 12bit SIRC power command from a Sony RVM-V202 remote control
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top