Program your mBot's plate to light up your room!
  • WHAT I NEED?

    1
    Accessories

    Cable USB type B

    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":84745,"node_id":"0","position":1,"comment":"","status":"1","deleted":"0","methodology_id":"33424","name":"Introducción","type_element":"2","context":"user_bp","object":null,"tool_name":"Introducción","tool_hash":"","graph_id":"33399","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":56699,"node_id":"46215","position":2,"comment":"","status":"1","deleted":"0","methodology_id":"33424","name":"Luces","type_element":"0","context":"user_bp","object":"null","tool_name":"Luces","tool_hash":"","graph_id":"33399","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":44273,"params":[{"name":"name_card","value":"Lights!"},{"name":"text_card","value":"Program the button and RGB LEDs on your mBot's plate: <br><br>-First add an "infinite" loop so that the lights stay on and change color WHENEVER you press the button. <br>-Now use an "if, then" conditional so that IF you press the button on the plate, THEN the RGB LEDs will light up in a random color. <br><br>The RGB LEDs work by combining different intensities of red, green, and blue to create different colors when these three colors mix. <br><br>0 is the minimum value (off), and 255 is the maximum. To do this, you need to use these values in the "Random number between 1 and 255" 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":11610},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":56700,"node_id":"46226","position":3,"comment":"","status":"1","deleted":"0","methodology_id":"33424","name":"OrdenadornOrdenador","type_element":"0","context":"user_bp","object":"null","tool_name":"OrdenadorOrdenador","tool_hash":"","graph_id":"33399","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":44284,"params":[{"name":"name_card","value":"Connect mBot"},{"name":"text_card","value":"Connect your mBot to the computer with a USB cable. <br><br>In this way, you can copy the programming you've created onto your 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":10556},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":56701,"node_id":"46220","position":4,"comment":"","status":"1","deleted":"0","methodology_id":"33424","name":"Carga","type_element":"0","context":"user_bp","object":"null","tool_name":"Carga","tool_hash":"","graph_id":"33399","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":44278,"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." Right-click the "mBot program" block on the workspace. <br><br>Click on "Upload to Arduino" and wait until it loads 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":11839},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":56702,"node_id":"46221","position":5,"comment":"","status":"1","deleted":"0","methodology_id":"33424","name":"PruebanRecorrido","type_element":"0","context":"user_bp","object":"null","tool_name":"PruebaRecorrido","tool_hash":"","graph_id":"33399","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":44279,"params":[{"name":"name_card","value":"Test your lamp"},{"name":"text_card","value":"Create a cone with an A4 sheet of onionskin paper. <br><br>Connect your plate to the batteries. <br><br>Place the lamp on top of the plate so that it covers the RGB LEDs but you can still press the button. <br><br>Press the button until you get the colors you want to light up your room."},{"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":10246},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":56703,"node_id":"46225","position":6,"comment":"","status":"1","deleted":"0","methodology_id":"33424","name":"descarga","type_element":"0","context":"user","object":"null","tool_name":"descarga","tool_hash":"","graph_id":"33399","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":44283,"params":[{"name":"name_card","value":"Download"},{"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 so that you can change it whenever 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":10002},"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":"33399","icon":"medal.png","id":0,"is_complete":0,"is_new":0,"name":"End_itinerary","node_id":1,"object":null,"position":7,"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.