This year, we're giving you another challenge besides eating the twelve grapes: Program your mBot so that it counts down to the new year with the LED matrix, lights, and movement.
  • WHAT I NEED?

    1
    Accessories

    Cable USB type B

    mBot screen

    2
    Software
    mBlock

    Mblock is a programming environment that uses blocks to create the code and is based on Scratch. This software makes Arduino programming and developing interactive apps something easy to do.

    3
    Materials

    AA batteries

  • START YOUR PROJECT!

    [{"id":71453,"node_id":"0","position":1,"comment":"","status":"1","deleted":"0","methodology_id":"39587","name":"Introducción","type_element":"2","context":"user_bp","object":null,"tool_name":"Introducción","tool_hash":"","graph_id":"39558","is_new":0,"arrows":[],"equivalence":false,"extra_data":"","timer":"0","comment_modal":"1","element":false,"type":"level_jump","icon":"medal.png","timetracking":null,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":63039,"node_id":"52477","position":2,"comment":"","status":"1","deleted":"0","methodology_id":"39587","name":"pon la pantalla","type_element":"0","context":"user_bp","object":"null","tool_name":"pon la pantalla","tool_hash":"","graph_id":"39558","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":50543,"params":[{"name":"name_card","value":"Set up the elements"},{"name":"text_card","value":"Program the screen to display the information received by the ultrasound sensor.<br><br>We recommend setting up the elements as shown in the video so that they don't get in your way."},{"name":"main_video","value":"<iframe allowfullscreen=""></iframe>"},{"name":"link_materials","value":"no"},{"name":"link_external","value":"no"}]},"type":"template","relationid":"41622","icon":"template.png","timetracking":{"estimated_time":"00:02:00","maximum_time":"00:05:00","minimum_time":"00:01:00","random":10639},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":62992,"node_id":"52435","position":3,"comment":"","status":"1","deleted":"0","methodology_id":"39587","name":"inicia fijando variable","type_element":"0","context":"user_bp","object":"null","tool_name":"inicia fijando variable","tool_hash":"","graph_id":"39558","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":50501,"params":[{"name":"name_card","value":"Countdown"},{"name":"text_card","value":"Create a variable for the time. A variable is memory space that can be changed, recovered, run, etc. For example, the variables in a video game are the lives and the score. <br><br>The count will START from 10 WHEN you press the button on the plate. <br><br>To do this, use the "wait until plate button pressed" block and the "set time at 10" block."},{"name":"main_video","value":"<iframe allowfullscreen=""></iframe>"},{"name":"link_materials","value":"no"},{"name":"link_external","value":"no"}]},"type":"template","relationid":"41622","icon":"template.png","timetracking":{"estimated_time":"00:02:00","maximum_time":"00:05:00","minimum_time":"00:01:00","random":11941},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":62993,"node_id":"52436","position":4,"comment":"","status":"1","deleted":"0","methodology_id":"39587","name":"Cuenta atrás","type_element":"0","context":"user_bp","object":"null","tool_name":"Cuenta atrás","tool_hash":"","graph_id":"39558","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":50502,"params":[{"name":"name_card","value":"Backward!"},{"name":"text_card","value":"Turn the variable into a countdown from 10 to 0, which will be displayed on your mBot's LED matrix. <br><br>Use a loop – conditional to make the countdown. <br><br>This way, the "time" variable you set at 10 will display the numbers on the LED matrix one by one until reaching the number 0, at which time the condition to leave the loop will be met. <br><br>Instead of 10, you can set the countdown from any number you want."},{"name":"main_video","value":"<iframe allowfullscreen=""></iframe>"},{"name":"link_materials","value":"no"},{"name":"link_external","value":"no"}]},"type":"template","relationid":"41622","icon":"template.png","timetracking":{"estimated_time":"00:02:00","maximum_time":"00:05:00","minimum_time":"00:01:00","random":11887},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":62994,"node_id":"52438","position":5,"comment":"","status":"1","deleted":"0","methodology_id":"39587","name":"movimiento y luces aleatorio","type_element":"0","context":"user_bp","object":"null","tool_name":"movimiento y luces aleatorio","tool_hash":"","graph_id":"39558","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":50504,"params":[{"name":"name_card","value":"Happy 2018!"},{"name":"text_card","value":"Greet the new year by displaying a 2018 on the screen and making your mBot dance. To do this, repeat a random light and motor pattern several times. <br><br>Use the following blocks to DISPLAY the drawing you're going to create on the screen. <br><br>Use a "REPEAT" block to turn on the LEDs and motors. You can make them light up randomly with the "random number between 1 and 255" block. <br><br>Add the last two blocks so that when the dance STOPS REPEATING, the LEDs TURN OFF and it stops moving."},{"name":"main_video","value":"<iframe allowfullscreen=""></iframe>"},{"name":"link_materials","value":"no"},{"name":"link_external","value":"no"}]},"type":"template","relationid":"41622","icon":"template.png","timetracking":{"estimated_time":"00:02:00","maximum_time":"00:05:00","minimum_time":"00:01:00","random":11663},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":62995,"node_id":"52441","position":6,"comment":"","status":"1","deleted":"0","methodology_id":"39587","name":"conecta","type_element":"0","context":"user_bp","object":"null","tool_name":"conecta","tool_hash":"","graph_id":"39558","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":50507,"params":[{"name":"name_card","value":"Connect the mBot"},{"name":"text_card","value":"Connect your mBot to the computer with a USB cable so that you can copy the programming you created to the robot."},{"name":"main_video","value":"<iframe allowfullscreen=""></iframe>"},{"name":"link_materials","value":"no"},{"name":"link_external","value":"no"}]},"type":"template","relationid":"41622","icon":"template.png","timetracking":{"estimated_time":"00:02:00","maximum_time":"00:05:00","minimum_time":"00:01:00","random":10663},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":62996,"node_id":"52440","position":7,"comment":"","status":"1","deleted":"0","methodology_id":"39587","name":"carga el programa","type_element":"0","context":"user_bp","object":"null","tool_name":"carga el programa","tool_hash":"","graph_id":"39558","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":50506,"params":[{"name":"name_card","value":"Load the program"},{"name":"text_card","value":"Select "Connect" from the mBlock menu and click on "COM" under "Serial Port." <br><br>Then right-click on the blue "mBot Program" block, click on "Upload to Arduino," and wait for the program to load 100%."},{"name":"main_video","value":"<iframe allowfullscreen=""></iframe>"},{"name":"link_materials","value":"no"},{"name":"link_external","value":"no"}]},"type":"template","relationid":"41622","icon":"template.png","timetracking":{"estimated_time":"00:02:00","maximum_time":"00:05:00","minimum_time":"00:01:00","random":10632},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":62997,"node_id":"52439","position":8,"comment":"","status":"1","deleted":"0","methodology_id":"39587","name":"prueba","type_element":"0","context":"user_bp","object":"null","tool_name":"prueba","tool_hash":"","graph_id":"39558","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":50505,"params":[{"name":"name_card","value":"Test it!"},{"name":"text_card","value":"Before it's time for the countdown, it's not too much to do a test run. <br><br>Try changing something and customize it to your liking!<br><br>"},{"name":"main_video","value":"<iframe allowfullscreen=""></iframe>"},{"name":"link_materials","value":"no"},{"name":"link_external","value":"no"}]},"type":"template","relationid":"41622","icon":"template.png","timetracking":{"estimated_time":"00:02:00","maximum_time":"00:05:00","minimum_time":"00:01:00","random":11588},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":62998,"node_id":"52437","position":9,"comment":"","status":"1","deleted":"0","methodology_id":"39587","name":"descarga tu proyecto","type_element":"0","context":"user_bp","object":"null","tool_name":"descarga tu proyecto","tool_hash":"","graph_id":"39558","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":50503,"params":[{"name":"name_card","value":"Save your project"},{"name":"text_card","value":"Select "File" from the menu and click on "Save project as." <br><br>Name it something you like to save the code you've made."},{"name":"main_video","value":"<iframe allowfullscreen=""></iframe>"},{"name":"link_materials","value":"no"},{"name":"link_external","value":"no"}]},"type":"template","relationid":"41622","icon":"template.png","timetracking":{"estimated_time":"00:02:00","maximum_time":"00:05:00","minimum_time":"00:01:00","random":10455},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"arrows":[],"comment":"End_itinerary_message","context":"bp","element":false,"equivalence":false,"graph_id":"39558","icon":"medal.png","id":0,"is_complete":0,"is_new":0,"name":"End_itinerary","node_id":1,"object":null,"position":10,"status":1,"timetracking":null,"tool_hash":"","tool_name":"End_itinerary","type":"level_jump","type_element":2,"timer":0,"comment_modal":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"}]
  • If you dare to explore new ideas this will not be the end of the activity.
CLOQQ’s activities have been designed and made by an experienced team in creative technologies. These activities must be made with the support and supervision of an adult.