proyectodecodificadorsonyoriginal

7
OSC1/CLKIN 16 RB0/INT 6 RB1 7 RB2 8 RB3 9 RB4 10 RB5 11 RB6 12 RB7 13 RA0 17 RA1 18 RA2 1 RA3 2 RA4/T0CKI 3 OSC2/CLKOUT 15 MCLR 4 U1 PIC16F84A X1 CRYSTAL R1 330R C1 22p C2 22p D1 LED-RED R2 330R R3 330R R4 330R R5 330R R6 330R R7 330R D2 LED-RED D3 LED-RED D4 LED-RED D5 LED-RED D6 LED-RED D7 LED-RED 4021 R8 2K2 Receptor, Demodulador y Amplificador C3 100n C4 100n R9 330R R10 330R R11 330R R12 330R R13 330R R14 330R D8 LED-RED D9 LED-RED D10 LED-RED D11 LED-RED D12 LED-RED D13 LED-RED Tecla ó Botones de Control Remoto 14 Vcc GND 5 1 2 3 4 5 6 7 8 9 0 Mute Prev CH Chan Up Chan Down Vol Up Vol Down Off-On Play B1 5V http://fuhrer-luftwaffe.blogspot.com/ Decodificador Protocolo Sony Esquema Realizado en Proteus

Upload: dav-hdz

Post on 26-Oct-2014

110 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ProyectoDecodificadorSonyOriginal

OSC1/CLKIN16

RB0/INT6

RB17

RB28

RB39

RB410

RB511

RB612

RB713

RA017

RA118

RA21

RA32

RA4/T0CKI3

OSC2/CLKOUT15

MCLR4

U1

PIC16F84A

X1CRYSTAL

R1330R

C1

22p

C2

22p

D1

LED-REDR2

330R

R3

330R

R4

330R

R5

330R

R6

330R

R7

330R

D2

LED-RED

D3

LED-RED

D4

LED-RED

D5

LED-RED

D6

LED-RED

D7

LED-RED

4021

R8

2K2

Receptor, Demodulador y Amplificador

C3100n

C4100n

R9

330R

R10

330R

R11

330R

R12

330R

R13

330R

R14

330R

D8

LED-RED

D9

LED-RED

D10

LED-RED

D11

LED-RED

D12

LED-RED

D13

LED-RED

Tecla ó Botones de Control Remoto

14Vcc GND

5

1

2

3

4

5

6

7

8

9

0

Mute

Prev CH

Chan Up

Chan Down

Vol Up

Vol Down

Off-On

Play

B15V

http://fuhrer-luftwaffe.blogspot.com/

Decodificador Protocolo SonyEsquema Realizado en Proteus

Page 2: ProyectoDecodificadorSonyOriginal

PIC16F84A

7805

4MH

z

2.2K

330R

330R

330R

330R

330R

330R

330R

330R

330R

330R

330R

330R

330R

330R

100nF

100nF

22pF

22pF

Pow

er

Reset

1234

IC1

56789 10

1112131415161718

IC2GND

IN OUT

Q1

R1

R2

R3

R4

R5

R6

R7

R8

R9

R10

R11

R12

R13

R14

LED1

LED

2

LED3

LED4

LED5

LED6

LED7

LED8

LED9

LED10

LED11

LED12

LED13

RE

CE

PT

OR

LED14R15

EN

TR

AD

A-1

EN

TR

AD

A-2

12345678

SV2

1234

SV1

C1

C2

C3

C4

23 1

S1

21

SWITCH

red

gree

n

http://fuhrer-luftwaffe.blogspot.com/

Esquema en EAGLE

Pos

tivo

Neg

ativ

o

Page 3: ProyectoDecodificadorSonyOriginal

Decodificación del Protocolo Sony

