{"id":1572,"date":"2015-10-23T14:36:44","date_gmt":"2015-10-23T12:36:44","guid":{"rendered":"http:\/\/codigo21.educacion.navarra.es\/eu\/?page_id=1572"},"modified":"2016-01-14T12:48:35","modified_gmt":"2016-01-14T11:48:35","slug":"lehen-urratsak-enchanting-ekin","status":"publish","type":"page","link":"https:\/\/codigo21.educacion.navarra.es\/eu\/autoformazioa\/lehen-urratsak-enchanting-ekin\/","title":{"rendered":"Lehen urratsak LEGO eta Enchanting-ekin"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Con una interfaz similar a la de Scratch, <\/span><a href=\"http:\/\/enchanting.robotclub.ab.ca\/tiki-index.php\" target=\"_blank\"><span style=\"font-weight: 400;\">Enchanting<\/span><\/a><span style=\"font-weight: 400;\"> se puede utilizar con los robots <\/span><b>Lego Mindstorms Education NXT que tienen instalado un firmware espec\u00edfico<\/b><span style=\"font-weight: 400;\">. En el <\/span><a href=\"http:\/\/codigo21.educacion.navarra.es\/prestamo-de-material-de-robotica\/\" target=\"_blank\"><span style=\"font-weight: 400;\">Centro de Recursos de C\u00f3digo 21<\/span><\/a><span style=\"font-weight: 400;\"> contamos con varias unidades de este tipo de robots para el pr\u00e9stamo a los centros miembros de la Red de Centros de Innovaci\u00f3n en Ciencia y Tecnolog\u00eda, dependientes del Departamento de Educaci\u00f3n de Navarra.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Una vez que tenemos un <\/span><a href=\"http:\/\/codigo21.educacion.navarra.es\/recursos\/configuracion-para-lego-nxt-con-enchanting\/\" target=\"_blank\"><span style=\"font-weight: 400;\">robot LEGO NXT con firmware preparado para Enchanting<\/span><\/a><span style=\"font-weight: 400;\"> lo \u00fanico que tenemos que hacer para empezar a trabajar con Enchanting es instalar el controlador<\/span> <span style=\"font-weight: 400;\">LEGO&#8217;s Fantom Driver for the NXT<\/span> <span style=\"font-weight: 400;\">y, luego, instalar y configurar el programa.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Tanto el driver como el programa Enchanting est\u00e1 <\/span><b>disponible en castellano y en euskera para Windows, Mac OSX y Linux<\/b><span style=\"font-weight: 400;\"> en el <\/span><a href=\"http:\/\/enchanting.robotclub.ab.ca\/tiki-index.php\"><span style=\"font-weight: 400;\">siguiente enlace<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<figure id=\"attachment_897\" aria-describedby=\"caption-attachment-897\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/enchanting.robotclub.ab.ca\/tiki-index.php\" target=\"_blank\"><img loading=\"lazy\" class=\"wp-image-897 size-medium\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting01-300x248.png\" alt=\"P\u00e1gina de Enchanting\" width=\"300\" height=\"248\" srcset=\"https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting01-300x248.png 300w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting01-207x171.png 207w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting01.png 779w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-897\" class=\"wp-caption-text\">P\u00e1gina de Enchanting<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<h2><b>Instalaci\u00f3n del driver Fantom de LEGO NXT<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">En el supuesto de tener ya instalado el <\/span><a href=\"http:\/\/codigo21.educacion.navarra.es\/recursos\/software\/\" target=\"_blank\"><span style=\"font-weight: 400;\">software de LEGO Mindstorms NXT<\/span><\/a><span style=\"font-weight: 400;\"> ya tendr\u00edamos el driver instalado. Si no tenemos el driver instalado o no estamos seguros podemos seguir estos pasos para hacerlo:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">1. Bajamos hasta la <\/span><a style=\"line-height: 1.5;\" href=\"http:\/\/enchanting.robotclub.ab.ca\/tiki-index.php\" target=\"_blank\">zona de descargas<\/a><span style=\"font-weight: 400;\"> (<\/span><b style=\"line-height: 1.5;\"><i>Downloads<\/i><\/b><span style=\"font-weight: 400;\">) y, por ejemplo, para los equipos con sistema Windows podr\u00edamos descargarnos la \u00faltima versi\u00f3n del driver donde pone \u201c<\/span><b style=\"line-height: 1.5;\">LEGO\u2019s Fantom Driver for the NXT<\/b><span style=\"font-weight: 400;\">\u201d.<\/span><\/p>\n<figure id=\"attachment_893\" aria-describedby=\"caption-attachment-893\" style=\"width: 506px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/enchanting.robotclub.ab.ca\/tiki-index.php\" target=\"_blank\"><img loading=\"lazy\" class=\"size-full wp-image-893\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting02_1.png\" alt=\"Driver Fantom para Enchanting\" width=\"506\" height=\"189\" srcset=\"https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting02_1.png 506w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting02_1-300x112.png 300w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting02_1-370x138.png 370w\" sizes=\"(max-width: 506px) 100vw, 506px\" \/><\/a><figcaption id=\"caption-attachment-893\" class=\"wp-caption-text\">Driver Fantom para Enchanting<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">En la p\u00e1gina de descargas<\/span> <a href=\"http:\/\/www.lego.com\/es-es\/mindstorms\/downloads\" target=\"_blank\"><span style=\"font-weight: 400;\">oficial de LEGO Mindstorms<\/span><\/a><span style=\"font-weight: 400;\"> tambi\u00e9n tienen el mismo driver en el enlace \u201cDescargar el controlador NXT Fantom\u201d.<\/span><br \/>\n<span style=\"font-weight: 400;\">2. El driver se descargar\u00e1 en una carpeta comprimida en .zip, que habr\u00e1 que descomprimir para luego buscar el ejecutable. La instalaci\u00f3n es sencilla y no debiera plantear mayores problemas.<\/span><\/p>\n<figure id=\"attachment_891\" aria-describedby=\"caption-attachment-891\" style=\"width: 584px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting02_3.png\"><img loading=\"lazy\" class=\"size-full wp-image-891\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting02_3.png\" alt=\"Instalaci\u00f3n del driver\" width=\"584\" height=\"451\" srcset=\"https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting02_3.png 584w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting02_3-300x232.png 300w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting02_3-221x171.png 221w\" sizes=\"(max-width: 584px) 100vw, 584px\" \/><\/a><figcaption id=\"caption-attachment-891\" class=\"wp-caption-text\">Instalaci\u00f3n del driver<\/figcaption><\/figure>\n<p><span style=\"font-weight: 400;\">En el supuesto de que aparezca una pantalla como \u00e9sta y no nos deje continuar con la instalaci\u00f3n, podremos hacerlo manualmente entrando en la carpeta \u201cProducts\u201d y luego en la carpeta \u201cLEGO_NXT_Driver_32\u201d si nuestro sistema es de 32 bits o en la carpeta \u201cLEGO_NXT_Driver_64\u201d si es de 64 bits, y ejecutando el archivo con extensi\u00f3n .msi<\/span><\/p>\n<p><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/lego_enchanting_03.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-855\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/lego_enchanting_03.png\" alt=\"Lego Enchanting 03\" width=\"367\" height=\"169\" srcset=\"https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/lego_enchanting_03.png 367w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/lego_enchanting_03-300x138.png 300w\" sizes=\"(max-width: 367px) 100vw, 367px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/lego_enchanting_04.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-854\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/lego_enchanting_04.png\" alt=\"Lego Enchanting 04\" width=\"370\" height=\"98\" srcset=\"https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/lego_enchanting_04.png 370w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/lego_enchanting_04-300x79.png 300w\" sizes=\"(max-width: 370px) 100vw, 370px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2><b>Instalaci\u00f3n de Enchanting<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">1. Desde la <\/span><a style=\"font-size: 16px; line-height: 1.5;\" href=\"http:\/\/enchanting.robotclub.ab.ca\/tiki-index.php\" target=\"_blank\"><span style=\"font-weight: 400;\">p\u00e1gina de descargas de Enchanting<\/span><\/a><span style=\"font-weight: 400;\"> nuevamente podr\u00edamos descargarnos la \u00faltima versi\u00f3n haciendo clic en el enlace \u201c<\/span><b style=\"font-size: 16px; line-height: 1.5;\">Download Enchanting 0.2.4.3<\/b><span style=\"font-weight: 400;\">\u201d.<\/span><\/p>\n<figure id=\"attachment_892\" aria-describedby=\"caption-attachment-892\" style=\"width: 506px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/enchanting.robotclub.ab.ca\/tiki-index.php\" target=\"_blank\"><img loading=\"lazy\" class=\"size-full wp-image-892\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting02_2.png\" alt=\"Descarga de Enchanting\" width=\"506\" height=\"189\" srcset=\"https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting02_2.png 506w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting02_2-300x112.png 300w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting02_2-370x138.png 370w\" sizes=\"(max-width: 506px) 100vw, 506px\" \/><\/a><figcaption id=\"caption-attachment-892\" class=\"wp-caption-text\">Descarga de Enchanting<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Tienen una <\/span><a href=\"https:\/\/launchpad.net\/enchanting\/+download\" target=\"_blank\"><span style=\"font-weight: 400;\">p\u00e1gina de descargas alternativa<\/span><\/a><span style=\"font-weight: 400;\"> por si la anterior fallase.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">2. <\/span><b>La instalaci\u00f3n de Enchating es simple<\/b><span style=\"font-weight: 400;\"> y en pocas ventanas tendremos el programa preparado para lanzarse desde el <\/span><b>acceso directo que se crea en el escritorio<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<figure id=\"attachment_895\" aria-describedby=\"caption-attachment-895\" style=\"width: 503px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting03.png\"><img loading=\"lazy\" class=\"size-full wp-image-895\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting03.png\" alt=\"Instalaci\u00f3n Enchanting\" width=\"503\" height=\"393\" srcset=\"https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting03.png 503w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting03-300x234.png 300w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting03-219x171.png 219w\" sizes=\"(max-width: 503px) 100vw, 503px\" \/><\/a><figcaption id=\"caption-attachment-895\" class=\"wp-caption-text\">Instalaci\u00f3n Enchanting<\/figcaption><\/figure>\n<figure id=\"attachment_894\" aria-describedby=\"caption-attachment-894\" style=\"width: 119px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting04.jpg\"><img loading=\"lazy\" class=\"size-full wp-image-894\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting04.jpg\" alt=\"Icono Enchanting\" width=\"119\" height=\"102\" \/><\/a><figcaption id=\"caption-attachment-894\" class=\"wp-caption-text\">Icono Enchanting<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<h2><b>Configuraci\u00f3n inicial de Enchanting<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">La primera vez que abramos el programa tendremos que dar permiso al firewall de Windows. Normalmente con las opciones que vienen por defecto se puede continuar.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Ya tenemos Enchanting abierto, ahora debemos configurar los motores, los sensores e indicarle las caracter\u00edsticas de nuestro robot LEGO NXT para empezar a trabajar con \u00e9l.<\/span><\/p>\n<p><b>1. Configuraci\u00f3n de los motores.<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Hacemos clic en la opci\u00f3n \u201c<\/span><b>Motores<\/b><span style=\"font-weight: 400;\">\u201d y luego en el bot\u00f3n \u201c<\/span><b>Configurar motores<\/b><span style=\"font-weight: 400;\">\u201d y aparecer\u00e1 esta ventana.<\/span><\/p>\n<figure id=\"attachment_889\" aria-describedby=\"caption-attachment-889\" style=\"width: 529px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting05.png\"><img loading=\"lazy\" class=\"size-full wp-image-889\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting05.png\" alt=\"Configuraci\u00f3n motores Enchanting\" width=\"529\" height=\"352\" srcset=\"https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting05.png 529w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting05-300x200.png 300w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting05-257x171.png 257w\" sizes=\"(max-width: 529px) 100vw, 529px\" \/><\/a><figcaption id=\"caption-attachment-889\" class=\"wp-caption-text\">Configuraci\u00f3n motores Enchanting<\/figcaption><\/figure>\n<p><span style=\"font-weight: 400;\">Nos fijamos d\u00f3nde hemos conectado los motores en el microprocesador o ladrillo del LEGO NXT. En el ejemplo de la imagen, los motores se han conectado en los puertos B y C. <\/span><\/p>\n<figure id=\"attachment_883\" aria-describedby=\"caption-attachment-883\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting13.jpg\"><img loading=\"lazy\" class=\"wp-image-883 size-large\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting13-1024x768.jpg\" alt=\"Puertos de los motores\" width=\"1024\" height=\"768\" srcset=\"https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting13-1024x768.jpg 1024w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting13-300x225.jpg 300w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting13-228x171.jpg 228w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-883\" class=\"wp-caption-text\">Puertos de los motores<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Arrastramos el bloque azul \u201c<\/span><b>Controlar motor con codificador Motor NXT con nombre NXT motor<\/b><span style=\"font-weight: 400;\">\u201d debajo de los bloques \u201c<\/span><b>Puerto de motor B<\/b><span style=\"font-weight: 400;\">\u201d y \u201c<\/span><b>Puerto de motor C<\/b><span style=\"font-weight: 400;\">\u201d, coincidiendo con los puertos donde los tenemos conectados. Adem\u00e1s, podr\u00edamos cambiar el nombre a cada programa y quedar\u00eda como en la siguiente imagen:<\/span><\/p>\n<figure id=\"attachment_888\" aria-describedby=\"caption-attachment-888\" style=\"width: 695px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting06.png\"><img loading=\"lazy\" class=\"size-full wp-image-888\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting06.png\" alt=\"Configuraci\u00f3n motores para NXT\" width=\"695\" height=\"391\" srcset=\"https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting06.png 695w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting06-300x169.png 300w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting06-304x171.png 304w\" sizes=\"(max-width: 695px) 100vw, 695px\" \/><\/a><figcaption id=\"caption-attachment-888\" class=\"wp-caption-text\">Configuraci\u00f3n motores para NXT<\/figcaption><\/figure>\n<p><span style=\"font-weight: 400;\">Al aceptar la configuraci\u00f3n, en la opci\u00f3n \u201cMotores\u201d aparecer\u00e1n los bloques para controlar los motores del NXT.<\/span><\/p>\n<figure id=\"attachment_887\" aria-describedby=\"caption-attachment-887\" style=\"width: 245px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting07.png\"><img loading=\"lazy\" class=\"size-full wp-image-887\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting07.png\" alt=\"Bloques motores\" width=\"245\" height=\"324\" srcset=\"https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting07.png 245w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting07-227x300.png 227w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting07-129x171.png 129w\" sizes=\"(max-width: 245px) 100vw, 245px\" \/><\/a><figcaption id=\"caption-attachment-887\" class=\"wp-caption-text\">Bloques motores<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><strong>2. Configuraci\u00f3n de los sensores.<\/strong><\/p>\n<p><span style=\"font-weight: 400;\">El proceso ser\u00eda muy parecido al anterior, salvo que en este caso hay que ir a la opci\u00f3n \u201cSensores\u201d y configurar los sensores seg\u00fan su funcionalidad.<\/span><\/p>\n<figure id=\"attachment_886\" aria-describedby=\"caption-attachment-886\" style=\"width: 718px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting08.png\"><img loading=\"lazy\" class=\"size-full wp-image-886\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting08.png\" alt=\"Configuraci\u00f3n de los sensores\" width=\"718\" height=\"407\" srcset=\"https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting08.png 718w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting08-300x170.png 300w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting08-302x171.png 302w\" sizes=\"(max-width: 718px) 100vw, 718px\" \/><\/a><figcaption id=\"caption-attachment-886\" class=\"wp-caption-text\">Configuraci\u00f3n de los sensores<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><strong>3. Configuraci\u00f3n de nuestro modelo de robot.<\/strong><\/p>\n<p><span style=\"font-weight: 400;\">Antes de empezar a programar nuestro NXT con Enchanting, debemos especificar algunas de sus caracter\u00edsticas para que sus acciones sean m\u00e1s precisas. Para ello, entramos en \u201c<\/span><b>Manejando<\/b><span style=\"font-weight: 400;\">\u201d, y pulsamos en el bot\u00f3n \u201c<\/span><b>Configurar tipo de conducci\u00f3n<\/b><span style=\"font-weight: 400;\">\u201d.<\/span><\/p>\n<figure id=\"attachment_885\" aria-describedby=\"caption-attachment-885\" style=\"width: 244px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting09.png\"><img loading=\"lazy\" class=\"size-full wp-image-885\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting09.png\" alt=\"Configuraci\u00f3n de nuestro modelo de NXT\" width=\"244\" height=\"248\" srcset=\"https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting09.png 244w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting09-168x171.png 168w\" sizes=\"(max-width: 244px) 100vw, 244px\" \/><\/a><figcaption id=\"caption-attachment-885\" class=\"wp-caption-text\">Configuraci\u00f3n de nuestro modelo de NXT<\/figcaption><\/figure>\n<p><span style=\"font-weight: 400;\">Arrastramos el bloque rojo debajo del bloque \u201cTipo de conducci\u00f3n\u201d, y lo configuramos introduciendo los valores del di\u00e1metro de la rueda y la distancia entre centros de ruedas. El di\u00e1metro de las ruedas de los NXT viene serigrafiada en la propia rueda, y es de 56 mm. La distancia entre centros de ruedas es la distancia entre los centros de las dos ruedas y depende de cada modelo de robot NXT.<\/span><\/p>\n<figure id=\"attachment_884\" aria-describedby=\"caption-attachment-884\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting12.jpg\"><img loading=\"lazy\" class=\"wp-image-884 size-large\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting12-1024x768.jpg\" alt=\"Distancia entre centros de ruedas del modelo de C\u00f3digo 21\" width=\"1024\" height=\"768\" srcset=\"https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting12-1024x768.jpg 1024w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting12-300x225.jpg 300w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting12-228x171.jpg 228w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-884\" class=\"wp-caption-text\">Distancia entre centros de ruedas del modelo de C\u00f3digo 21<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">En el ejemplo de arriba, el <\/span><a href=\"http:\/\/codigo21.educacion.navarra.es\/recursos\/montaje-de-un-robot-lego\/\"><span style=\"font-weight: 400;\">modelo es el propuesto por C\u00f3digo 21<\/span><\/a><span style=\"font-weight: 400;\">, la distancia entre los centros de ruedas es de 16.5 cm.<\/span><\/p>\n<figure id=\"attachment_890\" aria-describedby=\"caption-attachment-890\" style=\"width: 191px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting10.png\"><img loading=\"lazy\" class=\"size-full wp-image-890\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting10.png\" alt=\"Configuraci\u00f3n tipo de conducci\u00f3n\" width=\"191\" height=\"190\" srcset=\"https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting10.png 191w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting10-150x150.png 150w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting10-100x100.png 100w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting10-172x171.png 172w\" sizes=\"(max-width: 191px) 100vw, 191px\" \/><\/a><figcaption id=\"caption-attachment-890\" class=\"wp-caption-text\">Configuraci\u00f3n tipo de conducci\u00f3n<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<h2><b>Nociones b\u00e1sicas de Enchanting<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Tenemos configurado Enchanting para trabajar con el NXT. Lo <\/span><b>conectamos con el cable USB<\/b><span style=\"font-weight: 400;\"> y en la esquina superior derecha se tienen que habilitar los iconos de la bandera verde, la flecha azul que apunta hacia arriba y el s\u00edmbolo rojo de stop.<\/span><\/p>\n<figure id=\"attachment_881\" aria-describedby=\"caption-attachment-881\" style=\"width: 234px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting14.png\"><img loading=\"lazy\" class=\"size-full wp-image-881\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting14.png\" alt=\"Iconos de Enchanting\" width=\"234\" height=\"139\" \/><\/a><figcaption id=\"caption-attachment-881\" class=\"wp-caption-text\">Iconos de Enchanting<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">En ocasiones la conexi\u00f3n no es instant\u00e1nea y hay que esperar un poco. Es mejor no precipitarse y quitar el USB o cerrar el programa porque sino podemos tardar m\u00e1s tiempo.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Con el NXT conectado, podemos comenzar a programar con Enchanting como si de Scratch o BYOB\/Snap! se tratara, arrastrando los bloques. <\/span><b>Los programas siempre deben comenzar con el bloque \u201cal presionar bardera verde\u201d de la opci\u00f3n de \u201cControl\u201d y terminar con el bloque \u201cdetener todo\u201d<\/b><span style=\"font-weight: 400;\">, de la misma pesta\u00f1a. <\/span><b>Es importante incluir siempre el bloque \u201cdetener todo\u201d <\/b><span style=\"font-weight: 400;\">porque sino nuestro robot podr\u00eda entrar en un bucle y tendr\u00edamos que desconectar manualmente la bater\u00eda.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Utilizando, adem\u00e1s de los anteriores, bloques de la opci\u00f3n \u201cManejando\u201d podr\u00edamos escribir un programa similar a \u00e9ste para que nuestro robot NXT trazara un cuadrado sobre una superficie.<\/span><\/p>\n<figure id=\"attachment_880\" aria-describedby=\"caption-attachment-880\" style=\"width: 181px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting15.png\"><img loading=\"lazy\" class=\"size-full wp-image-880\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting15.png\" alt=\"Programa trazado de un cuadrado\" width=\"181\" height=\"151\" \/><\/a><figcaption id=\"caption-attachment-880\" class=\"wp-caption-text\">Programa trazado de un cuadrado<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Para subir el programa, <\/span><b>encendemos el NXT con el bot\u00f3n naranja pulsamos en la flecha azul que apunta hacia arriba<\/b><span style=\"font-weight: 400;\"> y esperamos hasta que suene una melod\u00eda de finalizaci\u00f3n. Cuango lo haga, soltaremos el cable USB y podremos probar nuestro programa.<\/span><\/p>\n<figure id=\"attachment_882\" aria-describedby=\"caption-attachment-882\" style=\"width: 246px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting16.png\"><img loading=\"lazy\" class=\"size-full wp-image-882\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting16.png\" alt=\"Subir un programa al NXT\" width=\"246\" height=\"148\" \/><\/a><figcaption id=\"caption-attachment-882\" class=\"wp-caption-text\">Subir un programa al NXT<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Para ejecutar el programa debemos navegar en el panel del LEGO NXT hasta que aparezca \u201c<\/span><b>Files<\/b><span style=\"font-weight: 400;\">\u201d <\/span><b>y pulsar dos veces el bot\u00f3n naranja<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<figure id=\"attachment_879\" aria-describedby=\"caption-attachment-879\" style=\"width: 768px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting17.jpg\"><img loading=\"lazy\" class=\"wp-image-879 size-large\" src=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting17-768x1024.jpg\" alt=\"Bot\u00f3n naranja para ejecutar un programa en el NXT\" width=\"768\" height=\"1024\" srcset=\"https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting17-768x1024.jpg 768w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting17-225x300.jpg 225w, https:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/enchanting17-128x171.jpg 128w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/a><figcaption id=\"caption-attachment-879\" class=\"wp-caption-text\">Bot\u00f3n naranja para ejecutar un programa en el NXT<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/codigo21.educacion.navarra.es\/wp-content\/uploads\/2015\/10\/Primeros_pasos_con_Enchanting_y_LEGO_NXT.pdf\" target=\"_blank\">Descargar el documento en .PDF<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Con una interfaz similar a la de Scratch, Enchanting se puede utilizar con los robots Lego Mindstorms Education NXT que tienen instalado un firmware espec\u00edfico. En el Centro de Recursos de C\u00f3digo 21 contamos con varias unidades de este tipo de robots para el pr\u00e9stamo a los centros miembros de la Red de Centros [&hellip;]<\/p>\n","protected":false},"author":22,"featured_media":0,"parent":1621,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":""},"_links":{"self":[{"href":"https:\/\/codigo21.educacion.navarra.es\/eu\/wp-json\/wp\/v2\/pages\/1572"}],"collection":[{"href":"https:\/\/codigo21.educacion.navarra.es\/eu\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/codigo21.educacion.navarra.es\/eu\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/codigo21.educacion.navarra.es\/eu\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/codigo21.educacion.navarra.es\/eu\/wp-json\/wp\/v2\/comments?post=1572"}],"version-history":[{"count":0,"href":"https:\/\/codigo21.educacion.navarra.es\/eu\/wp-json\/wp\/v2\/pages\/1572\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/codigo21.educacion.navarra.es\/eu\/wp-json\/wp\/v2\/pages\/1621"}],"wp:attachment":[{"href":"https:\/\/codigo21.educacion.navarra.es\/eu\/wp-json\/wp\/v2\/media?parent=1572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}