{"id":47,"date":"2019-10-22T06:27:26","date_gmt":"2019-10-22T06:27:26","guid":{"rendered":"https:\/\/starthardware.org\/en\/?p=47"},"modified":"2019-10-22T06:27:27","modified_gmt":"2019-10-22T06:27:27","slug":"unit-4-our-first-circuit","status":"publish","type":"post","link":"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/","title":{"rendered":"Unit 4 \u2013 Our first Circuit"},"content":{"rendered":"\n<p>But now let\u2019s really build something. Take two LEDs, two long patch cables, a resistor, the breadboard and the Arduino and build the following circuit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Parts<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"551\" src=\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/10\/4_1_parts.gif\" alt=\"Arduino Kids first circuit part list\" class=\"wp-image-48\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Circuit<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"802\" src=\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/10\/4_5_stromkreis-1024x802.gif\" alt=\"Arduino Kids first circuit\" class=\"wp-image-49\" srcset=\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/10\/4_5_stromkreis-1024x802.gif 1024w, https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/10\/4_5_stromkreis-300x235.gif 300w, https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/10\/4_5_stromkreis-768x602.gif 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>If you now connect the Arduino with your computer the LED will light up. If not, check if you put in LED in the proper orientation. Current can only pass the LED in one direction. The longer leg (anode) needs to be connected to the plus pole, the shorter (cathode) to the minus. The connections of the Arduino are the power supply pins. The GND-Pin is like the minus pole of a battery, the 5V is like the plus pole. 5V means that the voltage at that pin is 5 volts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Part 2 \u2013 Extending with a button<\/h3>\n\n\n\n<p>Alright, but such a flash light would be a bit boring. It would just light until the batteries are empty. OK, the Arduino will not get empty but let\u2019s put in a button anyway. It doesn\u2019t matter where a circuit is opened and closed. So the button could be on the right or left side of the LED.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"797\" src=\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/10\/4_8_stromkreis-1024x797.gif\" alt=\"Arduino Kids first circuit with button\" class=\"wp-image-50\" srcset=\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/10\/4_8_stromkreis-1024x797.gif 1024w, https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/10\/4_8_stromkreis-300x234.gif 300w, https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/10\/4_8_stromkreis-768x598.gif 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now, the LED will only light up, if the button is pushed or the circuit is closed. But why do we need a resistor?<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Expert Knowledge: Resistor<\/h3>\n\n\n\n<p>The Arduino board provides 5V (volts). That is much too much for a LED and the resulting current would destroy the LED. To limit the current, we use a resistor. In that case it is a 220 Ohm resistor. The color rings show its value. If you want to know, how to decode the rings, check this site on Wikipedia:\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Electronic_color_code\">Electronic Color Code<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/starthardware.org\/wp-content\/uploads\/2014\/10\/4_91_widerstand_klein.png\"><img decoding=\"async\" src=\"https:\/\/starthardware.org\/wp-content\/uploads\/2014\/10\/4_91_widerstand_klein.png\" alt=\"220 ohms resistor\"\/><\/a><\/figure>\n\n\n\n<p>The 220 ohm resistor has the following color rings: red \u2013 red \u2013 brown \u2013 gold.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>But now let\u2019s really build something. Take two LEDs, two long patch cables, a resistor, the breadboard and the Arduino and build the following circuit. Parts Circuit If you now connect the Arduino with your computer the LED will light up. If not, check if you put in LED in the proper orientation. Current can&hellip;&nbsp;<a href=\"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Unit 4 \u2013 Our first Circuit<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":51,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[2],"tags":[],"class_list":["post-47","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Unit 4 \u2013 Our first Circuit - StartHardware - Tutorials for Arduino<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unit 4 \u2013 Our first Circuit - StartHardware - Tutorials for Arduino\" \/>\n<meta property=\"og:description\" content=\"But now let\u2019s really build something. Take two LEDs, two long patch cables, a resistor, the breadboard and the Arduino and build the following circuit. Parts Circuit If you now connect the Arduino with your computer the LED will light up. If not, check if you put in LED in the proper orientation. Current can&hellip;&nbsp;Read More &raquo;Unit 4 \u2013 Our first Circuit\" \/>\n<meta property=\"og:url\" content=\"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/\" \/>\n<meta property=\"og:site_name\" content=\"StartHardware - Tutorials for Arduino\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-22T06:27:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-10-22T06:27:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/10\/arduino-first-circuit.gif\" \/>\n\t<meta property=\"og:image:width\" content=\"1332\" \/>\n\t<meta property=\"og:image:height\" content=\"757\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/gif\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Stefan Hermann\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/starthardware.org\/en\/#website\",\"url\":\"https:\/\/starthardware.org\/en\/\",\"name\":\"StartHardware - Tutorials for Arduino\",\"description\":\"Arduino, Electronics, Fun\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/starthardware.org\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/10\/arduino-first-circuit.gif\",\"contentUrl\":\"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/10\/arduino-first-circuit.gif\",\"width\":1332,\"height\":757,\"caption\":\"Arduino Kids first circuit learning\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/#webpage\",\"url\":\"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/\",\"name\":\"Unit 4 \u2013 Our first Circuit - StartHardware - Tutorials for Arduino\",\"isPartOf\":{\"@id\":\"https:\/\/starthardware.org\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/#primaryimage\"},\"datePublished\":\"2019-10-22T06:27:26+00:00\",\"dateModified\":\"2019-10-22T06:27:27+00:00\",\"author\":{\"@id\":\"https:\/\/starthardware.org\/en\/#\/schema\/person\/811b16fabcbfeef4210ea79cf0990a59\"},\"breadcrumb\":{\"@id\":\"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/starthardware.org\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unit 4 \u2013 Our first Circuit\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/starthardware.org\/en\/#\/schema\/person\/811b16fabcbfeef4210ea79cf0990a59\",\"name\":\"Stefan Hermann\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/starthardware.org\/en\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5b5a74ee1d07024fd1eff9b1f7137108089169010a93afaee907b9325ee579a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5b5a74ee1d07024fd1eff9b1f7137108089169010a93afaee907b9325ee579a6?s=96&d=mm&r=g\",\"caption\":\"Stefan Hermann\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Unit 4 \u2013 Our first Circuit - StartHardware - Tutorials for Arduino","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/","og_locale":"en_US","og_type":"article","og_title":"Unit 4 \u2013 Our first Circuit - StartHardware - Tutorials for Arduino","og_description":"But now let\u2019s really build something. Take two LEDs, two long patch cables, a resistor, the breadboard and the Arduino and build the following circuit. Parts Circuit If you now connect the Arduino with your computer the LED will light up. If not, check if you put in LED in the proper orientation. Current can&hellip;&nbsp;Read More &raquo;Unit 4 \u2013 Our first Circuit","og_url":"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/","og_site_name":"StartHardware - Tutorials for Arduino","article_published_time":"2019-10-22T06:27:26+00:00","article_modified_time":"2019-10-22T06:27:27+00:00","og_image":[{"width":1332,"height":757,"url":"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/10\/arduino-first-circuit.gif","type":"image\/gif"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Stefan Hermann","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/starthardware.org\/en\/#website","url":"https:\/\/starthardware.org\/en\/","name":"StartHardware - Tutorials for Arduino","description":"Arduino, Electronics, Fun","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/starthardware.org\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/#primaryimage","inLanguage":"en-US","url":"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/10\/arduino-first-circuit.gif","contentUrl":"https:\/\/starthardware.org\/en\/wp-content\/uploads\/2019\/10\/arduino-first-circuit.gif","width":1332,"height":757,"caption":"Arduino Kids first circuit learning"},{"@type":"WebPage","@id":"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/#webpage","url":"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/","name":"Unit 4 \u2013 Our first Circuit - StartHardware - Tutorials for Arduino","isPartOf":{"@id":"https:\/\/starthardware.org\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/#primaryimage"},"datePublished":"2019-10-22T06:27:26+00:00","dateModified":"2019-10-22T06:27:27+00:00","author":{"@id":"https:\/\/starthardware.org\/en\/#\/schema\/person\/811b16fabcbfeef4210ea79cf0990a59"},"breadcrumb":{"@id":"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/starthardware.org\/en\/unit-4-our-first-circuit\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/starthardware.org\/en\/"},{"@type":"ListItem","position":2,"name":"Unit 4 \u2013 Our first Circuit"}]},{"@type":"Person","@id":"https:\/\/starthardware.org\/en\/#\/schema\/person\/811b16fabcbfeef4210ea79cf0990a59","name":"Stefan Hermann","image":{"@type":"ImageObject","@id":"https:\/\/starthardware.org\/en\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/5b5a74ee1d07024fd1eff9b1f7137108089169010a93afaee907b9325ee579a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5b5a74ee1d07024fd1eff9b1f7137108089169010a93afaee907b9325ee579a6?s=96&d=mm&r=g","caption":"Stefan Hermann"}}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/posts\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/comments?post=47"}],"version-history":[{"count":1,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/posts\/47\/revisions"}],"predecessor-version":[{"id":52,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/posts\/47\/revisions\/52"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/media\/51"}],"wp:attachment":[{"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/media?parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/categories?post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/starthardware.org\/en\/wp-json\/wp\/v2\/tags?post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}