Program your mBot to measure how far away objects are and walk around confidently.
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.
[{"id":77557,"node_id":"0","position":1,"comment":"","status":"1","deleted":"0","methodology_id":"36502","name":"Introduction","type_element":"2","context":"user_bp","object":null,"tool_name":"Introduction","tool_hash":"","graph_id":"38523","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":60842,"node_id":"51401","position":2,"comment":"","status":"1","deleted":"0","methodology_id":"36502","name":"Pantalla","type_element":"0","context":"user_bp","object":"null","tool_name":"Pantalla","tool_hash":"","graph_id":"38523","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":49452,"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 image so that they don't get in your way."},{"name":"main_image","value":"http://tumejorhora.com/embed/cfa22dbc427be85c2b82d45b66bca1506956825/Robots-para-ni%C3%B1os-mide-distancias-cloqq-Paso1.jpg"},{"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":10384},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":60843,"node_id":"50378","position":3,"comment":"","status":"1","deleted":"0","methodology_id":"36502","name":"Programar","type_element":"0","context":"user_bp","object":"null","tool_name":"Programar","tool_hash":"","graph_id":"38523","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":47391,"params":[{"name":"name_card","value":"Measure!"},{"name":"text_card","value":"First add an "infinite" loop so that the sensor is ALWAYS ready IF the button is pressed, and THEN program it so that it displays what the ultrasound sensor receives on the screen. <br><br>Remember that the sensor port and the screen should match the ones you're using on your mBot."},{"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":10241},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":60844,"node_id":"51399","position":4,"comment":"","status":"1","deleted":"0","methodology_id":"36502","name":"conectar","type_element":"0","context":"user_bp","object":"null","tool_name":"conectar","tool_hash":"","graph_id":"38523","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":49450,"params":[{"name":"name_card","value":"Connect your mBot"},{"name":"text_card","value":"Connect your mBot to the computer with a USB cable and copy the code from your computer 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":11372},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":60845,"node_id":"50377","position":5,"comment":"","status":"1","deleted":"0","methodology_id":"36502","name":"pasando el programa","type_element":"0","context":"user_bp","object":"null","tool_name":"pasando el programa","tool_hash":"","graph_id":"38523","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":47390,"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 "mBot Program" on the workspace. Click on "Upload to Arduino" and wait for it to download 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":11628},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":60846,"node_id":"51405","position":6,"comment":"","status":"1","deleted":"0","methodology_id":"36502","name":"prueba","type_element":"0","context":"user_bp","object":"null","tool_name":"prueba","tool_hash":"","graph_id":"38523","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":49453,"params":[{"name":"name_card","value":"Test your mBot"},{"name":"text_card","value":"Turn on your robot and make sure it works correctly."},{"name":"main_image","value":"http://tumejorhora.com/embed/d99100b390c4efc24283b7fca0c3d0c53e5f9d61496083102/bailar_prueba.jpg"},{"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":10277},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":61823,"node_id":"51402","position":7,"comment":"","status":"1","deleted":"0","methodology_id":"36502","name":"descarga","type_element":"0","context":"user_bp","object":"null","tool_name":"descarga","tool_hash":"","graph_id":"38523","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":47392,"params":[{"name":"name_card","value":"Download your code"},{"name":"text_card","value":"You can download the code you just created by selecting "File" from the top menu and clicking on "Save Project As." <br><br>Name your project, and you're ready to share or customize 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":11145},"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":"38523","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.