{"id":259821,"date":"2026-07-13T17:15:56","date_gmt":"2026-07-13T14:15:56","guid":{"rendered":"https:\/\/1kitap1.com\/en\/essentials-of-arduino-boards-programming-farzin-asadi-1\/"},"modified":"2026-07-13T17:15:56","modified_gmt":"2026-07-13T14:15:56","slug":"essentials-of-arduino-boards-programming-farzin-asadi-1","status":"publish","type":"post","link":"https:\/\/1kitap1.com\/en\/essentials-of-arduino-boards-programming-farzin-asadi-1\/","title":{"rendered":"Essentials Of Arduino Boards Programming &#8211; Farzin Asadi (1)"},"content":{"rendered":"<figure style=\"text-align:center;margin:0 auto 1.5em;\"><img decoding=\"async\" src=\"https:\/\/1kitap1.com\/en\/wp-content\/uploads\/2026\/07\/55e39730c68739cd.jpg\" alt=\" - Unknown book cover\" style=\"max-width:300px;width:100%;height:auto;box-shadow:0 4px 12px rgba(0,0,0,.25);border-radius:4px;\"\/><\/figure>\n<p>The voltage drop that appears across the resistor linearly depends on the current passing through it. This technique has some disadvantages. There is a power dissipation in the resistor. The dissipated power increases the temperature of the sense resistor. The change of temperature changes the value of the sense resistor. Therefore, the I-V relation for this conversion technique may not be quite linear. Hall Effect sensors can be used to convert a current signal into a voltage signal as well.<\/p>\n<p>In this section, we will make an ammeter with the ACS712 current sensor. The ACS712 current sensor is a product of Allegro MicroSystems that can be used for precise measurement of both AC and DC currents. This sensor is based on the Hall Effect, and the IC has an integrated Hall Effect device. The breakout board of ACS712 is shown in Figure 3-16. Figure 3-16 ACS712 breakout board The breakout board shown in Figure 3-16 works with 5 V. The output of this sensor is half of the input voltage, that is, 2.5 V, when the input current is 0 A.<\/p>\n<p>Therefore, if you connect the output of the sensor to an analog pin of Arduino, something around 511\u2013512 must be read. The sensitivity and operating range of different models of ACS712 are shown in Table 3-1. For instance, when +1 A is passed through ACS712 ELC-30, its output changes to 2.5 + 0.066 = 2.566 V, and when \u20132 A is passed, the output voltage will be 2.5 \u2013 2 \u00d7 0.066 = 2.368 V.<\/p>\n<p>Table 3-1 Characteristics of different types of ACS712 ACS712 Model Operating Range Sensitivity 185 mV\/A 100 mV\/A 66 mV\/A Let\u2019s make a DC ammeter with this sensor. Upload the following code to the board. This code measures the current 50 times and displays the average of measured values.<\/p>\n<blockquote>\n<p>Jump start your path to discovery with the Apress Maker Innovations series! From the basics of electricity and components through to the most advanced options in robotics and Machine Learning, you\u2019ll forge a path to building ingenious hardware and controlling it with cutting-edge software. All while gaining new skills and experience with common toolsets you can take to new projects or even into a whole new career. The Apress Maker Innovations series offers projects-based learning, while keeping theory and best processes front and center.<\/p>\n<p>So you get hands- on experience while also learning the terms of the trade and how entrepreneurs, inventors, and engineers think through creating and executing hardware projects. You can learn to design circuits, program AI, create IoT systems for your home or even city, and so much more! Whether you\u2019re a beginning hobbyist or a seasoned entrepreneur working out of your basement or garage, you\u2019ll scale up your skillset to become a hardware design and engineering pro. And often using low-cost and open-source software such as the Raspberry Pi, Arduino, PIC microcontroller, and Robot Operating System (ROS).<\/p>\n<p>Programmers and software engineers have great opportunities to learn, too, as many projects and control environments are based in popular languages and operating systems, such as Python and Linux. If you want to build a robot, set up a smart home, tackle assembling a weather-ready meteorology system, or create a brand-new circuit using breadboards and circuit design software, this series has all that and more! Written by creative and seasoned Makers, every book in the series tackles both tested and leading-edge approaches and technologies for bringing your visions and projects to life.\u200b More information about this series at https:\/\/\u200blink.\u200bspringer.\u200bcom\/\u200b bookseries\/\u200b17311 Farzin Asadi Essentials of Arduino\u2122 Boards Programming Step-by-Step Guide to Master Arduino Boards Hardware and Software Farzin Asadi Department of Electrical and Electronics Engineering, Maltepe University, Istanbul, T\u00fcrkiye ISSN 2948-2542 e-ISSN 2948-2550 Maker Innovations Series ISBN 978-1-4842-9599-1 e-ISBN 978-1-4842-9600-4 https:\/\/doi.org\/10.1007\/978-1-4842-9600-4 \u00a9 Farzin Asadi 2023 This work is subject to copyright.<\/p>\n<\/blockquote>\n<p><em>This is a short excerpt from the opening of &ldquo;&rdquo; by Unknown, quoted for review and introduction purposes. All rights belong to the copyright holders.<\/em><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/1kitap1.com\/en\/essentials-of-arduino-boards-programming-farzin-asadi-1\/#Book_Information\" >Book Information<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/1kitap1.com\/en\/essentials-of-arduino-boards-programming-farzin-asadi-1\/#Reading_Word_Statistics\" >Reading &amp; Word Statistics<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/1kitap1.com\/en\/essentials-of-arduino-boards-programming-farzin-asadi-1\/#Most_Frequent_Words\" >Most Frequent Words<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/1kitap1.com\/en\/essentials-of-arduino-boards-programming-farzin-asadi-1\/#PDF_Download\" >PDF Download<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Book_Information\"><\/span>Book Information<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>Unique ID:<\/strong> 55e39730c68739cd<\/li>\n<li><strong>File Extension:<\/strong> .pdf<\/li>\n<li><strong>File Size:<\/strong> 37,580,688 bytes (35.84 MB)<\/li>\n<li><strong>Title:<\/strong> &#8211;<\/li>\n<li><strong>Author:<\/strong> Unknown<\/li>\n<li><strong>ISBN:<\/strong> 9781484295991, 9781484296004<\/li>\n<li><strong>Pages:<\/strong> 269<\/li>\n<li><strong>Language:<\/strong> English (en)<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Reading_Word_Statistics\"><\/span>Reading &amp; Word Statistics<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>Estimated Reading Time:<\/strong> 165.93 minutes<\/li>\n<li><strong>Total Words:<\/strong> 33,186<\/li>\n<li><strong>Total Characters:<\/strong> 220,181<\/li>\n<li><strong>Average Words per Page:<\/strong> 123.37<\/li>\n<li><strong>Average Characters per Page:<\/strong> 818.52<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Most_Frequent_Words\"><\/span>Most Frequent Words<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>serial (460), figure (406), code (376), arduino (342), digitalwrite (342), pin (280), led (244), println (242), high (239), void (229), board (220), output (214), low (188), int (182), setup (171), pins (157), example (157), string (155), put (148), run (144), shown (139), value (139), voltage (134), bit (130), delay (123), connected (120), pinmode (117), hardware (112), loop (108), motor (99), tccr (99), comparator (94), https (93), following (92), input (88), analog (87), timer (82), use (81), used (81), data (74), eeprom (74), control (73), key (73), signal (72), shows (71), interrupt (70), see (68), microcontroller (67), table (67), adc (67), main (67), monitor (67), uno (65), display (65), repeatedly (65), number (62), begin (62), lcd (61), digital (57), upload (54), connect (54), boards (53), between (53), pwm (53), com (52), two (51), frequency (49), reference (46), case (46), const (46), current (45), one (45), mode (44), button (44), open (43), bits (43), values (43), print (43), chapter (42), onboard (42), resistor (42), command (42), leds (41), keypad (41), result (41), circuit (40), external (40), internal (40), change (40), studied (40), variable (40), need (39), servo (39), builtin (39), define (39), str (39), uploading (38), order (38), byte (38), register (37).<\/p>\n<h2><span class=\"ez-toc-section\" id=\"PDF_Download\"><\/span>PDF Download<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align:center;\"><a href=\"https:\/\/1kitap1.com\/en\/wp-content\/uploads\/2026\/07\/essentials-of-arduino-boards-programming-farzin-asadi-1.pdf\" download rel=\"nofollow\" style=\"display:inline-block;background:#2271b1;color:#ffffff;padding:14px 36px;border-radius:6px;text-decoration:none;font-weight:bold;font-size:1.05em;\">&#11015;&#65039; PDF Download<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The voltage drop that appears across the resistor linearly depends on the current passing through it. This technique has some disadvantages. There is a power dissipation in the resistor. The dissipated power increases the temperature of the sense resistor. The change of temperature changes the value of the sense resistor. Therefore, the I-V relation for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":259819,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-259821","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-english"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/posts\/259821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/comments?post=259821"}],"version-history":[{"count":0,"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/posts\/259821\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/media\/259819"}],"wp:attachment":[{"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/media?parent=259821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/categories?post=259821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/tags?post=259821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}