{"id":6866,"date":"2020-04-21T11:35:00","date_gmt":"2020-04-21T09:35:00","guid":{"rendered":"https:\/\/blog.generationrobots.com\/?p=6866"},"modified":"2023-03-29T14:33:12","modified_gmt":"2023-03-29T12:33:12","slug":"build-a-carpet-gamepad-with-makey-makey","status":"publish","type":"post","link":"https:\/\/www.generationrobots.com\/blog\/en\/build-a-carpet-gamepad-with-makey-makey\/","title":{"rendered":"Build a gamepad mat with Makey Makey!"},"content":{"rendered":"\n<p>In this activity, you will build a giant gamepad, which you will control standing, with your feet! A fun way to do a bit of exercice!<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"846\" height=\"660\" src=\"https:\/\/blog.generationrobots.com\/wp-content\/uploads\/2020\/04\/Image_2.png\" alt=\"illustration of the activity to make a carpet gamepad using the Makey Makey robot\" class=\"wp-image-6807\" srcset=\"https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_2.png 846w, https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_2-300x234.png 300w, https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_2-768x599.png 768w\" sizes=\"(max-width: 846px) 100vw, 846px\" \/><\/figure>\n\n\n\n<p><strong>Age range: <\/strong>11-16 years (with the help of an adult for the youngest)<\/p>\n\n\n\n<p><strong>Difficulty :<\/strong> medium<\/p>\n\n\n\n<p><strong>Duration: <\/strong>120 minutes<\/p>\n\n\n\n<p><strong>Materials: <\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A Makey Makey kit (board + alligator clips)<\/li>\n\n\n\n<li>A computer with internet<\/li>\n\n\n\n<li>Some cardboard, cardboard and more cardboard! (corrugated fiberboard)<\/li>\n\n\n\n<li>Aluminum foil<\/li>\n\n\n\n<li>A glue stick<\/li>\n\n\n\n<li>Some 22AWG wire<\/li>\n\n\n\n<li>A cutter (or scissors) <\/li>\n\n\n\n<li>Sticky tape<\/li>\n\n\n\n<li>A ruler&#8230; as long as possible<\/li>\n\n\n\n<li>A pair of scissors<\/li>\n\n\n\n<li>A cutter<\/li>\n<\/ul>\n\n\n\n<p>Once built, you will be able to use your gamepad with any <a rel=\"noreferrer noopener\" href=\"https:\/\/scratch.mit.edu\/explore\/projects\/all\" target=\"_blank\">Scratch-encoded game<\/a> that is controlled from a computer keyboard. In this project, you will build some switches, learn what conductivity is and learn how to program with Scratch!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-instructions\">Instructions :<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-1\">Step 1<\/h3>\n\n\n\n<p>Cut three pieces of cardboard of the same size. They should be big enough for you to put your foot on them. 50cm x 30cm is a good size, if you don&rsquo;t a big enough piece of cardboard, it&rsquo;s not a big deal, it will work just as well! Ask an adult if you are too young.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"479\" height=\"359\" src=\"https:\/\/blog.generationrobots.com\/wp-content\/uploads\/2020\/04\/Image_3.png\" alt=\"illustration of step 1\" class=\"wp-image-6808\" srcset=\"https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_3.png 479w, https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_3-300x225.png 300w\" sizes=\"(max-width: 479px) 100vw, 479px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-2\">Step 2<\/h3>\n\n\n\n<p>Cut a first sheet of aluminium foil that is about the same width and length as the piece of cardboard you have just cut out (a sheet of aluminium foil is 30cm wide).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"479\" height=\"361\" src=\"https:\/\/blog.generationrobots.com\/wp-content\/uploads\/2020\/04\/Image_4.png\" alt=\"illustration of step 2\" class=\"wp-image-6809\" srcset=\"https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_4.png 479w, https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_4-300x226.png 300w\" sizes=\"(max-width: 479px) 100vw, 479px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-3\">Step 3<\/h3>\n\n\n\n<p>Glue the foil on the first cardboard (a glue stick will be perfect for that!).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"477\" height=\"358\" src=\"https:\/\/blog.generationrobots.com\/wp-content\/uploads\/2020\/04\/Image_5.png\" alt=\"illustration of step 3\" class=\"wp-image-6810\" srcset=\"https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_5.png 477w, https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_5-300x225.png 300w\" sizes=\"(max-width: 477px) 100vw, 477px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-4\">Step 4<\/h3>\n\n\n\n<p>Cut a first wire of at least 1m long (1m60 is a good length!), then strip it at both ends over 20cm. Don&rsquo;t hesitate to ask an adult for help. With some tape, attach the stripped part of the wire to the aluminium foil that you have just stuck on the cardboard. All the metal part of the wire must touch the aluminium foil (for the electricity to flow!).<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"480\" height=\"357\" src=\"https:\/\/blog.generationrobots.com\/wp-content\/uploads\/2020\/04\/Image_6.png\" alt=\"illustration of step 4\n\" class=\"wp-image-6811\" srcset=\"https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_6.png 480w, https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_6-300x223.png 300w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-5\">Step 5<\/h3>\n\n\n\n<p>Glue a second aluminium foil (of the same size) on top of the first one to cover the electric wire. The first half of your switch is ready!<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"479\" height=\"363\" src=\"https:\/\/blog.generationrobots.com\/wp-content\/uploads\/2020\/04\/Image_7.png\" alt=\"illustration of step 5\" class=\"wp-image-6812\" srcset=\"https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_7.png 479w, https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_7-300x227.png 300w\" sizes=\"(max-width: 479px) 100vw, 479px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-6\">Step 6<\/h3>\n\n\n\n<p>We will now make the second half of the switch. It&rsquo;s very easy, just repeat steps 1 to 5 with one of the pieces of cardboard you cut out at the beginning!<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"480\" height=\"360\" src=\"https:\/\/blog.generationrobots.com\/wp-content\/uploads\/2020\/04\/Image_8.png\" alt=\"illustration of step 6\" class=\"wp-image-6813\" srcset=\"https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_8.png 480w, https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_8-300x225.png 300w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-7\">Step 7<\/h3>\n\n\n\n<p>Cut out a frame in the third cardboard, with borders about 4cm thick. <\/p>\n\n\n\n<p>If it&rsquo;s difficult, you can cut out 4 strips of cardboard to make your frame:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>2 strips of 30cm x 4cm<\/li>\n\n\n\n<li>2 strips of 42cm x 4cm<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"480\" height=\"360\" src=\"https:\/\/blog.generationrobots.com\/wp-content\/uploads\/2020\/04\/Image_8-1.png\" alt=\"illustration of step 8\" class=\"wp-image-6819\" srcset=\"https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_8-1.png 480w, https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_8-1-300x225.png 300w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-8\">Step 8<\/h3>\n\n\n\n<p>Glue your frame to the first cardboard, on the aluminium side (if you use strips, glue them around the edge of the cardboard). Then glue the second cardboard on top. The sides of the cardboard with the aluminium foil must face each other. The first key of your controller is ready!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-9\">Step 9<\/h3>\n\n\n\n<p>Repeat steps 1 to 8 for the other keys. We advise you to make a total of 3 keys to play (left, right, jump).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"480\" height=\"480\" src=\"https:\/\/blog.generationrobots.com\/wp-content\/uploads\/2020\/04\/Image_10-2.png\" alt=\"illustration of step 9\" class=\"wp-image-6817\" srcset=\"https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_10-2.png 480w, https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_10-2-300x300.png 300w, https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_10-2-150x150.png 150w, https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_10-2-140x140.png 140w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-10\">Step 10<\/h3>\n\n\n\n<p>Connect the electrical wires to the alligator clips and connect these to your <strong>Makey Makey board<\/strong> (right, left, jump). Connect your board to your computer with the USB cable and start <a href=\"https:\/\/scratch.mit.edu\/projects\/86250621\/\" target=\"_blank\" rel=\"noreferrer noopener\">the following game<\/a>, coded with Scratch.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"475\" height=\"331\" src=\"https:\/\/blog.generationrobots.com\/wp-content\/uploads\/2020\/04\/Image_11.png\" alt=\"scratch code overview\" class=\"wp-image-6820\" srcset=\"https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_11.png 475w, https:\/\/www.generationrobots.com\/blog\/wp-content\/uploads\/2020\/04\/Image_11-300x209.png 300w\" sizes=\"(max-width: 475px) 100vw, 475px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-11\">Step 11<\/h3>\n\n\n\n<p>You can now modify this game, test your controller with other Scratch games, make more keys or create your own video game with Scratch!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this activity, you will build a giant gamepad, which you will control standing, with your feet! A fun way to do a bit of exercice! Age range: 11-16 years (with the help of an adult for the youngest) Difficulty : medium Duration: 120 minutes Materials: Once built, you will be able to use your[&#8230;]<br \/> <a class=\"button\" href=\"https:\/\/www.generationrobots.com\/blog\/en\/build-a-carpet-gamepad-with-makey-makey\/\" style=\"float:right;\">Read this article &gt;&gt;<\/a><\/p>\n","protected":false},"author":188,"featured_media":7003,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1132],"tags":[],"class_list":["post-6866","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-education-en"],"_links":{"self":[{"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/posts\/6866","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/users\/188"}],"replies":[{"embeddable":true,"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/comments?post=6866"}],"version-history":[{"count":8,"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/posts\/6866\/revisions"}],"predecessor-version":[{"id":12802,"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/posts\/6866\/revisions\/12802"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/media\/7003"}],"wp:attachment":[{"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/media?parent=6866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/categories?post=6866"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/tags?post=6866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}