
{"id":3895,"date":"2018-05-28T17:08:34","date_gmt":"2018-05-28T17:08:34","guid":{"rendered":"http:\/\/dyor.roboticafacil.es\/?p=3895"},"modified":"2018-06-05T07:59:04","modified_gmt":"2018-06-05T07:59:04","slug":"instrucciones-matriz-leds-facilino","status":"publish","type":"post","link":"https:\/\/dyor.webs.upv.es\/en\/instrucciones-matriz-leds-facilino\/","title":{"rendered":"Instructions for 8&#215;8 LEDs matrix in Facilino"},"content":{"rendered":"<p>In this post, we explain the set of instructions available in Facilino to draw anything you want in 8&#215;8 LEDs matrix.<\/p>\n<p><!--more--><\/p>\n<h3>Available Instructions<\/h3>\n<p>Facilino has a set of instructions to draw different patterns in an 8&#215;8 LEDs matrix. All drawing instructions require the numbers of the CS, DIN and CLK pins where the LEDs matrix is connected to. In addition to this, they also need to specify the orientation:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3896 size-full\" src=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2018\/05\/led_matrix_orientation_bb.png\" alt=\"\" width=\"968\" height=\"323\" srcset=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2018\/05\/led_matrix_orientation_bb.png 968w, https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2018\/05\/led_matrix_orientation_bb-300x100.png 300w, https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2018\/05\/led_matrix_orientation_bb-768x256.png 768w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/><\/p>\n<h4>Predefined expressions<\/h4>\n<p>Predefined expressions can be used in DYOR robots using this electronic to show the robot&#8217;s <em>emotional state<\/em>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3897 size-full\" src=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2018\/05\/led_matrix_instruction1.png\" alt=\"\" width=\"201\" height=\"234\" \/><\/p>\n<h5>Ejemplo<\/h5>\n<p>In this example, we show the &#8220;Happy and &#8220;Angry&#8221; expressions in the LEDs matrix.<br \/>\n<iframe loading=\"lazy\" src=\"https:\/\/roboticafacil.es\/facilino\/blockly\/example.html?lang=en-GB&amp;proc=ArduinoNano&amp;example=dyor_predef_expression_example.bly\" width=\"500\" height=\"650\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"yes\"><\/iframe><\/p>\n<h4>Generic pattern drawing<\/h4>\n<p>The generic pattern drawing instruction allows you to draw anything you want in the LEDs matrix.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3898\" src=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2018\/05\/led_matrix_instruction2.png\" alt=\"\" width=\"203\" height=\"186\" \/><\/p>\n<h5>Example 1<\/h5>\n<p>In this example, we show a customized pattern in the LEDs matrix.<br \/>\n<iframe loading=\"lazy\" src=\"https:\/\/roboticafacil.es\/facilino\/blockly\/example.html?lang=en-GB&amp;proc=ArduinoNano&amp;example=led_matrix_tutorial_example2.bly\" width=\"650\" height=\"600\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"yes\"><\/iframe><\/p>\n<h5>Example 2<\/h5>\n<p>In this example, we show pre-defined icons in the LEDs matrix. In particular, we show icons relative to the battery level.<br \/>\n<iframe loading=\"lazy\" src=\"https:\/\/roboticafacil.es\/facilino\/blockly\/example.html?lang=en-GB&amp;proc=ArduinoNano&amp;example=led_matrix_tutorial_example3.bly\" width=\"500\" height=\"1100\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"yes\"><\/iframe><\/p>\n<h4>Show text flow<\/h4>\n<p>Text flow instruction allows you to write a text and animate it with a given delay (time in milliseconds between each column shift).<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3899\" src=\"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2018\/05\/led_matrix_instruction3.png\" alt=\"\" width=\"208\" height=\"233\" \/><\/p>\n<h5>Ejemplo<\/h5>\n<p>This example shows an example of the text flow instruction using the word &#8220;Facilino&#8221;.<br \/>\n<iframe loading=\"lazy\" src=\"https:\/\/roboticafacil.es\/facilino\/blockly\/example.html?lang=en-GB&amp;proc=ArduinoNano&amp;example=led_matrix_tutorial_example4.bly\" width=\"500\" height=\"400\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"yes\"><\/iframe><\/p>\n<h3>Video<\/h3>\n<p><a href=\"https:\/\/youtu.be\/AsM5wrCCqro\">https:\/\/youtu.be\/AsM5wrCCqro<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Sorry, this entry is only available in Espa\u00f1ol.<\/p>\n","protected":false},"author":1,"featured_media":3899,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[97],"tags":[],"class_list":["post-3895","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-facilino-tutorial"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/dyor.webs.upv.es\/wp-content\/uploads\/2018\/05\/led_matrix_instruction3.png","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3459,"url":"https:\/\/dyor.webs.upv.es\/en\/expresiones-basicas-matriz-leds\/","url_meta":{"origin":3895,"position":0},"title":"Showing Basic Expressions with LEDs Matrix","author":"soporte","date":"Friday April 27th, 2018","format":false,"excerpt":"In this post we show how to generate simple expressions with a 8x8 LEDs matrix max7219 to use with your DYOR robot and Facilino. Facilino has a simple instruction to create expressions with a 8x8 LEDs matrix max7219. This instruction requires Facilino's license. The aim is to show all predefined\u2026","rel":"","context":"In &quot;Facilino Ejemplo&quot;","block_context":{"text":"Facilino Ejemplo","link":"https:\/\/dyor.webs.upv.es\/en\/category\/programacion\/facilino\/facilino-ejemplo\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2018\/04\/led_matrix_example_green_key.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":3466,"url":"https:\/\/dyor.webs.upv.es\/en\/mostrando-texto-matriz-leds\/","url_meta":{"origin":3895,"position":1},"title":"Showing Text with the LEDs Matrix","author":"soporte","date":"Friday April 27th, 2018","format":false,"excerpt":"In this post we show how to show text with a 8x8 LEDs matrix max7219 to use with your DYOR robot and Facilino. Facilino has a simple instruction to show some text with a 8x8 LEDs matrix max7219. This instruction requires Facilino's license. The aim is to show the sentence\u2026","rel":"","context":"In &quot;Facilino Ejemplo&quot;","block_context":{"text":"Facilino Ejemplo","link":"https:\/\/dyor.webs.upv.es\/en\/category\/programacion\/facilino\/facilino-ejemplo\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2018\/04\/led_matrix_example_green_key.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":821,"url":"https:\/\/dyor.webs.upv.es\/en\/matriz-de-leds-8x8-max7219\/","url_meta":{"origin":3895,"position":2},"title":"8&#215;8 LEDs Matrix (Max7219)","author":"soporte","date":"Friday February 17th, 2017","format":false,"excerpt":"Learn how to use a 8x8 LEDs matrix (max7219). DYOR robot has a LEDs matrix to generate expressions (as a mouth). We describe it's working principle and examples of use with de uso con Facilino and Arduino. How does a LEDs matrix work? As in a mobile phone or computer\u2026","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/dyor.webs.upv.es\/en\/category\/electronica\/arduino\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2017\/02\/led_matrix3.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2017\/02\/led_matrix3.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2017\/02\/led_matrix3.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":3011,"url":"https:\/\/dyor.webs.upv.es\/en\/facilino-matriz-de-leds-y-pantalla-lcd\/","url_meta":{"origin":3895,"position":3},"title":"LED Matrix and LCD Screens in Facilino","author":"soporte","date":"Friday April  6th, 2018","format":false,"excerpt":"In this presentation we show some block programming instructions of Facilino to use a LED Matrix and LCD Screens. Presentation Video","rel":"","context":"In &quot;Facilino Tutorial&quot;","block_context":{"text":"Facilino Tutorial","link":"https:\/\/dyor.webs.upv.es\/en\/category\/programacion\/facilino\/facilino-tutorial\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1323,"url":"https:\/\/dyor.webs.upv.es\/en\/tinkercad-led-matrix\/","url_meta":{"origin":3895,"position":4},"title":"Dise\u00f1o TinkerCAD de la matriz de LEDs 8&#215;8 Max7219","author":"soporte","date":"Saturday March  4th, 2017","format":false,"excerpt":"Aprende a dise\u00f1ar un modelo simplificado de la matriz de LEDs 8x8 Max7219 para tu robot DYOR. A continuaci\u00f3n os mostraremos los pasos necesarios para dise\u00f1ar el m\u00f3dulo de la matriz de LEDs 8x8 Max7219 para vuestro robot DYOR. El modelo a dise\u00f1ar es un modelo simplificado para que f\u00e1cilmente\u2026","rel":"","context":"In &quot;tinkercad&quot;","block_context":{"text":"tinkercad","link":"https:\/\/dyor.webs.upv.es\/en\/category\/diseno\/tinkercad\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2017\/03\/ledmatrix_image.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":912,"url":"https:\/\/dyor.webs.upv.es\/en\/diseno-qcad-de-la-matriz-de-leds-8x8\/","url_meta":{"origin":3895,"position":5},"title":"QCAD Design of the 8&#215;8 LEDs matrix","author":"soporte","date":"Thursday February 23rd, 2017","format":false,"excerpt":"The purpose of this entry is to provide with a CAD design and the necessary steps to represent the 8x8 LEDs matrix of the robot. Our design aim is to obtain a CAD design for the 8x8 LEDs matrix including the module with the max7219. This module will be placed\u2026","rel":"","context":"In &quot;qcad&quot;","block_context":{"text":"qcad","link":"https:\/\/dyor.webs.upv.es\/en\/category\/diseno\/qcad\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2017\/02\/led_matrix_cad.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2017\/02\/led_matrix_cad.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dyor.webs.upv.es\/wp-content\/uploads\/2017\/02\/led_matrix_cad.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/posts\/3895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/comments?post=3895"}],"version-history":[{"count":7,"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/posts\/3895\/revisions"}],"predecessor-version":[{"id":3971,"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/posts\/3895\/revisions\/3971"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/media\/3899"}],"wp:attachment":[{"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/media?parent=3895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/categories?post=3895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dyor.webs.upv.es\/en\/wp-json\/wp\/v2\/tags?post=3895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}