{"id":28,"date":"2019-04-25T10:00:00","date_gmt":"2019-04-25T10:00:00","guid":{"rendered":"https:\/\/blogs.etsii.urjc.es\/dseytr\/?p=28"},"modified":"2020-11-22T10:51:29","modified_gmt":"2020-11-22T10:51:29","slug":"alarma-de-seguridad-con-arduino_25","status":"publish","type":"post","link":"https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/","title":{"rendered":"Alarma de seguridad con arduino. Grupo 20 M\u00f3stoles"},"content":{"rendered":"<h2 dir=\"ltr\" id=\"docs-internal-guid-ae9c37bb-7fff-0935-3a4c-4020c8028356\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt; text-align: center;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 13.999999999999998pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: underline; vertical-align: baseline; white-space: pre;\">ALARMA DE SEGURIDAD CON ARDUINO<\/span><\/h2>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-top: 14pt; text-align: center;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">SISTEMAS EMPOTRADOS Y DE TIEMPO REAL<\/span><\/h3>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: center;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">GRUPO 20:<\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: center;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">FRANCISCO JAVIER HIGUERA MONTERO<\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: center;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">M\u00d3NICA RODR\u00cdGUEZ P\u00c9REZ<\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: center;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">F\u00c9LIX MU\u00d1UMEL PIAYA<\/span><\/h4>\n<h2 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-size: large; font-style: normal; font-variant: normal; vertical-align: baseline; white-space: pre;\">   <\/span><u><span style=\"background-color: transparent; color: black; font-size: large; font-style: normal; font-variant: normal; vertical-align: baseline; white-space: pre;\">\u00cdndice:<\/span><\/u><\/span><\/h2>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">    1. Introducci\u00f3n.<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">    2. Materiales.<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">    3. Esquema de montaje.<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">    4. Funcionamiento.<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">         4.1. Teclado matricial 4&#215;4.<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">         4.2. Pantalla LCD.<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">         4.3. Buzzer.<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">         4.4. Sensor ultras\u00f3nico.<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">         4.5. LEDs.<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">    5. Problemas y mejoras.<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">        5.1. Problemas.<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">        5.2. Mejoras.<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">    6. C\u00f3digo.<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">        6.1. Declaraci\u00f3n de variables.<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">        6.2. void setup().<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">        6.3. void loop().<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\"><span style=\"background-color: transparent; color: black; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">        6.4. long getDistancia().<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"><span style=\"font-size: small;\"><span style=\"font-family: &quot;arial&quot; , &quot;helvetica&quot; , sans-serif;\">    7. Video demostrativo.<\/span><\/span><\/span><span style=\"font-size: large;\"><span style=\"color: black;\"><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">&nbsp;<\/span><\/span><\/span><\/h4>\n<h4 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 2pt; margin-top: 12pt; text-align: justify;\">\n<span style=\"font-size: large;\"><span style=\"color: black;\"><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">   1. <\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;\">Introducci\u00f3n<\/span><\/span><\/span><\/h4>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 19pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">En la siguiente memoria, vamos a describir el sistema de seguridad que hemos realizado&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">basado en Arduino e inspirado en una alarma convencional del hogar. <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 19pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 19pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">Despu\u00e9s de analizar varios proyectos, decidimos quedarnos con este en concreto&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">despu\u00e9s de pasar por otros como: una bater\u00eda solar para el tel\u00e9fono y un brazo rob\u00f3tico&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">para dise\u00f1o gr\u00e1fico.&nbsp;<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 19pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">El primero no acababa de convencernos debido a que no presentaba una gran variedad&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">de funcionalidades y siguiendo el consejo del profesor decidimos descartarlo.&nbsp;<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 19pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">El segundo lo abandonamos debido a que presentaba una serie de dificultades&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">que no supimos afrontar en un principio como el dise\u00f1o de una placa personalizada. <\/span><\/div>\n<div style=\"text-align: justify;\">\n<span style=\"font-size: small;\"><br \/><\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 19pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">En este proyecto hemos hecho uso de Arduino Mega debido a que desde el principio&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">quer\u00edamos afrontar un desarrollo que tuviera un n\u00famero considerable&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">de elementos externos, como la pantalla LCD o el Keypad por nombrar algunos,&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">por lo que era fundamental por la necesidad de tener m\u00e1s pines. <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 19pt; margin-top: 0pt; text-align: justify;\">\n<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 19pt; margin-top: 0pt; text-align: center;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;<\/span><\/div>\n<p><\/p>\n<h2 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;\">\n<span style=\"font-size: large;\"><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">   2.<\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"> <\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;\">Materiales.<\/span><\/span><\/h2>\n<div dir=\"ltr\" style=\"margin-left: 0pt;\">\n<table style=\"border-collapse: collapse; border: none;\">\n<tbody>\n<tr style=\"height: 48pt;\">\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 0pt; padding: 0pt 0pt 0pt 18pt; text-align: center; text-indent: -18pt;\">\n<span style=\"font-size: small;\"><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">MATERIALES<\/span><\/span><\/div>\n<\/td>\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 0pt; padding: 0pt 0pt 0pt 18pt; text-align: center; text-indent: -18pt;\">\n<span style=\"font-size: small;\"><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">IMAGEN<\/span><\/span><\/div>\n<\/td>\n<\/tr>\n<tr style=\"height: 92pt;\">\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 0pt; padding: 0pt 0pt 0pt 18pt; text-align: center; text-indent: -18pt;\">\n<span style=\"font-size: small;\"><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">PLACA ARDUINO MEGA 2560<\/span><\/span><\/div>\n<\/td>\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 0pt; padding: 0pt 0pt 0pt 18pt; text-align: center; text-indent: -18pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 17pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><\/div>\n<\/td>\n<\/tr>\n<tr style=\"height: 76pt;\">\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 0pt; padding: 0pt 0pt 0pt 18pt; text-align: center; text-indent: -18pt;\">\n<span style=\"font-size: small;\"><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">TECLADO MATRICIAL 4&#215;4<\/span><\/span><\/div>\n<\/td>\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: center;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 17pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><\/div>\n<\/td>\n<\/tr>\n<tr style=\"height: 103pt;\">\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 0pt; padding: 0pt 0pt 0pt 18pt; text-align: center; text-indent: -18pt;\">\n<span style=\"font-size: small;\"><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">PANTALLA LCD<\/span><\/span><\/div>\n<\/td>\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 0pt; padding: 0pt 0pt 0pt 18pt; text-align: center; text-indent: -18pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 17pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><\/div>\n<\/td>\n<\/tr>\n<tr style=\"height: 59pt;\">\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 0pt; padding: 0pt 0pt 0pt 18pt; text-align: center; text-indent: -18pt;\">\n<span style=\"font-size: small;\"><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">BUZZER<\/span><\/span><\/div>\n<\/td>\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: center;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"><\/span><\/div>\n<\/td>\n<\/tr>\n<tr style=\"height: 77pt;\">\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 0pt; padding: 0pt 0pt 0pt 18pt; text-align: center; text-indent: -18pt;\">\n<span style=\"font-size: small;\"><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">SENSOR ULTRAS\u00d3NICO<\/span><\/span><\/div>\n<\/td>\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: center;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 17pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><\/div>\n<\/td>\n<\/tr>\n<tr style=\"height: 88pt;\">\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 0pt; padding: 0pt 0pt 0pt 18pt; text-align: center; text-indent: -18pt;\">\n<span style=\"font-size: small;\"><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">PROTOBOARD<\/span><\/span><\/div>\n<\/td>\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: center;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"><\/span><\/div>\n<\/td>\n<\/tr>\n<tr style=\"height: 109pt;\">\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 0pt; padding: 0pt 0pt 0pt 18pt; text-align: center; text-indent: -18pt;\">\n<span style=\"font-size: small;\"><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">CABLE MACHO-HEMBRA<\/span><\/span><\/div>\n<\/td>\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 0pt; padding: 0pt 0pt 0pt 18pt; text-align: center; text-indent: -18pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"><\/span><\/div>\n<\/td>\n<\/tr>\n<tr style=\"height: 81pt;\">\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 0pt; padding: 0pt 0pt 0pt 18pt; text-align: center; text-indent: -18pt;\">\n<span style=\"font-size: small;\"><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">CABLE MACHO-MACHO<\/span><\/span><\/div>\n<\/td>\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: center;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"> <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"><\/span><\/div>\n<\/td>\n<\/tr>\n<tr style=\"height: 59pt;\">\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 0pt; padding: 0pt 0pt 0pt 18pt; text-align: center; text-indent: -18pt;\">\n<span style=\"font-size: small;\"><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">LEDS<\/span><\/span><\/div>\n<\/td>\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: center;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"><\/span><\/div>\n<\/td>\n<\/tr>\n<tr style=\"height: 97pt;\">\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 0pt; padding: 0pt 0pt 0pt 18pt; text-align: center; text-indent: -18pt;\">\n<span style=\"font-size: small;\"><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">CAJA CONEXIONES<\/span><\/span><\/div>\n<\/td>\n<td style=\"border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: center;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 17pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 18pt; margin-top: 18pt; padding: 0pt 0pt 0pt 18pt; text-indent: -18pt;\">\n<span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: 17pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">3.<\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: 17pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;\">Esquema de montaje.<\/span><\/h2>\n<h2 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 18pt; margin-top: 18pt; padding: 0pt 0pt 0pt 18pt; text-align: center; text-indent: -18pt;\">\n<span style=\"background-color: transparent; color: #1155cc; font-family: &quot;arial&quot;; font-size: 17pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: underline; vertical-align: baseline; white-space: pre;\"><\/span><\/h2>\n<h2 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 18pt; margin-top: 18pt; padding: 0pt 0pt 0pt 18pt; text-indent: -18pt;\">\n<span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: 17pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">4.<\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: 17pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;\">Funcionamiento.<\/span><\/h2>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 19pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">En esta secci\u00f3n, explicamos el funcionamiento de cada uno de los componentes de&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">nuestro proyecto.<\/span><\/div>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 39pt; margin-top: 14pt; padding: 0pt 0pt 0pt 22pt; text-indent: -22pt;\">\n<span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">4.1.<\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"> &nbsp;<\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;\">Teclado matricial 4&#215;4.<\/span><\/h3>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify; text-indent: 21pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">La funci\u00f3n principal del teclado matricial 4&#215;4, es interactuar con el Arduino<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;mediante sus botones. Cada bot\u00f3n tiene una funci\u00f3n.<\/span><\/div>\n<p><span style=\"font-size: small;\"><br \/><\/span><br \/>\n<\/p>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify; text-indent: 21pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">Mediante los n\u00fameros se puede introducir la contrase\u00f1a, para as\u00ed poder desactivar&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">la alarma y tambi\u00e9n se puede introducir la nueva contrase\u00f1a.&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">Para utilizar el teclado, es necesario introducir la librer\u00eda <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">Keypad.h<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">y crear una <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">matriz de char<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> para inicializar el teclado:<\/span><\/div>\n<p><span style=\"font-size: small;\"><br \/><\/span><br \/>\n<\/p>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 70pt; margin-right: 204pt; margin-top: 0pt; padding: 0pt 0pt 0pt 35pt; text-indent: -35pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">\/\/Columnas y Filas del Keypad&nbsp;<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 70pt; margin-right: 204pt; margin-top: 0pt; padding: 0pt 0pt 0pt 35pt; text-indent: -35pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">const byte ROWS = 4;&nbsp;<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 70pt; margin-right: 204pt; margin-top: 0pt; padding: 0pt 0pt 0pt 35pt; text-indent: -35pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">const byte COLS = 4;&nbsp;<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 70pt; margin-right: 204pt; margin-top: 0pt; padding: 0pt 0pt 0pt 35pt; text-indent: -35pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">char tecla;<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 70pt; margin-right: 204pt; margin-top: 0pt; padding: 0pt 0pt 0pt 35pt; text-indent: -35pt;\">\n<span style=\"font-size: small;\"><br \/><\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 71pt; margin-top: 0pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">\/\/Keypad<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 71pt; margin-top: 0pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">char keyMap [ROWS][COLS] = {<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 71pt; margin-top: 0pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">{&#8216;1&#8242;,&#8217;2&#8242;,&#8217;3&#8242;,&#8217;A&#8217;},<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 71pt; margin-top: 0pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">{&#8216;4&#8242;,&#8217;5&#8242;,&#8217;6&#8242;,&#8217;B&#8217;},<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 71pt; margin-top: 0pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">{&#8216;7&#8242;,&#8217;8&#8242;,&#8217;9&#8242;,&#8217;C&#8217;},<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 71pt; margin-top: 0pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">{&#8216;*&#8217;,&#8217;0&#8242;,&#8217;#&#8217;,&#8217;D&#8217;} &nbsp;<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 71pt; margin-top: 0pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">};<\/span><\/div>\n<p><span style=\"font-size: small;\"><br \/><\/span><br \/>\n<\/p>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">Despu\u00e9s de inicializar el teclado, lo que tuvimos que hacer fue instanciarlo con el siguiente&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">c\u00f3digo:<\/span><\/div>\n<p><span style=\"font-size: small;\"><br \/><\/span><br \/>\n<\/p>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">Keypad teclado = Keypad( makeKeymap(keyMap), rowPins, colPins, ROWS,<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">COLS);<\/span><\/p>\n<h3>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><u>4.2 Pantalla LCD. <\/u><\/span><\/h3>\n<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">La pantalla LCD, es la encargada de mostrarnos en que parte del proceso nos&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">encontramos, tambi\u00e9n muestra por pantalla las opciones que vamos seleccionando por&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">teclado. Para utilizar la pantalla LCD es necesario introducir la librer\u00eda <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">LiquidCrystal.h<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">y se deben introducir las entradas que van a ser distintas con respecto a las iniciales&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">de la librer\u00eda.<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"font-size: small;\"><br \/><\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-right: 190pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">Declaraci\u00f3n de variables que utilizan Pin: <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-right: 190pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">int RS = 2; \/\/Register Selector <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-right: 190pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">int E = 3; \/\/Enable <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-right: 190pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">int D4 = 4; \/\/Datos 1 <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-right: 190pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">int D5 = 5; \/\/Datos 2 <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-right: 190pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">int D6 = 6; \/\/Datos 3 <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-right: 190pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">int D7 = 7; \/\/Datos 4<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">int V0 = 12; \/\/Contraste<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"font-size: small;\"><br \/><\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">Declaraci\u00f3n de Variables que no utilizan Pin:<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">VSS: Ground\/Negativo<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">VDD: Positivo 5V (Resistencia antes)<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">\u00c1nodo: Positivo 5V<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">C\u00e1todo: Ground\/Negativo<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">Adem\u00e1s, solo ser\u00e1 necesario utilizar 4 de las 8 entradas de datos disponibles en<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">la pantalla LCD debido al modelo de pantalla utilizado.<\/span><\/p>\n<h3>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;<\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">4.3.<\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"> &nbsp;<\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;\">Buzzer.<\/span><\/h3>\n<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">Lo primero que se debe hacer es definir donde se ha conectado, e inicializarlo en&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">el <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">setup ()<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">:<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">const int buzzer = 8;<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">pinMode (buzzer, OUTPUT);<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"font-size: small;\"><br \/><\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">Gracias al <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">buzzer<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> podremos emitir sonidos mediante:<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">tone (buzzer, 700, 100);<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"font-size: small;\"><br \/><\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">En este ejemplo el valor \u201c700\u201d es la frecuencia en Hz y el 100 es la duraci\u00f3n en&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">milisegundos.<\/span><\/div>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 39pt; margin-top: 14pt; padding: 0pt 0pt 0pt 22pt; text-align: justify; text-indent: -22pt;\">\n<span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">4.4.<\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"> &nbsp;<\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;\">Sensor ultras\u00f3nico.<\/span><\/h3>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">El sensor ultras\u00f3nico no necesita ninguna librer\u00eda para su uso, lo \u00fanico que se necesita&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">hacer es inicializar los pines del echo (Receptor) y del trigger (Emisor). <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">pinMode (trigpPin, OUTPUT);<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">pinMode (echopPIN, INPUT);<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">En la parte del <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">loop ()<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">, se debe inicializar la distancia a la que se desea que la alarma&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">se active. En este caso hemos creado una funci\u00f3n que se invoca dentro de <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">loop ()<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">;<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 71pt; margin-right: 164pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">long getDistancia(){ &nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 71pt; margin-right: 164pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">digitalWrite(trigPin,LOW); <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">delayMicroseconds(2); <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">digitalWrite(trigPin,HIGH); <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">delayMicroseconds(10); <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">digitalWrite(trigPin,LOW); <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"> <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 71pt; margin-right: 164pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">duracion = pulseIn(echoPin, HIGH); <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">distancia = duracion * 0.034\/2;<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 71pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">return distancia;<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 71pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"> }<\/span><\/div>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 39pt; margin-top: 14pt; padding: 0pt 0pt 0pt 22pt; text-align: justify; text-indent: -22pt;\">\n<span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">4.5.<\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"> &nbsp;<\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;\">LEDs.<\/span><\/h3>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">Para el uso de LEDs no es necesario incluir ninguna librer\u00eda,&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">lo \u00fanico que hay que hacer es inicializar los pines donde se van a localizar,&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">esto se hace en la parte del <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">setup ()<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">.<\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-right: 155pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">pinMode (ledVerde, OUTPUT); &nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-right: 155pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">pinMode (ledRojo1, OUTPUT); &nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-right: 155pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">pinMode (ledRojo2, OUTPUT); &nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">&nbsp;&nbsp;&nbsp; <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-right: 155pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">pinMode (ledRojo3, OUTPUT);<\/span><\/div>\n<p><span style=\"font-size: small;\"><br \/><\/span><br \/>\n<\/p>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 35pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">En el <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">loop (),<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> debemos de programar cuando queremos que se active cada led.&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">En este caso hemos implementado que el led rojo se active con cada segundo de la cuenta&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">atr\u00e1s y se active cuando introduces la contrase\u00f1a incorrecta.&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">El led verde se encender\u00e1 cuando se introduzca la contrase\u00f1a correcta.&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">En estos dos \u00faltimos casos hemos introducido un <\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">delay<\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\"> de 2000 que es la duraci\u00f3n de&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">2 segundos que se mantendr\u00e1 la luz encendida.<\/span><\/div>\n<h2 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 18pt; margin-top: 18pt; padding: 0pt 0pt 0pt 18pt; text-align: justify; text-indent: -18pt;\">\n<span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: 17pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">    5.<\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-size: 17pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;\">Problemas y mejoras.<\/span><\/h2>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">      <span style=\"font-size: small;\"> 5.1. <u>Problemas.<\/u><\/span><\/span><\/h3>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 40pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">A lo largo del desarrollo del proyecto hemos encontrado varios problemas.&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">La parte del desarrollo que m\u00e1s complicaciones nos ha presentado ha sido la inclusi\u00f3n&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">de la pantalla LCD, debido al mal funcionamiento en algunas ocasiones por no poder&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">representar de forma correcta el mensaje que quer\u00edamos transmitir. Este problema no lo&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">hemos podido solucionar completamente, pero hemos podido reducir considerablemente&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">el \u00edndice de errores. <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 40pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">Tambi\u00e9n, hemos tenido problemas en la parte del desarrollo del software, principalmente&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">con la implementaci\u00f3n del comando lcd.clear(), ya que en algunas ocasiones no cumpl\u00eda&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">su funci\u00f3n de forma correcta al no borrar la informaci\u00f3n cuando se precisaba. <\/span><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 40pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">Otro peque\u00f1o error, fue a la hora de implementar el c\u00f3digo del teclado porque&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">no lo declaramos de forma correcta y \u00fanicamente funcionaban los n\u00fameros.<\/span><\/div>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-left: 18pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\">        5.2. <u>Mejoras.<\/u><\/span><\/h3>\n<div dir=\"ltr\" style=\"line-height: 1.248; margin-bottom: 0pt; margin-left: 40pt; margin-top: 0pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">Como posible mejora vemos muy factible introducir cualquier sistema biom\u00e9trico,&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">pero este caso vemos una opci\u00f3n muy adecuado la inclusi\u00f3n del reconocimiento&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">de huella dactilar, debido a su facilidad y extensi\u00f3n de uso y la f\u00e1cil implementaci\u00f3n&nbsp;<\/span><br \/>\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: small; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;\">en el dise\u00f1o en s\u00ed de la alarma.<\/span><\/div>\n<h2 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 18pt; text-align: justify;\">\n<span style=\"font-size: large;\"><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">6. C\u00f3digo<\/span><\/span><\/h2>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"font-size: small;\"><u><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;\">6.1 Declaraci\u00f3n de variables.<\/span><\/u><\/span><\/h3>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><\/h3>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><\/h3>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"font-size: small;\"><u><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;\">6.2 void setup(). <\/span><\/u><\/span><\/h3>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><\/h3>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"font-size: small;\"><u><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;\">6.3 void loop().<\/span><\/u><\/span><\/h3>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"> <\/span><\/h3>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"> <\/span><\/h3>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"> <\/span><\/h3>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"> <\/span><\/h3>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><\/h3>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><\/h3>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"> <\/span><\/h3>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"> <\/span><\/h3>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"> <\/span><\/h3>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><u><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;\">&nbsp;<\/span><\/u><\/h3>\n<h3 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-left: 40pt; margin-top: 14pt; text-align: justify;\">\n<span style=\"font-size: small;\"><u><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;\">6.4 long getDistancia().<\/span><\/u><\/span><\/h3>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: center;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"><\/span><\/div>\n<h2 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;\">\n<span style=\"font-size: large;\"><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;\">      <\/span><span style=\"color: blue;\"><a href=\"https:\/\/youtu.be\/P_GbwtoWrbo\"><u><span style=\"background-color: transparent; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;\">7. Video demostrativo.<\/span><\/u><\/a><\/span><\/span><\/h2>\n<div class=\"separator\" style=\"clear: both; text-align: center;\">\n<\/div>\n<p><\/p>\n<h2 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;\">\n<span style=\"font-size: large;\"><u><span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-style: normal; font-variant: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;\"><br \/><\/span><\/u><\/span><\/h2>\n<p><\/p>\n<h2 dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;\">\n<span style=\"background-color: transparent; color: black; font-family: &quot;arial&quot;; font-size: 13.999999999999998pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;\"> <\/span><\/h2>\n","protected":false},"excerpt":{"rendered":"<p>ALARMA DE SEGURIDAD CON ARDUINO SISTEMAS EMPOTRADOS Y DE TIEMPO REAL GRUPO 20: FRANCISCO JAVIER HIGUERA MONTERO M\u00d3NICA RODR\u00cdGUEZ P\u00c9REZ F\u00c9LIX MU\u00d1UMEL PIAYA \u00cdndice: 1. Introducci\u00f3n. 2. Materiales. 3. Esquema de montaje. 4. Funcionamiento.&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":2013,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-proyectos"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Alarma de seguridad con arduino. Grupo 20 M\u00f3stoles - Proyectos con Arduino.<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Alarma de seguridad con arduino. Grupo 20 M\u00f3stoles - Proyectos con Arduino.\" \/>\n<meta property=\"og:description\" content=\"ALARMA DE SEGURIDAD CON ARDUINO SISTEMAS EMPOTRADOS Y DE TIEMPO REAL GRUPO 20: FRANCISCO JAVIER HIGUERA MONTERO M\u00d3NICA RODR\u00cdGUEZ P\u00c9REZ F\u00c9LIX MU\u00d1UMEL PIAYA \u00cdndice: 1. Introducci\u00f3n. 2. Materiales. 3. Esquema de montaje. 4. Funcionamiento.&#046;&#046;&#046;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/\" \/>\n<meta property=\"og:site_name\" content=\"Proyectos con Arduino.\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-25T10:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-11-22T10:51:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/05\/5psQyxNO96Y7cebP0IA1XJ0uJzzfTSAvlBAjbcFevYbCLVbtEzjv9kW8fo6nRXtaOy_SpvyhDVEJJUIkOoabCa8QU2260syYJwkcg578brVHhD6WsvC8-Kd22kwg785DSuSaCo3r.png\" \/>\n\t<meta property=\"og:image:width\" content=\"510\" \/>\n\t<meta property=\"og:image:height\" content=\"380\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Administrador de la red\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Administrador de la red\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/alarma-de-seguridad-con-arduino_25\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/alarma-de-seguridad-con-arduino_25\\\/\"},\"author\":{\"name\":\"Administrador de la red\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#\\\/schema\\\/person\\\/bdc38fea664f13638d2a51f4d2fc7211\"},\"headline\":\"Alarma de seguridad con arduino. Grupo 20 M\u00f3stoles\",\"datePublished\":\"2019-04-25T10:00:00+00:00\",\"dateModified\":\"2020-11-22T10:51:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/alarma-de-seguridad-con-arduino_25\\\/\"},\"wordCount\":1278,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/alarma-de-seguridad-con-arduino_25\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2019\\\/05\\\/5psQyxNO96Y7cebP0IA1XJ0uJzzfTSAvlBAjbcFevYbCLVbtEzjv9kW8fo6nRXtaOy_SpvyhDVEJJUIkOoabCa8QU2260syYJwkcg578brVHhD6WsvC8-Kd22kwg785DSuSaCo3r.png\",\"articleSection\":[\"Proyectos\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/alarma-de-seguridad-con-arduino_25\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/alarma-de-seguridad-con-arduino_25\\\/\",\"url\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/alarma-de-seguridad-con-arduino_25\\\/\",\"name\":\"Alarma de seguridad con arduino. Grupo 20 M\u00f3stoles - Proyectos con Arduino.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/alarma-de-seguridad-con-arduino_25\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/alarma-de-seguridad-con-arduino_25\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2019\\\/05\\\/5psQyxNO96Y7cebP0IA1XJ0uJzzfTSAvlBAjbcFevYbCLVbtEzjv9kW8fo6nRXtaOy_SpvyhDVEJJUIkOoabCa8QU2260syYJwkcg578brVHhD6WsvC8-Kd22kwg785DSuSaCo3r.png\",\"datePublished\":\"2019-04-25T10:00:00+00:00\",\"dateModified\":\"2020-11-22T10:51:29+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/alarma-de-seguridad-con-arduino_25\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/alarma-de-seguridad-con-arduino_25\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/alarma-de-seguridad-con-arduino_25\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2019\\\/05\\\/5psQyxNO96Y7cebP0IA1XJ0uJzzfTSAvlBAjbcFevYbCLVbtEzjv9kW8fo6nRXtaOy_SpvyhDVEJJUIkOoabCa8QU2260syYJwkcg578brVHhD6WsvC8-Kd22kwg785DSuSaCo3r.png\",\"contentUrl\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2019\\\/05\\\/5psQyxNO96Y7cebP0IA1XJ0uJzzfTSAvlBAjbcFevYbCLVbtEzjv9kW8fo6nRXtaOy_SpvyhDVEJJUIkOoabCa8QU2260syYJwkcg578brVHhD6WsvC8-Kd22kwg785DSuSaCo3r.png\",\"width\":510,\"height\":380},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/alarma-de-seguridad-con-arduino_25\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Alarma de seguridad con arduino. Grupo 20 M\u00f3stoles\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#website\",\"url\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/\",\"name\":\"Proyectos con Arduino.\",\"description\":\"Blog de proyectos de Arduino de alumnos de la URJC\",\"publisher\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#organization\",\"name\":\"Universidad Rey Juan Carlos\",\"url\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2022\\\/05\\\/logourjc-1.jpg\",\"contentUrl\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2022\\\/05\\\/logourjc-1.jpg\",\"width\":745,\"height\":288,\"caption\":\"Universidad Rey Juan Carlos\"},\"image\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#\\\/schema\\\/person\\\/bdc38fea664f13638d2a51f4d2fc7211\",\"name\":\"Administrador de la red\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e8e366128f81a82735b0b00fe6d280414b4bad087e380fa9fee9694454b8a6fa?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e8e366128f81a82735b0b00fe6d280414b4bad087e380fa9fee9694454b8a6fa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e8e366128f81a82735b0b00fe6d280414b4bad087e380fa9fee9694454b8a6fa?s=96&d=mm&r=g\",\"caption\":\"Administrador de la red\"},\"sameAs\":[\"https:\\\/\\\/blogs.etsii.urjc.es\"],\"url\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/author\\\/etsiiadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Alarma de seguridad con arduino. Grupo 20 M\u00f3stoles - Proyectos con Arduino.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/","og_locale":"es_ES","og_type":"article","og_title":"Alarma de seguridad con arduino. Grupo 20 M\u00f3stoles - Proyectos con Arduino.","og_description":"ALARMA DE SEGURIDAD CON ARDUINO SISTEMAS EMPOTRADOS Y DE TIEMPO REAL GRUPO 20: FRANCISCO JAVIER HIGUERA MONTERO M\u00d3NICA RODR\u00cdGUEZ P\u00c9REZ F\u00c9LIX MU\u00d1UMEL PIAYA \u00cdndice: 1. Introducci\u00f3n. 2. Materiales. 3. Esquema de montaje. 4. Funcionamiento.&#46;&#46;&#46;","og_url":"https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/","og_site_name":"Proyectos con Arduino.","article_published_time":"2019-04-25T10:00:00+00:00","article_modified_time":"2020-11-22T10:51:29+00:00","og_image":[{"width":510,"height":380,"url":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/05\/5psQyxNO96Y7cebP0IA1XJ0uJzzfTSAvlBAjbcFevYbCLVbtEzjv9kW8fo6nRXtaOy_SpvyhDVEJJUIkOoabCa8QU2260syYJwkcg578brVHhD6WsvC8-Kd22kwg785DSuSaCo3r.png","type":"image\/png"}],"author":"Administrador de la red","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Administrador de la red","Tiempo de lectura":"6 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/#article","isPartOf":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/"},"author":{"name":"Administrador de la red","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#\/schema\/person\/bdc38fea664f13638d2a51f4d2fc7211"},"headline":"Alarma de seguridad con arduino. Grupo 20 M\u00f3stoles","datePublished":"2019-04-25T10:00:00+00:00","dateModified":"2020-11-22T10:51:29+00:00","mainEntityOfPage":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/"},"wordCount":1278,"commentCount":0,"publisher":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#organization"},"image":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/#primaryimage"},"thumbnailUrl":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/05\/5psQyxNO96Y7cebP0IA1XJ0uJzzfTSAvlBAjbcFevYbCLVbtEzjv9kW8fo6nRXtaOy_SpvyhDVEJJUIkOoabCa8QU2260syYJwkcg578brVHhD6WsvC8-Kd22kwg785DSuSaCo3r.png","articleSection":["Proyectos"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/","url":"https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/","name":"Alarma de seguridad con arduino. Grupo 20 M\u00f3stoles - Proyectos con Arduino.","isPartOf":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/#primaryimage"},"image":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/#primaryimage"},"thumbnailUrl":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/05\/5psQyxNO96Y7cebP0IA1XJ0uJzzfTSAvlBAjbcFevYbCLVbtEzjv9kW8fo6nRXtaOy_SpvyhDVEJJUIkOoabCa8QU2260syYJwkcg578brVHhD6WsvC8-Kd22kwg785DSuSaCo3r.png","datePublished":"2019-04-25T10:00:00+00:00","dateModified":"2020-11-22T10:51:29+00:00","breadcrumb":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/#primaryimage","url":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/05\/5psQyxNO96Y7cebP0IA1XJ0uJzzfTSAvlBAjbcFevYbCLVbtEzjv9kW8fo6nRXtaOy_SpvyhDVEJJUIkOoabCa8QU2260syYJwkcg578brVHhD6WsvC8-Kd22kwg785DSuSaCo3r.png","contentUrl":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/05\/5psQyxNO96Y7cebP0IA1XJ0uJzzfTSAvlBAjbcFevYbCLVbtEzjv9kW8fo6nRXtaOy_SpvyhDVEJJUIkOoabCa8QU2260syYJwkcg578brVHhD6WsvC8-Kd22kwg785DSuSaCo3r.png","width":510,"height":380},{"@type":"BreadcrumbList","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/alarma-de-seguridad-con-arduino_25\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/blogs.etsii.urjc.es\/dseytr\/"},{"@type":"ListItem","position":2,"name":"Alarma de seguridad con arduino. Grupo 20 M\u00f3stoles"}]},{"@type":"WebSite","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#website","url":"https:\/\/blogs.etsii.urjc.es\/dseytr\/","name":"Proyectos con Arduino.","description":"Blog de proyectos de Arduino de alumnos de la URJC","publisher":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blogs.etsii.urjc.es\/dseytr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#organization","name":"Universidad Rey Juan Carlos","url":"https:\/\/blogs.etsii.urjc.es\/dseytr\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#\/schema\/logo\/image\/","url":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2022\/05\/logourjc-1.jpg","contentUrl":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2022\/05\/logourjc-1.jpg","width":745,"height":288,"caption":"Universidad Rey Juan Carlos"},"image":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#\/schema\/person\/bdc38fea664f13638d2a51f4d2fc7211","name":"Administrador de la red","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/secure.gravatar.com\/avatar\/e8e366128f81a82735b0b00fe6d280414b4bad087e380fa9fee9694454b8a6fa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e8e366128f81a82735b0b00fe6d280414b4bad087e380fa9fee9694454b8a6fa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e8e366128f81a82735b0b00fe6d280414b4bad087e380fa9fee9694454b8a6fa?s=96&d=mm&r=g","caption":"Administrador de la red"},"sameAs":["https:\/\/blogs.etsii.urjc.es"],"url":"https:\/\/blogs.etsii.urjc.es\/dseytr\/author\/etsiiadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/comments?post=28"}],"version-history":[{"count":28,"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":2754,"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/posts\/28\/revisions\/2754"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/media\/2013"}],"wp:attachment":[{"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/media?parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/categories?post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/tags?post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}