Program your mBot board so that it warns you if it detects an intruder!
  • 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":74718,"node_id":0,"position":1,"comment":"","status":1,"deleted":0,"methodology_id":"33426","name":"Introducción","type_element":2,"context":"user_bp","object":null,"tool_name":"Introducción","tool_hash":"","graph_id":"33401","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":56713,"node_id":"46237","position":2,"comment":"","status":"1","deleted":"0","methodology_id":"33426","name":"Programa","type_element":"0","context":"user_bp","object":"null","tool_name":"Programa","tool_hash":"","graph_id":"33401","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":44295,"params":[{"name":"name_card","value":"Intruder!"},{"name":"text_card","value":"Program the ultrasonic sensor and buzzer to detect intruders. <br><br>First add a "FOREVER" loop so that the sensor is ALWAYS ready to detect something. <br><br>Add a "repeat until" loop to the infinite loop so that the buzzer doesn't stop going off until the intruder moves away from the sensor. You will indicate the exact distance in the 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":10088},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":56714,"node_id":"46238","position":3,"comment":"","status":"1","deleted":"0","methodology_id":"33426","name":"OrdenadornOrdenador","type_element":"0","context":"user_bp","object":"null","tool_name":"OrdenadorOrdenador","tool_hash":"","graph_id":"33401","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":44296,"params":[{"name":"name_card","value":"Connect mBot"},{"name":"text_card","value":"Connect your mBot to the computer with a USB cable. <br><br>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":10776},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":56715,"node_id":"46245","position":4,"comment":"","status":"1","deleted":"0","methodology_id":"33426","name":"Carga","type_element":"0","context":"user_bp","object":"null","tool_name":"Carga","tool_hash":"","graph_id":"33401","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":44303,"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>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":11853},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":56716,"node_id":"46240","position":5,"comment":"","status":"1","deleted":"0","methodology_id":"33426","name":"PruebanRecorrido","type_element":"0","context":"user_bp","object":"null","tool_name":"PruebaRecorrido","tool_hash":"","graph_id":"33401","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":44298,"params":[{"name":"name_card","value":"Test your alarm"},{"name":"text_card","value":"Put your alarm where you want it and call a friend or family member over to give them a good scare when it goes off!"},{"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":11847},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":56717,"node_id":"46246","position":6,"comment":"","status":"1","deleted":"0","methodology_id":"33426","name":"descarga","type_element":"0","context":"user","object":"null","tool_name":"descarga","tool_hash":"","graph_id":"33401","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":44304,"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":10016},"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":"33401","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"}]
  • 5 points
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.