>1h
+13
Use Raspberry Pi to create a fun game where you'll have to put your intuition to the test and work out which cup a lit-up LED is hidden under.
  • WHAT I NEED?

    1
    Accessories

    Micro USB cable

    2
    Materials

    Color LED

    Electric resistor

    Protoboard

    Jumper wires

  • START YOUR PROJECT!

    [{"id":74493,"node_id":0,"position":1,"comment":"","status":1,"deleted":0,"methodology_id":"25230","name":"Introducción","type_element":2,"context":"user_bp","object":null,"tool_name":"Introducción","tool_hash":"","graph_id":"25210","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":46542,"node_id":"35938","position":2,"comment":"","status":"1","deleted":"0","methodology_id":"25230","name":"resistencia","type_element":"0","context":"user_bp","object":"null","tool_name":"resistencia","tool_hash":"","graph_id":"25210","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":34057,"params":[{"name":"name_card","value":"Connect the resistors"},{"name":"text_card","value":"Connect three 220Ω resistors to the protoboard, just as you see in the picture."},{"name":"main_image","value":"http://tumejorhora.com/embed/b4e68c46914e5c4f02e64075544eab1496081163/adivina_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":11304},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":46543,"node_id":"35945","position":3,"comment":"","status":"1","deleted":"0","methodology_id":"25230","name":"LED","type_element":"0","context":"user_bp","object":"null","tool_name":"LED","tool_hash":"","graph_id":"25210","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":34064,"params":[{"name":"name_card","value":"Connect the LEDs"},{"name":"text_card","value":"We're going to use three LEDs in this project, but you can add more by following the same steps. <br><br>To create the LED circuit, connect two male-female cables to each LED; one on the positive side and another one on the negative side."},{"name":"main_image","value":"http://tumejorhora.com/embed/d11e9c236ddaefad6d8652a37de2a10deb1496081045/adivina_LEDs.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":10446},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":46544,"node_id":"35937","position":4,"comment":"","status":"1","deleted":"0","methodology_id":"25230","name":"calbe","type_element":"0","context":"user_bp","object":"null","tool_name":"calbe","tool_hash":"","graph_id":"25210","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":34056,"params":[{"name":"name_card","value":"Connect the protoboard"},{"name":"text_card","value":"Now, connect the LED circuits that you've just created to the resistors that are on the protoboard. <br><br>Make sure that it's the negative ends of the LEDs that are connected to the resistors."},{"name":"main_image","value":"http://tumejorhora.com/embed/49297c4484c1d792489ac011504fb8e049773f81496081348/adivina_protoboard.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":11242},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":46546,"node_id":"35944","position":5,"comment":"","status":"1","deleted":"0","methodology_id":"25230","name":"conecta","type_element":"0","context":"user_bp","object":"null","tool_name":"conecta","tool_hash":"","graph_id":"25210","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":34063,"params":[{"name":"name_card","value":"Connect the components"},{"name":"text_card","value":"To start programming, connect the micro-USB charger and the monitor to the Raspberry Pi. <br><br>As the board is starting up, some lines of text will appear on the screen when the operating system boots up."},{"name":"main_image","value":"http://tumejorhora.com/embed/5fab39b74e25fb8be9c35a79c13c5ae16761496081209/adivina_elementos.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":11210},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":46547,"node_id":"35948","position":6,"comment":"","status":"1","deleted":"0","methodology_id":"25230","name":"leds","type_element":"0","context":"user_bp","object":"null","tool_name":"leds","tool_hash":"","graph_id":"25210","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":34067,"params":[{"name":"name_card","value":"Connect the GPIOs"},{"name":"text_card","value":"The GPIOs are pins on the Raspberry Pi board that we can control and convert into components for either inputting or outputting information.<br><br>Connect the loose cables on the LEDs to the GPIOs numbered 14, 15 and 18 on the Raspberry Pi plate."},{"name":"main_image","value":"http://tumejorhora.com/embed/57feb5cd923b22f8a4368486f1496080995/adivina_GPIO.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":11593},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":46548,"node_id":"35942","position":7,"comment":"","status":"1","deleted":"0","methodology_id":"25230","name":"tierra","type_element":"0","context":"user","object":"null","tool_name":"tierra","tool_hash":"","graph_id":"25210","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":34061,"params":[{"name":"name_card","value":"Complete the circuit"},{"name":"text_card","value":"To end up, add a male-female cable next to the cable that comes from the negative part of each LED. <br><br>That way, you will connect each resistor to the Raspberry Pi board. <br><br>Add one more cable to connect the protoboard with the ground pin of the board."},{"name":"main_image","value":"http://tumejorhora.com/embed/2fd326a436089ff2bfe42be74d41e967ff891496081141/adivina_completa.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":11244},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":46549,"node_id":"35946","position":8,"comment":"","status":"1","deleted":"0","methodology_id":"25230","name":"programa","type_element":"0","context":"user_bp","object":"null","tool_name":"programa","tool_hash":"","graph_id":"25210","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":34065,"params":[{"name":"name_card","value":"Program the LEDs"},{"name":"text_card","value":"Open the version of Scratch that you have on your Raspberry Pi. <br>n<br>nRemember to activate the GPIO server before you begin programming. <br>n<br>nInto "Variables" click on "New variable" to create one to control the speed. <br>nFollow the image and create code that lets you randomly switch the LEDs' GPIOs on and off by sending messages. In this way, the speed will be faster each time so you can calculate where the LED will stay switch on."},{"name":"main_image","value":"http://tumejorhora.com/embed/7a062be6c9c82e7188248166775174a51711496081303/adivina_programa.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":11493},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":46550,"node_id":"35943","position":9,"comment":"","status":"1","deleted":"0","methodology_id":"25230","name":"prueba","type_element":"0","context":"user_bp","object":"null","tool_name":"prueba","tool_hash":"","graph_id":"25210","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":34062,"params":[{"name":"name_card","value":"Test your creation"},{"name":"text_card","value":"Check that your code is correct and that everything works as it should do. <br><br>Do the LEDs light up?"},{"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":10101},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":46552,"node_id":"35941","position":10,"comment":"","status":"1","deleted":"0","methodology_id":"25230","name":"agujeros","type_element":"0","context":"user_bp","object":"null","tool_name":"agujeros","tool_hash":"","graph_id":"25210","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":34060,"params":[{"name":"name_card","value":"Create the holes"},{"name":"text_card","value":"Take the lid from a cardboard box and make three holes in it so that you can insert the LEDs."},{"name":"main_image","value":"http://tumejorhora.com/embed/4cfd42c78cf0f2784238d86998cee150481a1496081093/adivina_agujeros.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":10013},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":46553,"node_id":"35947","position":11,"comment":"","status":"1","deleted":"0","methodology_id":"25230","name":"mete","type_element":"0","context":"user_bp","object":"null","tool_name":"mete","tool_hash":"","graph_id":"25210","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":34066,"params":[{"name":"name_card","value":"Insert the LEDs"},{"name":"text_card","value":"Now, pass the LEDs through the holes and make sure they stay stable."},{"name":"main_image","value":"http://tumejorhora.com/embed/276a5323f1d10391c7e5394ed040d073990b841496081257/adivina_introduce.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":10699},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":46554,"node_id":"35936","position":12,"comment":"","status":"1","deleted":"0","methodology_id":"25230","name":"juega","type_element":"0","context":"user_bp","object":"null","tool_name":"juega","tool_hash":"","graph_id":"25210","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":34055,"params":[{"name":"name_card","value":"Put yourself to the test"},{"name":"text_card","value":"Now that you've finished, cover the LEDs and press the green flag on Scratch. <br><br>Are you ready to put your skills to the test? <br><br>Could you add a counter and some buttons in your Scratch program so that you score points when you guess right?"},{"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":10542},"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":"25210","icon":"medal.png","id":0,"is_complete":0,"is_new":0,"name":"End_itinerary","node_id":1,"object":null,"position":13,"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"}]
  • Watch video
    15 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.