Real races have real traffic lights! With Arduino, you can create one that will start you off. Remember: You have to wait until it turns green!
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":82965,"node_id":"0","position":1,"comment":"","status":"1","deleted":"0","methodology_id":"31364","name":"Introducción","type_element":"2","context":"user_bp","object":null,"tool_name":"Introducción","tool_hash":"","graph_id":"31340","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":54586,"node_id":"44082","position":2,"comment":"","status":"1","deleted":"0","methodology_id":"31364","name":"Circuito","type_element":"0","context":"user_bp","object":"null","tool_name":"Circuito","tool_hash":"","graph_id":"31340","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":42146,"params":[{"name":"name_card","value":"Start the circuit"},{"name":"text_card","value":"Connect the LEDs and the buzzer to the protoboard, using the image as a guide. <br><br>Now add the resistors, lining them up with the LEDs. <br><br>You have to make one of the tabs of the resistor line up with the short tab of the LED."},{"name":"main_image","value":"http://tumejorhora.com/embed/6edc5cf31fdfc6a13d7a2658bab8e709eb53cf41496081642/semaforo_comienza.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":10501},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":54587,"node_id":"44088","position":3,"comment":"","status":"1","deleted":"0","methodology_id":"31364","name":"LED","type_element":"0","context":"user_bp","object":"null","tool_name":"LED","tool_hash":"","graph_id":"31340","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":42152,"params":[{"name":"name_card","value":"Finish the circuit"},{"name":"text_card","value":"Use a jumper to connect the LED and buzzer tabs (Make sure they're not connected to the resistors) to the negative terminal of the protoboard. <br><br>Connect this negative terminal to the GND port of the Arduino board with another jumper. <br><br>Connect the free tab on the first LED's resistor to the 13 pin of the Arduino board with a cable.<br><br> Connect the one on the second LED's resistor to the 12 pin and the one on the third LED's resister to the 11 pin. <br><br>You have to connect the buzzer's positive tab to the 9 pin."},{"name":"main_image","value":"http://tumejorhora.com/embed/8cd4dc803601081410e85edee9a28fde8ad261496081593/semaforo_circuito.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":11019},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":54588,"node_id":"44085","position":4,"comment":"","status":"1","deleted":"0","methodology_id":"31364","name":"Conectando","type_element":"0","context":"user_bp","object":"null","tool_name":"Conectando","tool_hash":"","graph_id":"31340","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":42149,"params":[{"name":"name_card","value":"Connect the circuit"},{"name":"text_card","value":"Connect the computer to the Arduino board with a USB cable. <br><br>Now the computer and the board will start to "talk" to each other and share information."},{"name":"main_image","value":"http://tumejorhora.com/embed/54f16adf9137384fbd11ca028f1496081688/semaforo_conecta.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":11018},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":54589,"node_id":"44080","position":5,"comment":"","status":"1","deleted":"0","methodology_id":"31364","name":"Descargando","type_element":"0","context":"user_bp","object":"null","tool_name":"Descargando","tool_hash":"","graph_id":"31340","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":42144,"params":[{"name":"name_card","value":"Download mBlock"},{"name":"text_card","value":"Download mBlock. <br><br>You'll have to download a different version depending on what type of computer you have. <br><br>Follow the steps on the page. Don't forget to leave the CLOQQ window open to see your next steps!"},{"name":"main_image","value":"http://tumejorhora.com/embed/14f84250f2a2dff29a85725a9f38a5c7b6611496081550/robots_descarga.jpg"},{"name":"link_materials","value":"no"},{"name":"link_external","value":"yes"},{"name":"name_external_link","value":"Download mBlock"},{"name":"url_external_link","value":"http://www.mblock.cc/download/"}]},"type":"template","relationid":"41622","icon":"template.png","timetracking":{"estimated_time":"00:02:00","maximum_time":"00:05:00","minimum_time":"00:01:00","random":10262},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":54590,"node_id":"44089","position":6,"comment":"","status":"1","deleted":"0","methodology_id":"31364","name":"Cloqq - Horizontal Card","type_element":"0","context":"user","object":"","tool_name":"","tool_hash":"","graph_id":"31340","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":42153,"params":[{"name":"name_card","value":"Change boards!"},{"name":"text_card","value":"Change the default "mBot" board to the "Arduino Uno" board."},{"name":"main_video","value":"<div><iframe allowfullscreen=""></iframe></div>"},{"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":11138},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":54591,"node_id":"44083","position":7,"comment":"","status":"1","deleted":"0","methodology_id":"31364","name":"Programando","type_element":"0","context":"user_bp","object":"null","tool_name":"Programando","tool_hash":"","graph_id":"31340","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":42147,"params":[{"name":"name_card","value":"Your first LED"},{"name":"text_card","value":"Open mBlock. <br><br>Add the following blocks so that the first LED lights up when you press the green flag and the buzzer makes a short noise."},{"name":"main_video","value":"<div><iframe allowfullscreen=""></iframe></div>"},{"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":10198},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":54592,"node_id":"44086","position":8,"comment":"","status":"1","deleted":"0","methodology_id":"31364","name":"variable","type_element":"0","context":"user_bp","object":"null","tool_name":"variable","tool_hash":"","graph_id":"31340","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":42150,"params":[{"name":"name_card","value":"Program the rest of the LEDs"},{"name":"text_card","value":"Add new blocks to program the rest of the LEDs. You just have to repeat what you did in the previous step. <br><br>On the last "Wait" block, increase the time of the sound so that the buzzer lasts longer and indicates the start of the race."},{"name":"main_video","value":"<div><iframe allowfullscreen=""></iframe></div>"},{"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":11794},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":54593,"node_id":"44081","position":9,"comment":"","status":"1","deleted":"0","methodology_id":"31364","name":"encender","type_element":"0","context":"user_bp","object":"null","tool_name":"encender","tool_hash":"","graph_id":"31340","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":42145,"params":[{"name":"name_card","value":"End of the start!"},{"name":"text_card","value":"Complete you code by adding the following blocks to turn off the LEDs."},{"name":"main_video","value":"<div><iframe allowfullscreen=""></iframe></div>"},{"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":11320},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":54594,"node_id":"44078","position":10,"comment":"","status":"1","deleted":"0","methodology_id":"31364","name":"prueba","type_element":"0","context":"user","object":"null","tool_name":"prueba","tool_hash":"","graph_id":"31340","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":42142,"params":[{"name":"name_card","value":"Test the traffic light"},{"name":"text_card","value":"Now transfer the code to the Arduino board. For this, connect the COM port on the "Connect - serial port" menu. <br><br>Then make sure you've selected the "Arduino Uno" board on the "Boards" menu. <br><br>Click the "Arduino Program" block and then "Upload to Arduino." <br><br>Your program will run automatically when it's done uploading. If you want it to run again, press the "reset" button on your board."},{"name":"main_video","value":"<div><iframe allowfullscreen=""></iframe></div>"},{"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":10199},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":54595,"node_id":"44090","position":11,"comment":"","status":"1","deleted":"0","methodology_id":"31364","name":"descarga","type_element":"0","context":"user_bp","object":"null","tool_name":"descarga","tool_hash":"","graph_id":"31340","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":42154,"params":[{"name":"name_card","value":"Save your project"},{"name":"text_card","value":"Name and save your project so that you can change it whenever you want."},{"name":"main_video","value":"<div><iframe allowfullscreen=""></iframe></div>"},{"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":10891},"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":"31340","icon":"medal.png","id":0,"is_complete":0,"is_new":0,"name":"End_itinerary","node_id":1,"object":null,"position":12,"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.