Guard your friends' and your presents with this robot companion. Program it so that no one can get close to them until it's time to open them.
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.
[{"id":74660,"node_id":"0","position":1,"comment":"","status":"1","deleted":"0","methodology_id":"39589","name":"Introduction","type_element":"2","context":"user_bp","object":null,"tool_name":"Introduction","tool_hash":"","graph_id":"39560","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":63008,"node_id":"52449","position":2,"comment":"","status":"1","deleted":"0","methodology_id":"39589","name":"de izquierda a derecha","type_element":"0","context":"user_bp","object":"null","tool_name":"de izquierda a derecha","tool_hash":"","graph_id":"39560","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":50515,"params":[{"name":"name_card","value":"Don't let your guard down!"},{"name":"text_card","value":"Add an infinite loop so that mBot ALWAYS moves from left to right while keeping guard. <br><br>Remember to add a wait block between one movement and the next so that your mBot has enough time to change positions."},{"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":10912},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":63009,"node_id":"52450","position":3,"comment":"","status":"1","deleted":"0","methodology_id":"39589","name":"que mire","type_element":"0","context":"user_bp","object":"null","tool_name":"que mire","tool_hash":"","graph_id":"39560","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":50516,"params":[{"name":"name_card","value":"Make it see!"},{"name":"text_card","value":"Program the mBot using a conditional so that when it detects an object/person nearby, it moves toward it and scares it away so that the intruder doesn't get close to the presents. <br><br>The "if-then, if not" conditional will run the instructions you program when the condition is met. If it is not met, the mBot will have to keep watching. <br><br>With this code, mBot will ALWAYS keep watching, and IF the distance sensor detects something, THEN the mBot moves toward the object and plays a sound. <br><br>IF it does NOT detect anything, it must do what it did in the previous step: TURN to the left and the right to keep watching."},{"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":10090},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":63010,"node_id":"52453","position":4,"comment":"","status":"1","deleted":"0","methodology_id":"39589","name":"conecta el mBot","type_element":"0","context":"user_bp","object":"null","tool_name":"conecta el mBot","tool_hash":"","graph_id":"39560","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":50519,"params":[{"name":"name_card","value":"Connect your mBot"},{"name":"text_card","value":"Connect your mBot to your 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":11292},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":63011,"node_id":"52452","position":5,"comment":"","status":"1","deleted":"0","methodology_id":"39589","name":"Carga el programa","type_element":"0","context":"user_bp","object":"null","tool_name":"Carga el programa","tool_hash":"","graph_id":"39560","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":50518,"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 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":11580},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":63012,"node_id":"52451","position":6,"comment":"","status":"1","deleted":"0","methodology_id":"39589","name":"Prueba","type_element":"0","context":"user_bp","object":"null","tool_name":"Prueba","tool_hash":"","graph_id":"39560","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":50517,"params":[{"name":"name_card","value":"Test your security guard!"},{"name":"text_card","value":"Place your mBot with its back to your presents and try to get close to it. <br><br>Does it work? Your mBot is ready to protect all your presents! "},{"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":11841},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":63013,"node_id":"52454","position":7,"comment":"","status":"1","deleted":"0","methodology_id":"39589","name":"Guarda tu proyecto","type_element":"0","context":"user_bp","object":"null","tool_name":"Guarda tu proyecto","tool_hash":"","graph_id":"39560","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":50520,"params":[{"name":"name_card","value":"Download 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":11098},"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":"39560","icon":"medal.png","id":0,"is_complete":0,"is_new":0,"name":"End_itinerary","node_id":1,"object":null,"position":8,"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.