Esta es la base si quisiéramos manipular algún circuito a distancia por ejemplo si conectamos relés ú optocopladores a las salidas podemos encender ó apagar cualquier aparato incluyendo interruptores de energía eléctrica, el programa esta hecho en assembler programado en Mplab y utilizamos el Pic 16F84A, el Pic recibe la señal del protocolo Sony en el programa se realizan comparaciones y procedimientos los cuales activan el led dependiendo de la tecla presionada, según el esquema si presionamos alguna tecla del control remoto se encenderá o apagara un led en el diseño esta predefinido que led debe encenderse al momento de conocer cual fue la tecla presionada. Lista de Materiales para Decodificador de Control remoto con Protocolo Sony. --1 Pic 16F84A. --1 Base ó Zócalo de 18 Pines. --2 Cap. Cerámicos 100nF. --2 Cap. Cerámicos 22pF. --1 Cristal de 4Mhz. --1 Switch de palanca 2 Posiciones --1 Placa de Cobre 5cm. x 5cm. --1 Regulador de Voltaje 7805. --1 Batería 9V --1 Bornes. --1 Pulsador. --14 Resistencias 330R Ohmios 1/4 Watt. --1 Resistencia de 2.2K Ohmios 1/4Watt. --13 Led Rojos 5mm. --1 Led Blanco Ultrabrillante 5mm. --1 Receptor, Demodulador y Amplificador 4021 (http://www.vishay.com/docs/82135/tsop41xx.pdf).

RECEPTOR

Page 4: ProyectoDecodificadorSonyOriginal

PIC

16F

84A

7805

4MHz

2.2K

330R

330R

330R

330R

330R

330R

330R

330R

330R

330R

330R 330R

330R

330R

10

0n

F

10

0n

F

22pF22pF

PowerR

es

et

IC1

IC2

Q1

R1

R2 R

3

R4R5

R6R7

R8R9

R10R11

R12 R13

R14

LED1

LE

D2

LED3

LED4

LED5

LED6

LED7

LED8

LED9

LED10

LE

D1

1

LE

D1

2

LE

D1

3

LE

D1

4

R15

EN

TR

AD

A

SV

2

C1

C2

C3C4

S1

SW

ITC

H

A15,2mm

1

8

1 4

RE

CE

PT

ORSV1

Positivo

Negativo

Led de Power

Led del Receptor

In GNDO

ut

5cm.

5cm.

http

://fu

hrer

-luftw

affe

.blo

gspo

t.com

/E

sque

ma

de la

par

te d

e ar

riba

Positivo

OutNegativo

Page 5: ProyectoDecodificadorSonyOriginal

PIC

16F

84A

7805

4MHz

2.2K

330R

330R

330R

330R

330R

330R

330R

330R

330R

330R

330R 330R

330R

330R

10

0n

F

10

0n

F

22pF22pF

PowerR

es

et

IC1

IC2

Q1

R1

R2 R

3

R4R5

R6R7

R8R9

R10R11

R12 R13

R14

LED1

LE

D2

LED3

LED4

LED5

LED6

LED7

LED8

LED9

LED10

LE

D1

1

LE

D1

2

LE

D1

3

LE

D1

4

R15

EN

TR

AD

A

SV

2

C1

C2

C3C4

S1

SW

ITC

H

A15,2mm

1

8

http://fuhrer-luftwaffe.blogspot.com/

1 4

RE

CE

PT

ORSV1

Positivo

Negativo

Led de Power

Led del Receptor

In GND

Out

5cm.

5cm.

http

://fu

hrer

-luftw

affe

.blo

gspo

t.com

/E

sque

ma

de la

par

te d

e ar

riba

Positivo

OutNegativo

Page 6: ProyectoDecodificadorSonyOriginal

RE

CE

PT

OR SV1

14

http://fuhrer-luftwaffe.blogspot.com/

A15,2mm

1

8

IC1

IC2

Q1

R1

R2R3

R4

R5

R6

R7

R8

R9

R10

R11

R12R13

R14

LED1

LED

2

LED3

LED4

LED5

LED6

LED7

LED8

LED9

LED10

LED

11

LED

12

LED

13

LED

14

R15

EN

TR

AD

A

SV

2

C1

C2

C3 C4

S1

SW

ITC

H

PIC

16F

84A

7805

4MHz

2.2K

330R

330R

330R

330R

330R

330R

330R

330R

330R

330R

330R330R

330R

330R

100n

F

100n

F

22pF 22pF

Power

Res

et

Positivo

Negativo

Led de Power

Led del Receptor

InGND

Out

5cm.

5cm.

http

://fu

hrer

-luftw

affe

.blo

gspo

t.com

/E

sque

ma

de la

par

te d

e co

bre

Positivo

OutNegativo

Page 7: ProyectoDecodificadorSonyOriginal

fuhr

er-lu

ftw

affe

http://fuhrer-luftwaffe.blogspot.com/