{"id":967,"date":"2023-09-03T20:45:06","date_gmt":"2023-09-03T20:45:06","guid":{"rendered":"https:\/\/pheenek.com\/me\/?p=967"},"modified":"2023-09-09T17:22:49","modified_gmt":"2023-09-09T17:22:49","slug":"getting-started-with-arduino","status":"publish","type":"post","link":"https:\/\/pheenek.com\/me\/2023\/09\/03\/getting-started-with-arduino\/","title":{"rendered":"Getting Started with Arduino"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">The Ramblings of an old man<\/h2>\n\n\n\n<p>In my years as a young boy, it came a time when I had to call myself to action. To stop procrastinating and just start! Be that as it may, I\u2019ve still put off writing this post for quite a while now.<br>You wanna know why?\u2026<br><br>I&#8217;ll take your silence as a &#8220;YES!&#8221; (a very enthusiastic one!)<br><br>This title is actually harder to write about than it looks\u2026 \ud83d\ude05<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">TL;DR<\/h2>\n\n\n\n<p>Arduino is awesome! You should fall for its allure!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Whetting your appetite<\/h2>\n\n\n\n<p>This is the first in a series of Arduino tutorials, where I take you from zero to perhaps around 50 percent (I\u2019m really trying being reasonably optimistic) of what you could know about Arduino and all<br>that you could do with the powers bestowed upon you by this cheap, open-source hardware prototyping platform. You may hear (or in this case read) that and think, \u201cWhoa! Whoa! Whoa! Slow down, dude from<br>the internet, who I don\u2019t know, who apparently wants to share what they know about \u2018this stuff\u2019 with me.\u201d Well, it may be a little too early to start dropping jargon on you. My hope, though, is to walk<\/p>\n\n\n\n<p><br>you through to a working understanding of what all these appalling words mean.<br><\/p>\n\n\n\n<p>While beginning the writing of this series, I\u2019m operating on certain assumptions:<br><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>I assume no technical expertise whatsoever in whoever happens to stumble upon this series and wants to learn from it.<\/li>\n\n\n\n<li>I assume that you have a burning interest in learning about technology and its inner workings, otherwise, why else would you be here?<\/li>\n\n\n\n<li>I assume that you have access to the internet, and the Google universe (or other search engine of your choice). I may overlook explaining some jargon from time to time, in which I encourage you to use these other resources at your disposal.<\/li>\n\n\n\n<li>I assume that you have gained access to this here, my archive of knowledge, out of your own will. Scream, or <a href=\"\" onclick=\"show_sheep()\">click here<\/a>, if you\u2019re here against your will.<\/li>\n<\/ul>\n\n\n\n<figure id=\"scream_img\" class=\"wp-block-image size-large hidden\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/pheenek.com\/me\/wp-content\/uploads\/2023\/09\/screaming_goat_large-1024x576.jpg\" alt=\"\" class=\"wp-image-997\" srcset=\"https:\/\/pheenek.com\/me\/wp-content\/uploads\/2023\/09\/screaming_goat_large-1024x576.jpg 1024w, https:\/\/pheenek.com\/me\/wp-content\/uploads\/2023\/09\/screaming_goat_large-300x169.jpg 300w, https:\/\/pheenek.com\/me\/wp-content\/uploads\/2023\/09\/screaming_goat_large-768x432.jpg 768w, https:\/\/pheenek.com\/me\/wp-content\/uploads\/2023\/09\/screaming_goat_large-800x450.jpg 800w, https:\/\/pheenek.com\/me\/wp-content\/uploads\/2023\/09\/screaming_goat_large.jpg 1346w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<style>.hidden {display: none;}<\/style>\n<script>function show_sheep(){document.getElementById(\"scream_img\").classList.remove(\"hidden\");}<\/script>\n\n\n\n<ul class=\"wp-block-list\">\n<li>And the biggest assumption of all is that you\u2019re a fellow life form, and not a robot from the future, trying to track my development of killer robots of the future! But if that\u2019s the case, bring it on!<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What is Arduino?<\/h2>\n\n\n\n<p>Well, that\u2019s a very good question, fellow life form on some other corner of the internet.<br>Have you ever thought of making a killer robot, a drone, a door that screams as a security measure, or just some other mundane thing like replacing the light bulb in your room with cool lights that change<br>colour based on the music playing in said room? You may be thinking, \u201cWell, that last one is oddly specific\u2026\u201d. By the end of this series, I\u2019ll show you my implementation of a cool (not low temperature) lighting system.<br>Well Arduino is the easiest way to begin on a trajectory that fulfils all these visions (again, quite optimistic since it\u2019s all possible).<\/p>\n\n\n\n<p>Below is an Arduino board, more specifically, an Arduino Uno:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/pheenek.com\/me\/wp-content\/uploads\/2023\/09\/arduino_uno_side.jpg\" alt=\"\" class=\"wp-image-994\" style=\"width:398px;height:398px\" width=\"398\" height=\"398\" srcset=\"https:\/\/pheenek.com\/me\/wp-content\/uploads\/2023\/09\/arduino_uno_side.jpg 500w, https:\/\/pheenek.com\/me\/wp-content\/uploads\/2023\/09\/arduino_uno_side-300x300.jpg 300w, https:\/\/pheenek.com\/me\/wp-content\/uploads\/2023\/09\/arduino_uno_side-150x150.jpg 150w\" sizes=\"(max-width: 398px) 100vw, 398px\" \/><figcaption class=\"wp-element-caption\">Arduino Uno R3 Development board<\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>What you see is a Printed Circuit Board, or PCB, which is designed for simplicity in development of hardware prototypes.<br>The Arduino board is usually used alongside the Arduino IDE (Integrated Development Environment), which is a computer software used in writing a program that tells the Arduino board what to do. The Arduino board is connected to the computer using a USB cable, through which the program is uploaded (transferred) to the board.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Arduino?<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It is inexpensive<\/li>\n\n\n\n<li>The Arduino IDE is cross-platform (can be used on any operating system)<\/li>\n\n\n\n<li>The Arduino IDE is easy to use for beginners<\/li>\n\n\n\n<li>Open source and extensible software and hardware (experienced programmers can expand the use of Arduino by creating extensions to the Arduino code without restriction &#8211; don\u2019t worry padawan, you\u2019ll get there)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What would it take?<\/h2>\n\n\n\n<p>Do you aspire to pluck the tasty fruits off this Arduino tree, from the garden of open source hardware. I\u2019ll let you in on a little secret. These are the very basic things you would require, your fruit-picking equipment if you will:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>First, and most importantly, the zeal and enthusiasm to learn.<\/li>\n\n\n\n<li>Second, you\u2019d require the Arduino IDE. You\u2019ll need to download and install the software, which is open source (that means it\u2019s completely free). You can easily acquire this by clicking&nbsp;<a href=\"https:\/\/www.arduino.cc\/en\/software\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a><\/li>\n\n\n\n<li>Third, you\u2019ll require a physical Arduino board. Just plug it into your computer and we\u2019ll get started!<\/li>\n\n\n\n<li>If you don\u2019t have an Arduino lying around, don\u2019t worry you won\u2019t entirely miss out (though honestly I would advise you to get one). You can just as easily access some of the resources required online, and for free! Which you can access via&nbsp;<a href=\"https:\/\/www.tinkercad.com\/learn\/circuits\" target=\"_blank\" rel=\"noreferrer noopener\">TinkerCad<\/a><\/li>\n\n\n\n<li>Also you\u2019ll need to hold on to your hats, and buckle up for fun. There are few things in this world that are as satisfying as seeing as your code is transformed into observable changes in the real world.<\/li>\n<\/ul>\n\n\n\n<p>In the next tutorial of the series, we\u2019ll be looking at setting up the Arduino IDE, and we can finally call ourselves Embedded Engineers! (Sounds awesome, right?) Well, we\u2019re just getting started!<\/p>\n\n\n\n<p>We\u2019ll end this tutorial with a fun fact:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Did you know?<\/h2>\n\n\n\n<p>Did you know that surveys indicate that 78% of all businesses which incorporate the use of software in their activities, are operating on open source software? Click&nbsp;<a href=\"https:\/\/wso2.com\/whitepapers\/the-business-value-of-open-source\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>&nbsp;to learn more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Ramblings of an old man In my years as a young boy, it came a time when I had to call myself to action. To stop procrastinating and just start! Be that as it may, I\u2019ve still put off writing this post for quite a while now.You wanna know why?\u2026 I&#8217;ll take your silence [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1012,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"both-sidebars","ocean_both_sidebars_style":"scs-style","ocean_both_sidebars_content_width":60,"ocean_both_sidebars_sidebars_width":20,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"9","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"enable","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[],"footnotes":""},"categories":[11],"tags":[12,13,14,15],"class_list":["post-967","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","tag-arduino","tag-arduino-uno","tag-iot","tag-programming","entry","has-media"],"_links":{"self":[{"href":"https:\/\/pheenek.com\/me\/wp-json\/wp\/v2\/posts\/967","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheenek.com\/me\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheenek.com\/me\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheenek.com\/me\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheenek.com\/me\/wp-json\/wp\/v2\/comments?post=967"}],"version-history":[{"count":11,"href":"https:\/\/pheenek.com\/me\/wp-json\/wp\/v2\/posts\/967\/revisions"}],"predecessor-version":[{"id":1014,"href":"https:\/\/pheenek.com\/me\/wp-json\/wp\/v2\/posts\/967\/revisions\/1014"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pheenek.com\/me\/wp-json\/wp\/v2\/media\/1012"}],"wp:attachment":[{"href":"https:\/\/pheenek.com\/me\/wp-json\/wp\/v2\/media?parent=967"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheenek.com\/me\/wp-json\/wp\/v2\/categories?post=967"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheenek.com\/me\/wp-json\/wp\/v2\/tags?post=967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}