montajes modelos circuitales
-
Upload
senaelectronic-lazaro -
Category
Documents
-
view
216 -
download
1
description
Transcript of montajes modelos circuitales
![Page 1: montajes modelos circuitales](https://reader036.fdocumento.com/reader036/viewer/2022081814/568c529d1a28ab4916b75d32/html5/thumbnails/1.jpg)
CONTROLES ELECTRICOS Y AMPLIFICADORES OPERACIONALES
GUIA DE APRENDIZAJE
CODIGO: 230382
INSTRUCTOR:HERNANDO GOMEZ PALENCIA
PROGRAMATECNOLOGO
MANTENIMIENTO ELECTRONICO E INSTRUMENTAL INDUSTRIAL
SERVICIO NACIONAL APRENDIZAJE-SENA CIES-REGIONAL NORTE DE SANTANDER
![Page 2: montajes modelos circuitales](https://reader036.fdocumento.com/reader036/viewer/2022081814/568c529d1a28ab4916b75d32/html5/thumbnails/2.jpg)
GUIA DE APRENDIZAJE
CODIGO: 230382
INTEGRANTES
LUIS A. LAZAROJOSE VARGAS
EDWARD VARGASJEFERSON DUARTE
PROGRAMATECNOLOGO
MANTENIMIENTO ELECTRONICO E INSTRUMENTAL INDUSTRIAL
SERVICIO NACIONAL APRENDIZAJE-SENA CIES-REGIONAL NORTE DE SANTANDER
![Page 3: montajes modelos circuitales](https://reader036.fdocumento.com/reader036/viewer/2022081814/568c529d1a28ab4916b75d32/html5/thumbnails/3.jpg)
PIC 16F877A
REGISTRO OPTION_REG
Contiene varios bits de control para configurar el divisor de frecuencia o pre escalar del TMR0/WDT, la interrupción externa INT, TMR0 y los pull-ups para el PORTB
RBPU INTEG TOCS TOSE PSA PS2 PS1 PS0REGISTRO OPTION
ESTADOS DE SUS BITS
![Page 4: montajes modelos circuitales](https://reader036.fdocumento.com/reader036/viewer/2022081814/568c529d1a28ab4916b75d32/html5/thumbnails/4.jpg)
BIT'S L Ó E RESET DESCRIPCIONBit 7= RBPU
L/E 11 = cargas pull-up Desconectadas
PULL-UPP' PORTB 0 = cargas pull-up Conectadas
Bit 6= INTEDG L/E 11= RB0/INT será sensible a flanco ascendente0= RB0/INT será sensible a flanco Descendente
Bit 5: T0CSL/E 1
1 = Pulsos por pata T0CKI (contador)Fte./Reloj p' TMR0 0 = Pulsos igual a reloj interno / 4 (temporizador)Bit 4: T0SE
L/E 11 = Incremento TMR0 en flanco descendente
Flanco/T0CKI 0 = Incremento en flanco ascendenteBit 3: PSA
L/E 11 = Divisor asignado al WDT
Divisor/Frecuencia 0 = Divisor asignado al TMR0
La combinación de los BIT's; PS2, PS1 y PS0 (0, 1 y 2) determinan el valor del divisor de frecuencia, el cual se puede ver en la siguiente tabla.
PS2PS1 PS0
División del
TMR0
División del
WDT0 0 0 1/2 1/10 0 1 1/4 1/20 1 0 1/8 1/40 1 1 1/16 1/81 0 0 1/32 1/161 0 1 1/64 1/321 1 0 1/128 1/641 1 1 1/256 1/128
REGISTRO INTCON
Contiene los bits para habilitar cada una de las fuentes de interrupción y las banderas que informan el origen de la interrupción
REGISTRO INTCONGIE EEIE T0IE INTE RBIE T0IF INTF RBIF
![Page 5: montajes modelos circuitales](https://reader036.fdocumento.com/reader036/viewer/2022081814/568c529d1a28ab4916b75d32/html5/thumbnails/5.jpg)
ESTADOS DE SUS BIT’S
REGISTRO STATUS
Contiene el estado aritmético de la ALU, el estado del Reset y los bits para selección de banco.
REGISTRO STATUSIRP RP1 RP0 TO PD Z DC
ESTADO DE SUS BIT’S
BIT's L ó E Reset DescripciónBit 7-6: L/E 0 No implementado: ‘0’
BIT's L ó E Reset DescripciónBit 7: GIE L/E 0 1 = Todas las Interrupciones activadasHabilitación Gral. 0 = Todas las Interrupciones desactivadasBit 6: EEIE L/E 0 1 = ActivadaInt. Periféricos 0 = DesactivadaBit 5: T0IE L/E 0 1 = ActivadaInt. del TMR0 0 = DesactivadaBit 4: INTE L/E 0 1 = ActivadaInt. Externa 0 = DesactivadaBit 3: RBIE L/E 0 1 = ActivadaInt. por PORTB 0 = Desactivada
Bit 2: T0IF L/E 01 = TMR0 desbordado. Borrar por software
Bandera del TMR0. 0 = No se ha desbordadoBit 1: INTF L/E 0 1 = Ocurrió una interrupción externaBandera - RB0/INT 0 = No ha ocurrido interrupción externaBit 0: RBIF L/E x 1 = Al menos un pin cambio de estadoBandera - RB4:RB7 0 = Ningún pin ha cambiado de estado.
![Page 6: montajes modelos circuitales](https://reader036.fdocumento.com/reader036/viewer/2022081814/568c529d1a28ab4916b75d32/html5/thumbnails/6.jpg)
IRP-RP1Bit 5: RP0
L/E 01 = Banco 1
Bank Select 0 = Banco 0Bit 4: TO
L 11 = Recién encendido, tras CLRWDT, o SLEEP.
Time-Out 0 = Ocurrió un time-out en el WDTBit 3: PD
L 11 = Luego de un Rset, de una instrucción CLRWDT
Power Down 0 = Tras ejecutar una instrucción SLEEPBit 2: Z
L/E x1 = El resultado de una operación lógica o aritmética es 0.
Zero 0 = El resultado es distinto de 0Bit 1: DC
L/E x1 = Acarreo en la suma y no en la resta (4º bit)
Digit Carry 0 = Acarreo en la resta y no en la suma (4º bit)Bit 0: C
L/E x1 = Acarreo en la suma y no en la resta (8º bit)
Carry 0 = Acarreo en la resta y no en la suma (8º bit)
Montajes de modelos circuitales
Varias funciones: http://www.youtube.com/watch?v=B0MXzDHLC5Y&feature=plcp
I2c: http://www.youtube.com/watch?v=oOeEQ5JfKMQ&feature=plcp
Timer0: http://www.youtube.com/watch?v=Abg9XmCQMSY&feature=plcp
Pwm: http://www.youtube.com/watch?v=9gMlb3TnQA8&feature=plcp
Hiperterminal: http://www.youtube.com/watch?v=VEUhNl4WNiE&feature=plcp
Rs232: http://www.youtube.com/watch?v=vcCfbUKJeA4&feature=plcp