{"id":4047,"date":"2010-07-23T00:11:27","date_gmt":"2010-07-22T23:11:27","guid":{"rendered":"http:\/\/www.pesadillo.com\/pesadillo\/?p=4047"},"modified":"2010-07-06T14:12:23","modified_gmt":"2010-07-06T13:12:23","slug":"cerradura-codificada-con-pic-16f84a","status":"publish","type":"post","link":"https:\/\/www.pesadillo.com\/pesadillo\/?p=4047","title":{"rendered":"Cerradura codificada con pic 16f84a"},"content":{"rendered":"<p><a href=\"http:\/\/www.pesadillo.com\/pesadillo\/wp-content\/uploads\/2010\/06\/cerradurap1.gif\"><\/a><a href=\"http:\/\/www.pesadillo.com\/pesadillo\/wp-content\/uploads\/2010\/06\/cerradurae1.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4048\" title=\"cerradurae[1]\" src=\"http:\/\/www.pesadillo.com\/pesadillo\/wp-content\/uploads\/2010\/06\/cerradurae1.gif\" alt=\"\" width=\"672\" height=\"524\" srcset=\"https:\/\/www.pesadillo.com\/pesadillo\/wp-content\/uploads\/2010\/06\/cerradurae1.gif 672w, https:\/\/www.pesadillo.com\/pesadillo\/wp-content\/uploads\/2010\/06\/cerradurae1-300x233.gif 300w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"cerradurap[1]\" src=\"http:\/\/www.pesadillo.com\/pesadillo\/wp-content\/uploads\/2010\/06\/cerradurap1.gif\" alt=\"\" width=\"473\" height=\"245\" \/><\/p>\n<p>Esta es la plaqueta vista desde el lado del cobre, la columna de componentes que se ven a la derecha, de abajo hacia arriba son: puente rectificador, capacitor de 1000 uF, regulador 7805 y capacitor de 100 uf.<\/p>\n<p>Lo \u00fanico que falta para terminar la cerradura es el programa para el PIC que es el siguiente, cerradura.asm y cerradura.hex<\/p>\n<p>Esta cerradura usa un c\u00f3digo de 4 d\u00edgitos, que al ser marcado activa un rel\u00e9 por unos 5 segundos o 15 segundos si la activas con el bot\u00f3n directo (usado para salir de la habitaci\u00f3n).<\/p>\n<p>Cada vez que apret\u00e1s un bot\u00f3n suena un beep de muy corta duraci\u00f3n.<\/p>\n<p>Si te equivocas mientras marcas la clave, volves a empezar y listo (el PIC reconoce el c\u00f3digo dentro de una cadena de n\u00fameros).<\/p>\n<p>Codigo ASM:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\tlist\tp=16f84A\r\n\tinclude \t&lt;p16f84A.inc&gt;\r\n\t__config 1b\r\n\r\n\tZ\tequ\t02\r\n\r\n\tpta\tequ\t05\r\n\tptb\tequ\t06\r\n\tnum1\tequ\t20\r\n\tnum2\tequ\t21\r\n\tclav1\tequ\t22\r\n\tclav2\tequ\t23\r\n\tclav3 \tequ\t24\r\n\tclav4\tequ\t25\r\n\tpress\tequ\t26\r\n\r\n\tw2\tequ\t27\r\n\tw3\tequ\t28\r\n\r\n\tj\tequ\t37\r\n\tk\tequ\t38\r\n\tl\tequ\t39\r\n\r\n\tdig1\tequ\t3A\r\n\tdig2\tequ\t3B\r\n\tdig3\tequ\t3C\r\n\tdig4\tequ\t3D\r\n\tdig5\tequ\t3E\r\n\tpros\tequ\t3F\r\n\tcont\tequ\t40\r\n\r\n\torg\t0\r\n\tgoto inicio\r\n\r\ninicio\r\n\tmovlw\td'1'\t;***** codigo ***********\r\n\tmovwf\tdig1\r\n\tmovlw\td'3'\r\n\tmovwf\tdig2\r\n\tmovlw\td'5'\r\n\tmovwf\tdig3\r\n\tmovlw\td'9'\r\n\tmovwf\tdig4\t;***** fin de codigo *****\r\n\r\n\tclrw\r\n\tmovlw\tb'11111111'\r\n\ttris\tptb\r\n\tmovlw\tb'00010011'\r\n\ttris\tpta\r\n\r\n\tclrf\tpta\t;**** reseteo de variables ***\r\n\tclrf\tptb\t;***** fin reset variables ****\r\n\r\ncodigo\r\n\tbtfsc\tpta,4\t;***** abrir directo *******\r\n\tcall\tabrir2\t;***** abrir directo *******\r\n\tcall leerpt\r\n\tmovf\tpress,0\r\n\tmovwf\tnum1\r\n\tmovlw\td'11'\r\n\tmovwf\tnum2\r\n\tcall comparar\r\n\tmovwf\tw3\r\n\tbtfss\tw3,3\r\n\tgoto\tcodigo\r\n\r\ncod1\tcall buzzer\r\n\r\n\tbtfsc\tpta,4\t;***** abrir directo *******\r\n\tcall\tabrir2\t;***** abrir directo *******\r\n\r\n\tmovf\tpress,0\t;**** comparar press con el digito 1 ***\r\n\tmovwf\tnum1\r\n\tmovf\tdig1,0\r\n\tmovwf\tnum2\r\n\tcall comparar\r\n\tmovwf\tw3\r\n\tbtfsc \tw3,3\r\n\tgoto codigox\r\n\r\ncod2\r\n\tbtfsc\tpta,4\t;***** abrir directo *******\r\n\tcall\tabrir2\t;***** abrir directo *******\r\n\tcall leerpt\r\n\tmovf\tpress,0\t;**** comparar press con el digito 2 (y11) ***\r\n\tmovwf\tnum1\r\n\tmovf\tdig1,0\r\n\tmovwf\tnum2\r\n\tcall comparar\r\n\tmovwf\tw3\r\n\tbtfsc\tw3,3\r\n\tgoto cod2b\r\n\tgoto cod2\r\n\r\ncod2b\r\n\tbtfsc\tpta,4\t;***** abrir directo *******\r\n\tcall\tabrir2\t;***** abrir directo *******\r\n\tcall leerpt\r\n\tmovf\tpress,0\r\n\tmovwf\tnum1\r\n\tmovlw\td'11'\r\n\tmovwf\tnum2\r\n\tcall \tcomparar\r\n\tmovwf\tw3\r\n\tbtfss \tw3,3\r\n\tgoto \tcod2b\r\n\r\ncod2c\tcall buzzer\r\n\tbtfsc\tpta,4\t;***** abrir directo *******\r\n\tcall\tabrir2\t;***** abrir directo *******\r\n\tmovf\tdig2,0\r\n\tmovwf\tnum2\r\n\tcall \tcomparar\r\n\tmovwf\tw3\r\n\tbtfsc\tw3,3\r\n\tgoto \tcodigo\r\n\r\ncod3\r\n\tbtfsc\tpta,4\t;***** abrir directo *******\r\n\tcall\tabrir2\t;***** abrir directo *******\r\n\tcall leerpt\r\n\tmovf\tpress,0\t;**** comparar press con el digito 3 (y11) ***\r\n\tmovwf\tnum1\r\n\tmovf\tdig2,0\r\n\tmovwf\tnum2\r\n\tcall comparar\r\n\tmovwf\tw3\r\n\tbtfsc\tw3,3\r\n\tgoto cod3b\r\n\tgoto cod3\r\n\r\ncod3b\r\n\tbtfsc\tpta,4\t;***** abrir directo *******\r\n\tcall\tabrir2\t;***** abrir directo *******\r\n\tcall leerpt\r\n\tmovf\tpress,0\r\n\tmovwf\tnum1\r\n\tmovlw\td'11'\r\n\tmovwf\tnum2\r\n\tcall \tcomparar\r\n\tmovwf\tw3\r\n\tbtfss \tw3,3\r\n\tgoto \tcod3b\r\n\r\ncod3c\tcall buzzer\r\n\tbtfsc\tpta,4\t;***** abrir directo *******\r\n\tcall\tabrir2\t;***** abrir directo *******\r\n\tmovf\tdig3,0\r\n\tmovwf\tnum2\r\n\tcall \tcomparar\r\n\tmovwf\tw3\r\n\tbtfsc\tw3,3\r\n\tgoto \tcodigo\r\n\r\ncod4\r\n\tbtfsc\tpta,4\t;***** abrir directo *******\r\n\tcall\tabrir2\t;***** abrir directo *******\r\n\tcall leerpt\r\n\tmovf\tpress,0\t;**** comparar press con el digito 4 (y11) ***\r\n\tmovwf\tnum1\r\n\tmovf\tdig3,0\r\n\tmovwf\tnum2\r\n\tcall comparar\r\n\tmovwf\tw3\r\n\tbtfsc\tw3,3\r\n\tgoto cod4b\r\n\tgoto cod4\r\n\r\ncod4b\r\n\tbtfsc\tpta,4\t;***** abrir directo *******\r\n\tcall\tabrir2\t;***** abrir directo *******\r\n\tcall leerpt\r\n\tmovf\tpress,0\r\n\tmovwf\tnum1\r\n\tmovlw\td'11'\r\n\tmovwf\tnum2\r\n\tcall \tcomparar\r\n\tmovwf\tw3\r\n\tbtfss \tw3,3\r\n\tgoto \tcod4b\r\n\r\ncod4c\tcall buzzer\r\n\tbtfsc\tpta,4\t;***** abrir directo *******\r\n\tcall\tabrir2\t;***** abrir directo *******\r\n\tmovf\tdig4,0\r\n\tmovwf\tnum2\r\n\tcall \tcomparar\r\n\tmovwf\tw3\r\n\tbtfsc\tw3,3\r\n\tgoto \tcodigo\r\n\r\ncod5\r\n\t;***************** abrir *******************\r\n\tcall\tabrir\r\n\tgoto codigo\r\n\r\npausa1\t\t\t;****** pausa de 1 segundo ***\r\n\tmovlw\td'2'\t;*** 50 ****\r\n\tmovwf\tl\r\nloop0\tmovlw\td'150'\t;*** 200 ***\r\n\tmovwf\tj\r\nloop1\tmovlw\td'200'\t;*** 200 ***\r\n\tmovwf\tk\r\nloop2\tdecfsz\tk,1\r\n\tgoto loop2\r\n\tdecfsz\tj,1\r\n\tgoto\tloop1\r\n\tdecfsz\tl,1\r\n\tgoto loop0\r\n\treturn\t\t;**** fin de pausa 1 **********\r\n\r\npausa2\t\t\t;****** pausa de .05 segundos ***\r\n\tmovlw\td'100'\t;** 50 **\r\n\tmovwf\tj\r\nloop1b\tmovlw\td'150'\t;** 5 **\r\n\tmovwf\tk\r\nloop2b\tdecfsz\tk,1\r\n\tgoto loop2b\r\n\tdecfsz\tj,1\r\n\tgoto\tloop1b\r\n\treturn\t\t;**** fin de pausa 2 **********\r\n\r\ncomparar\t\t;*** compara igualdad entre num1 y num2**\r\n\t\t\t;*** si num1=num2 =&gt; w=00 sino w=ff\r\n\tmovf\tnum1,0\r\n\txorwf\tnum2,0\r\n\tmovwf\tw2\r\n\tbtfsc\tw2,0\r\n\tretlw\th'ff'\r\n\tbtfsc\tw2,1\r\n\tretlw\th'ff'\r\n\tbtfsc\tw2,2\r\n\tretlw\th'ff'\r\n\tbtfsc\tw2,3\r\n\tretlw\th'ff'\r\n\tbtfsc\tw2,4\r\n\tretlw\th'ff'\r\n\tbtfsc\tw2,5\r\n\tretlw\th'ff'\r\n\tbtfsc\tw2,6\r\n\tretlw\th'ff'\r\n\tbtfsc\tw2,7\r\n\tretlw\th'ff'\r\n\tretlw\t00\t;****** fin subrutina comparar ***\r\n\r\nbuzzer\tbsf \tpta,2\t;****** sonar buzzer *****\r\n\tcall pausa2\r\n\tbcf\tpta,2\r\n\treturn\t\t;****** fin de buzzer ****\r\n\r\nleerpt\t\t\t;**** leer el puerto  *******\r\n\r\n\tmovlw\td'11'\t;** preseteo a press en 11 (no press)***\r\n\tmovwf\tpress\r\n\r\n\tmovf\tptb,0\t;*** si est\u00e1 presionado el 0b =&gt; press =1 ***\r\n\tmovwf\tnum1\r\n\tmovlw\td'1'\r\n\tmovwf\tnum2\r\n\tcall\tcomparar\r\n\tmovwf\tw3\r\n\tbtfsc\tw3,3\r\n\tgoto\tlp2\r\n\tmovlw\td'1'\r\n\tmovwf\tpress\r\n\r\nlp2\tmovf\tptb,0\t;*** si est\u00e1 presionado el 1b =&gt; press =2 ***\r\n\tmovwf\tnum1\r\n\tmovlw\td'2'\r\n\tmovwf\tnum2\r\n\tcall\tcomparar\r\n\tmovwf\tw3\r\n\tbtfsc\tw3,3\r\n\tgoto lp3\r\n\tmovlw\td'2'\r\n\tmovwf\tpress\r\n\r\nlp3\tmovf\tptb,0\t;*** si est\u00e1 presionado el 2b =&gt; press =3 ***\r\n\tmovwf\tnum1\r\n\tmovlw\td'4'\r\n\tmovwf\tnum2\r\n\tcall\tcomparar\r\n\tmovwf\tw3\r\n\tbtfsc\tw3,3\r\n\tgoto lp4\r\n\tmovlw\td'3'\r\n\tmovwf\tpress\r\n\r\nlp4\tmovf\tptb,0\t;*** si est\u00e1 presionado el 3b =&gt; press =4 ***\r\n\tmovwf\tnum1\r\n\tmovlw\td'8'\r\n\tmovwf\tnum2\r\n\tcall\tcomparar\r\n\tmovwf\tw3\r\n\tbtfsc\tw3,3\r\n\tgoto lp5\r\n\tmovlw\td'4'\r\n\tmovwf\tpress\r\n\r\nlp5\tmovf\tptb,0\t;*** si est\u00e1 presionado el 4b =&gt; press =5 ***\r\n\tmovwf\tnum1\r\n\tmovlw\td'16'\r\n\tmovwf\tnum2\r\n\tcall\tcomparar\r\n\tmovwf\tw3\r\n\tbtfsc\tw3,3\r\n\tgoto lp6\r\n\tmovlw\td'5'\r\n\tmovwf\tpress\r\n\r\nlp6\tmovf\tptb,0\t;*** si est\u00e1 presionado el 5b =&gt; press =6 ***\r\n\tmovwf\tnum1\r\n\tmovlw\td'32'\r\n\tmovwf\tnum2\r\n\tcall\tcomparar\r\n\tmovwf\tw3\r\n\tbtfsc\tw3,3\r\n\tgoto lp7\r\n\tmovlw\td'6'\r\n\tmovwf\tpress\r\n\r\nlp7\tmovf\tptb,0\t;*** si est\u00e1 presionado el 6b =&gt; press =7 ***\r\n\tmovwf\tnum1\r\n\tmovlw\td'64'\r\n\tmovwf\tnum2\r\n\tcall\tcomparar\r\n\tmovwf\tw3\r\n\tbtfsc\tw3,3\r\n\tgoto lp8\r\n\tmovlw\td'7'\r\n\tmovwf\tpress\r\n\r\nlp8\tmovf\tptb,0\t;*** si est\u00e1 presionado el 7b =&gt; press =8 ***\r\n\tmovwf\tnum1\r\n\tmovlw\td'128'\r\n\tmovwf\tnum2\r\n\tcall\tcomparar\r\n\tmovwf\tw3\r\n\tbtfsc\tw3,3\r\n\tgoto lp9\r\n\tmovlw\td'8'\r\n\tmovwf\tpress\r\n\r\nlp9\tmovf\tpta,0\t;*** si est\u00e1 presionado el 0a =&gt; press =9 ***\r\n\tmovwf\tnum1\r\n\r\n\tbtfss\tnum1,0\r\n\tgoto lp10\r\n\tmovlw\td'9'\r\n\tmovwf\tpress\r\n\r\nlp10\tmovf\tpta,0\t;*** si est\u00e1 presionado el 1b =&gt; press =0 ***\r\n\tmovwf\tnum1\r\n\r\n\tbtfss\tnum1,1\r\n\tgoto lp11\r\n\tmovlw\td'0'\r\n\tmovwf\tpress\r\n\r\nlp11\r\n\r\n\treturn\t\t;******* fin subr leer puerto ****\r\n\r\nabrir\t\t\t;********** abrir puerta ***********\r\n\tbsf\tpta,3\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\r\n\tbcf\tpta,3\r\n\r\n\treturn\r\n\r\nabrir2\t\t\t;*********** abrir puerta mas tiempo *****\r\n\r\n\tbsf\tpta,3\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\tbsf\tpta,2\r\n\tcall pausa1\r\n\tbcf\tpta,2\r\n\tcall pausa1\r\n\r\n\tbcf\tpta,3\r\n\r\n\treturn\r\n\r\ncodigox\t\t\t\t;****** retencion de numero erroneo *****\r\n\r\ncodxb\tmovlw\tb'00000010'\r\n\tmovwf\tpros\r\n\tcall leerpt\r\n\tmovf\tpress,0\r\n\tmovwf\tnum1\r\n\tmovlw\td'11'\r\n\tmovwf\tnum2\r\n\tcall \tcomparar\r\n\tmovwf\tw3\r\n\tbtfsc \tw3,3\r\n\tgoto \tcodxb\r\n\tgoto\tcodigo\t\t;**** fin de retencion ***************\r\n\r\n\tend\r\n\r\n<\/pre>\n<p>Codigo Hex:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n:1000000001280130BA000330BB000530BC000930C4\r\n:10001000BD000301FF3066001330650085018601D5\r\n:10002000051A3821B6202608A0000B30A1009E201A\r\n:10003000A800A81D1028B220051A38212608A00003\r\n:100040003A08A1009E20A800A8197B29051A38218A\r\n:10005000B6202608A0003A08A1009E20A800A819F2\r\n:1000600032282628051A3821B6202608A0000B3091\r\n:10007000A1009E20A800A81D3228B220051A382110\r\n:100080003B08A1009E20A800A8191028051A3821B5\r\n:10009000B6202608A0003B08A1009E20A800A819B1\r\n:1000A00052284628051A3821B6202608A0000B3011\r\n:1000B000A1009E20A800A81D5228B220051A3821B0\r\n:1000C0003C08A1009E20A800A8191028051A382174\r\n:1000D000B6202608A0003C08A1009E20A800A81970\r\n:1000E00072286628051A3821B6202608A0000B3091\r\n:1000F000A1009E20A800A81D7228B220051A382150\r\n:100100003D08A1009E20A800A8191028152110283C\r\n:100110000230B9009630B700C830B800B80B8E284E\r\n:10012000B70B8C28B90B8A2808006430B7009630CA\r\n:10013000B800B80B9928B70B9728080020082106AB\r\n:10014000A7002718FF34A718FF342719FF34A71971\r\n:10015000FF34271AFF34A71AFF34271BFF34A71BCD\r\n:10016000FF34003405159520051108000B30A6005A\r\n:100170000608A0000130A1009E20A800A819C228EE\r\n:100180000130A6000608A0000230A1009E20A800B1\r\n:10019000A819CC280230A6000608A0000430A1004F\r\n:1001A0009E20A800A819D6280330A6000608A000A3\r\n:1001B0000830A1009E20A800A819E0280430A6005D\r\n:1001C0000608A0001030A1009E20A800A819EA2867\r\n:1001D0000530A6000608A0002030A1009E20A8003F\r\n:1001E000A819F4280630A6000608A0004030A10097\r\n:1001F0009E20A800A819FE280730A6000608A00027\r\n:100200008030A1009E20A800A81908290830A60067\r\n:100210000508A000201C0E290930A6000508A00032\r\n:10022000A01C14290030A60008008515051588209B\r\n:1002300005118820051588200511882005158820BE\r\n:1002400005118820051588200511882005158820AE\r\n:10025000051188200515882005118820051588209E\r\n:1002600005118820051588200511882085110800B2\r\n:10027000851505158820051188200515882005118C\r\n:10028000882005158820051188200515882005116E\r\n:10029000882005158820051188200515882005115E\r\n:1002A000882005158820051188200515882005114E\r\n:1002B000882005158820051188200515882005113E\r\n:1002C000882005158820051188200515882005112E\r\n:1002D000882005158820051188200515882005111E\r\n:1002E000882005158820051188200515882005110E\r\n:1002F0008820851108000230BF00B6202608A00023\r\n:0E0300000B30A1009E20A800A8197B29102810\r\n:02400E001B0095\r\n:00000001FF\r\n<\/pre>\n<p>Fuente: \u00a0<a href=\"http:\/\/www.carcass.4t.com\/pics\/aplicaciones\/cerradura\/cerradura.htm\" target=\"_blank\">http:\/\/www.carcass.4t.com\/pics\/aplicaciones\/cerradura\/cerradura.htm<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Esta es la plaqueta vista desde el lado del cobre, la columna de componentes que se ven a la derecha, de abajo hacia arriba son: puente rectificador, capacitor de 1000 uF, regulador 7805 y capacitor de 100 uf. Lo \u00fanico que falta para terminar la cerradura es el programa para el PIC que es el siguiente, cerradura.asm y cerradura.hex Esta [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[69],"class_list":["post-4047","post","type-post","status-publish","format-standard","hentry","category-electronica","tag-electronica"],"_links":{"self":[{"href":"https:\/\/www.pesadillo.com\/pesadillo\/index.php?rest_route=\/wp\/v2\/posts\/4047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pesadillo.com\/pesadillo\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pesadillo.com\/pesadillo\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pesadillo.com\/pesadillo\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pesadillo.com\/pesadillo\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4047"}],"version-history":[{"count":3,"href":"https:\/\/www.pesadillo.com\/pesadillo\/index.php?rest_route=\/wp\/v2\/posts\/4047\/revisions"}],"predecessor-version":[{"id":11261,"href":"https:\/\/www.pesadillo.com\/pesadillo\/index.php?rest_route=\/wp\/v2\/posts\/4047\/revisions\/11261"}],"wp:attachment":[{"href":"https:\/\/www.pesadillo.com\/pesadillo\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pesadillo.com\/pesadillo\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pesadillo.com\/pesadillo\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}