{"appState":{"pageLoadApiCallsStatus":true},"categoryState":{"relatedCategories":{"headers":{"timestamp":"2025-04-17T16:01:05+00:00"},"categoryId":33516,"data":{"title":"Hardware","slug":"hardware","image":{"src":null,"width":0,"height":0},"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Computers","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33513"},"slug":"computers","categoryId":33513},{"name":"Hardware","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33516"},"slug":"hardware","categoryId":33516}],"parentCategory":{"categoryId":33513,"title":"Computers","slug":"computers","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33513"}},"childCategories":[{"categoryId":33517,"title":"Arduino","slug":"arduino","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33517"},"image":{"src":"/img/background-image-2.fabfbd5c.png","width":0,"height":0},"hasArticle":true,"hasBook":true,"articleCount":26,"bookCount":2},{"categoryId":33518,"title":"BeagleBone","slug":"beaglebone","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33518"},"image":{"src":"/img/background-image-1.daf74cf0.png","width":0,"height":0},"hasArticle":true,"hasBook":false,"articleCount":21,"bookCount":0},{"categoryId":33519,"title":"Raspberry Pi","slug":"raspberry-pi","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33519"},"image":{"src":"/img/background-image-2.fabfbd5c.png","width":0,"height":0},"hasArticle":true,"hasBook":true,"articleCount":36,"bookCount":3},{"categoryId":34380,"title":"General Hardware","slug":"general-hardware","_links":{"self":"https://dummies-api.dummies.com/v2/categories/34380"},"image":{"src":"/img/background-image-1.daf74cf0.png","width":0,"height":0},"hasArticle":true,"hasBook":true,"articleCount":21,"bookCount":4}],"description":"Want to dive into the nuts and bolts of computer hardware? You're in the right place. Check out these helpful articles on the physical side of computing.","relatedArticles":{"self":"https://dummies-api.dummies.com/v2/articles?category=33516&offset=0&size=5"},"hasArticle":true,"hasBook":true,"articleCount":104,"bookCount":9},"_links":{"self":"https://dummies-api.dummies.com/v2/categories/33516"}},"relatedCategoriesLoadedStatus":"success"},"listState":{"list":{"count":10,"total":104,"items":[{"headers":{"creationTime":"2016-03-26T14:42:53+00:00","modifiedTime":"2022-08-16T19:45:11+00:00","timestamp":"2022-09-14T18:19:56+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Computers","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33513"},"slug":"computers","categoryId":33513},{"name":"Hardware","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33516"},"slug":"hardware","categoryId":33516},{"name":"Arduino","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33517"},"slug":"arduino","categoryId":33517}],"title":"How to Complete Your First Arduino Sketch","strippedTitle":"how to complete your first arduino sketch","slug":"how-to-complete-your-first-arduino-sketch","canonicalUrl":"","seo":{"metaDescription":"Once you have the basics, you can now complete your first sketch. In front of you now should be an Arduino Uno R3, a USB cable, and a computer running your choi","noIndex":0,"noFollow":0},"content":"Once you have the basics, you can now complete your first sketch. In front of you now should be an Arduino Uno R3, a USB cable, and a computer running your choice of operating system (Windows, Mac OS, or Linux).\r\n<h2 id=\"tab1\" >Find the Blink Sketch</h2>\r\nTo make sure that the Arduino software is talking to the hardware, you upload a <i>sketch</i>. What is a sketch, you ask? Arduino was created as a device that allows people to quickly prototype and test ideas using little bits of code that demonstrate the idea — kind of like how you might sketch out an idea on paper.\r\n\r\nFor this reason, programs written for Arduino are referred to as sketches. Although a device for quick prototyping was its starting point, Arduino devices are being used for increasingly complex operations. So don't infer from the name <i>sketch</i> that an Arduino program is trivial in any way.\r\n\r\nThe specific sketch you want to use here is called Blink. It's about the most basic sketch you can write, a sort of “Hello, world!” for Arduino. Click in the Arduino window. From the menu bar, choose File→Examples→01.Basics→Blink.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381340.image0.jpg\" alt=\"image0.jpg\" width=\"533\" height=\"400\" />\r\n\r\nA new window opens in front of your blank sketch.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381341.image1.jpg\" alt=\"image1.jpg\" width=\"344\" height=\"400\" />\r\n<h2 id=\"tab2\" >Identify your board</h2>\r\nBefore you can upload the sketch, you need to check a few things. First you should confirm which board you have. You can choose from a variety of Arduino devices and several variations on the USB board. The latest generation of USB boards is the Uno R3.\r\n\r\nIf you bought your device new, you can be fairly certain that this is the type of board you have. To make doubly sure, check the back of the board. You should see details about the board's model.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381342.image2.jpg\" alt=\"image2.jpg\" width=\"535\" height=\"390\" />\r\n\r\nAlso worth checking is the ATMEL chip on the Arduino. The ATMEL chip is the brains of the Arduino and is similar to the processor in your computer. Because the Uno and earlier boards allow you to replace the chip, there is always a chance, especially with a used board, that the chip has been replaced with a different one.\r\n\r\nAlthough the ATMEL chip looks quite distinctive on an individual board, if you compare it to an older Arduino, telling them apart at first glance would be difficult. The important distinguishing feature is written on the surface of the chip. In this case, you are looking for ATmega328P-PU.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381343.image3.jpg\" alt=\"image3.jpg\" width=\"535\" height=\"357\" />\r\n<h2 id=\"tab3\" >Configure the software</h2>\r\nAfter you confirm the type of board you are using, you have to provide that information to the software. From the Arduino main menu bar (at the top of the Arduino window on Windows and at the top of the screen on Mac OS X), choose Tools→Board. You should see a list of the different kinds of boards supported by the Arduino software. Select your board from the list.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381344.image4.jpg\" alt=\"image4.jpg\" width=\"533\" height=\"400\" />\r\n\r\nNext, you need to select the serial port. The serial port is the connection that enables your computer and the Arduino device to communicate. <i>Serial</i> describes the way that data is sent, one bit of data (0 or 1) at a time. The <i>port</i> the physical interface, in this case a USB socket.\r\n\r\nTo determine the serial port, choose Tools→Serial Port. A list displays of devices connected to your computer. This list contains any device that can talk in serial, but for the moment, you're only interested in finding the Arduino.\r\n\r\nIf you've just installed Arduino and plugged it in, it should be at the top of the list. For OS X users, this is shown as <span class=\"code\">/dev/tty.usbmodemXXXXXX</span> (where XXXXXX is a randomly signed number). On Windows, the same is true, but the serial ports are named <span class=\"code\">COM1</span>, <span class=\"code\">COM2</span>, <span class=\"code\">COM3</span>, and so on. The highest number is usually the most recent device.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381345.image5.jpg\" alt=\"image5.jpg\" width=\"533\" height=\"400\" />\r\n\r\nAfter you find your serial port, select it. It should appear in the bottom right of the Arduino GUI, along with the board you selected.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381346.image6.jpg\" alt=\"image6.jpg\" width=\"344\" height=\"400\" />\r\n<h2 id=\"tab4\" >Upload the sketch</h2>\r\nNow that you have told the Arduino software what kind of board you are communicating with and which serial port connection it is using, you can upload the Blink sketch.\r\n\r\nFirst click the Verify button. Verify checks the code to make sure it makes sense. This doesn't necessarily mean your code will do what you are anticipating, but it verifies that the syntax is written in a way Arduino can understand. You should see a progress bar and the text <span class=\"code\">Compiling Sketch</span> for a few seconds, followed by the text <span class=\"code\">Done compiling</span> after the process has finished.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381347.image7.jpg\" alt=\"image7.jpg\" width=\"344\" height=\"400\" />\r\n\r\nIf the sketch compiled successfully, you can click the Upload button next to the verify button. A progress bar appears, and you see lots of activity on your board from the two LEDs marked RX and TX. These show that the Arduino is sending and receiving data. After a few seconds, the RX and TX LEDs stop blinking, and a <span class=\"code\">Done Uploading</span> message appears at the bottom of the window.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381348.image8.jpg\" alt=\"image8.jpg\" width=\"344\" height=\"400\" />\r\n\r\nYou should see the LED marked L blinking away reassuringly: on for a second, off for a second. If that is the case, give yourself a pat on the back. You've just uploaded your first piece of Arduino code and entered the world of physical computing!\r\n\r\nIf you don't see the blinking L, review the preceding steps. Make sure you have installed Arduino properly and then give it one more go. If you still don't see the blinking L, check out the excellent <a href=\"https://www.arduino.cc/en/Guide/Troubleshooting\" target=\"_blank\" rel=\"noopener\">troubleshooting page</a> on the official Arduino site.\r\n\r\nWithout breaking a sweat you've just uploaded your first sketch to an Arduino.","description":"Once you have the basics, you can now complete your first sketch. In front of you now should be an Arduino Uno R3, a USB cable, and a computer running your choice of operating system (Windows, Mac OS, or Linux).\r\n<h2 id=\"tab1\" >Find the Blink Sketch</h2>\r\nTo make sure that the Arduino software is talking to the hardware, you upload a <i>sketch</i>. What is a sketch, you ask? Arduino was created as a device that allows people to quickly prototype and test ideas using little bits of code that demonstrate the idea — kind of like how you might sketch out an idea on paper.\r\n\r\nFor this reason, programs written for Arduino are referred to as sketches. Although a device for quick prototyping was its starting point, Arduino devices are being used for increasingly complex operations. So don't infer from the name <i>sketch</i> that an Arduino program is trivial in any way.\r\n\r\nThe specific sketch you want to use here is called Blink. It's about the most basic sketch you can write, a sort of “Hello, world!” for Arduino. Click in the Arduino window. From the menu bar, choose File→Examples→01.Basics→Blink.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381340.image0.jpg\" alt=\"image0.jpg\" width=\"533\" height=\"400\" />\r\n\r\nA new window opens in front of your blank sketch.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381341.image1.jpg\" alt=\"image1.jpg\" width=\"344\" height=\"400\" />\r\n<h2 id=\"tab2\" >Identify your board</h2>\r\nBefore you can upload the sketch, you need to check a few things. First you should confirm which board you have. You can choose from a variety of Arduino devices and several variations on the USB board. The latest generation of USB boards is the Uno R3.\r\n\r\nIf you bought your device new, you can be fairly certain that this is the type of board you have. To make doubly sure, check the back of the board. You should see details about the board's model.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381342.image2.jpg\" alt=\"image2.jpg\" width=\"535\" height=\"390\" />\r\n\r\nAlso worth checking is the ATMEL chip on the Arduino. The ATMEL chip is the brains of the Arduino and is similar to the processor in your computer. Because the Uno and earlier boards allow you to replace the chip, there is always a chance, especially with a used board, that the chip has been replaced with a different one.\r\n\r\nAlthough the ATMEL chip looks quite distinctive on an individual board, if you compare it to an older Arduino, telling them apart at first glance would be difficult. The important distinguishing feature is written on the surface of the chip. In this case, you are looking for ATmega328P-PU.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381343.image3.jpg\" alt=\"image3.jpg\" width=\"535\" height=\"357\" />\r\n<h2 id=\"tab3\" >Configure the software</h2>\r\nAfter you confirm the type of board you are using, you have to provide that information to the software. From the Arduino main menu bar (at the top of the Arduino window on Windows and at the top of the screen on Mac OS X), choose Tools→Board. You should see a list of the different kinds of boards supported by the Arduino software. Select your board from the list.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381344.image4.jpg\" alt=\"image4.jpg\" width=\"533\" height=\"400\" />\r\n\r\nNext, you need to select the serial port. The serial port is the connection that enables your computer and the Arduino device to communicate. <i>Serial</i> describes the way that data is sent, one bit of data (0 or 1) at a time. The <i>port</i> the physical interface, in this case a USB socket.\r\n\r\nTo determine the serial port, choose Tools→Serial Port. A list displays of devices connected to your computer. This list contains any device that can talk in serial, but for the moment, you're only interested in finding the Arduino.\r\n\r\nIf you've just installed Arduino and plugged it in, it should be at the top of the list. For OS X users, this is shown as <span class=\"code\">/dev/tty.usbmodemXXXXXX</span> (where XXXXXX is a randomly signed number). On Windows, the same is true, but the serial ports are named <span class=\"code\">COM1</span>, <span class=\"code\">COM2</span>, <span class=\"code\">COM3</span>, and so on. The highest number is usually the most recent device.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381345.image5.jpg\" alt=\"image5.jpg\" width=\"533\" height=\"400\" />\r\n\r\nAfter you find your serial port, select it. It should appear in the bottom right of the Arduino GUI, along with the board you selected.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381346.image6.jpg\" alt=\"image6.jpg\" width=\"344\" height=\"400\" />\r\n<h2 id=\"tab4\" >Upload the sketch</h2>\r\nNow that you have told the Arduino software what kind of board you are communicating with and which serial port connection it is using, you can upload the Blink sketch.\r\n\r\nFirst click the Verify button. Verify checks the code to make sure it makes sense. This doesn't necessarily mean your code will do what you are anticipating, but it verifies that the syntax is written in a way Arduino can understand. You should see a progress bar and the text <span class=\"code\">Compiling Sketch</span> for a few seconds, followed by the text <span class=\"code\">Done compiling</span> after the process has finished.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381347.image7.jpg\" alt=\"image7.jpg\" width=\"344\" height=\"400\" />\r\n\r\nIf the sketch compiled successfully, you can click the Upload button next to the verify button. A progress bar appears, and you see lots of activity on your board from the two LEDs marked RX and TX. These show that the Arduino is sending and receiving data. After a few seconds, the RX and TX LEDs stop blinking, and a <span class=\"code\">Done Uploading</span> message appears at the bottom of the window.\r\n\r\n<img src=\"https://www.dummies.com/wp-content/uploads/381348.image8.jpg\" alt=\"image8.jpg\" width=\"344\" height=\"400\" />\r\n\r\nYou should see the LED marked L blinking away reassuringly: on for a second, off for a second. If that is the case, give yourself a pat on the back. You've just uploaded your first piece of Arduino code and entered the world of physical computing!\r\n\r\nIf you don't see the blinking L, review the preceding steps. Make sure you have installed Arduino properly and then give it one more go. If you still don't see the blinking L, check out the excellent <a href=\"https://www.arduino.cc/en/Guide/Troubleshooting\" target=\"_blank\" rel=\"noopener\">troubleshooting page</a> on the official Arduino site.\r\n\r\nWithout breaking a sweat you've just uploaded your first sketch to an Arduino.","blurb":"","authors":[{"authorId":9682,"name":"John Nussey","slug":"john-nussey","description":" \t <p><b>John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9682"}}],"primaryCategoryTaxonomy":{"categoryId":33517,"title":"Arduino","slug":"arduino","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33517"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}},{"articleId":284787,"title":"What Your Society Says About You","slug":"what-your-society-says-about-you","categoryList":["academics-the-arts","humanities"],"_links":{"self":"/articles/284787"}}],"inThisArticle":[{"label":"Find the Blink Sketch","target":"#tab1"},{"label":"Identify your board","target":"#tab2"},{"label":"Configure the software","target":"#tab3"},{"label":"Upload the sketch","target":"#tab4"}],"relatedArticles":{"fromBook":[],"fromCategory":[{"articleId":258607,"title":"What You Should Know about Arduino Sensors: Using Capacitive Sensors","slug":"what-you-should-know-about-arduino-sensors-using-capacitive-sensors","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258607"}},{"articleId":258604,"title":"10 Awesome Arduino Resources","slug":"10-awesome-arduino-resources","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258604"}},{"articleId":258598,"title":"Finding and Browsing Arduino Libraries","slug":"finding-and-browsing-arduino-libraries","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258598"}},{"articleId":258590,"title":"An Overview of Arduino Shields","slug":"an-overview-of-arduino-shields","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258590"}},{"articleId":258583,"title":"How to Assemble an Arduino Shield","slug":"how-to-assemble-an-arduino-shield","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258583"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":0,"slug":null,"isbn":null,"categoryList":null,"amazon":null,"image":null,"title":null,"testBankPinActivationLink":null,"bookOutOfPrint":false,"authorsInfo":null,"authors":null,"_links":null},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;arduino&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[null]}]\" id=\"du-slot-63221b4c099d2\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;arduino&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[null]}]\" id=\"du-slot-63221b4c0a47a\"></div></div>"},"articleType":{"articleType":"Articles","articleList":null,"content":null,"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Explore","lifeExpectancy":"One year","lifeExpectancySetFrom":"2022-07-20T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":164747},{"headers":{"creationTime":"2018-12-21T16:18:10+00:00","modifiedTime":"2022-07-20T14:28:54+00:00","timestamp":"2022-09-14T18:19:46+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Computers","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33513"},"slug":"computers","categoryId":33513},{"name":"Hardware","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33516"},"slug":"hardware","categoryId":33516},{"name":"Arduino","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33517"},"slug":"arduino","categoryId":33517}],"title":"Finding and Browsing Arduino Libraries","strippedTitle":"finding and browsing arduino libraries","slug":"finding-and-browsing-arduino-libraries","canonicalUrl":"","seo":{"metaDescription":"Basic Arduino sketches can get you quite a long way, but when you become more advanced you need to know about libraries. Libraries provide extra functionality t","noIndex":0,"noFollow":0},"content":"Basic Arduino sketches can get you quite a long way, but when you become more advanced you need to know about libraries. <em>Libraries</em> provide extra functionality to your Arduino sketch, either to use specific hardware or to incorporate more complex functions in software. In the same way that you’d go to a physical library to learn something new, you include libraries in your code to teach your Arduino something new. By including a library in a sketch, you can quickly and easily access functions to help you achieve your goals.\r\n\r\nGetting started with complex hardware or software can be difficult. Luckily, a lot of people have taken the time to document their progress and have released libraries, often with examples, that you can easily integrate into your own Arduino sketches. From this, it’s possible to get something working and gain a better understanding of it. This learn-by-doing approach of Arduino allows you to make a lot of progress quickly and easily with hardware or software that would otherwise be a huge challenge.\r\n<h2 id=\"tab1\" >Standard Arduino libraries</h2>\r\nStandard Arduino libraries refers to a selection of the libraries included in the current release of Arduino at the time of writing (1.8.5). The standard libraries cover a wide range of subject areas and are usually popular topics that have been heavily documented. You can find these libraries by choosing Sketch →   Include Library →   Manage Libraries.\r\n\r\nChoosing a library includes one line at the top of your current sketch, such as <code>#include &lt;EEPROM.h&gt;</code>. Before you attempt to understand a library, you should try an example of it. You'll find examples at the bottom of the menu that appears at when you choose File →   Examples.\r\n\r\nHere is a brief description of what each Arduino library does:\r\n<ul>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/EEPROM\" target=\"_blank\" rel=\"noopener\">EEPROM</a>:</strong> Your Arduino has electronically erasable programmable read-only memory (EEPROM), which is permanent storage similar to the hard drive in a computer. Data stored in this location stays there even if your Arduino is powered down. Using the EEPROM library, you can read from and write to this memory.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/Ethernet\" target=\"_blank\" rel=\"noopener\">Ethernet</a>:</strong> After you have your Ethernet shield, the Ethernet library allows you to quickly and easily start talking to the Internet. When you use this library, your Arduino can act either as a server that is accessible to other devices or as a client that requests data.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/Firmata\" target=\"_blank\" rel=\"noopener\">Firmata</a>:</strong> Firmata is one way to control your Arduino from software on a computer. It is a standard communication protocol, so you can use the library to allow easy communication between hardware and software rather than write your own communication software.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/LiquidCrystal\" target=\"_blank\" rel=\"noopener\">LiquidCrystal</a>:</strong> The LiquidCrystal library helps your Arduino talk to most liquid crystal displays (LCDs). The library is based on the Hitachi HD44780 driver, and you can usually identify these displays by their 16-pin interface.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/SD\" target=\"_blank\" rel=\"noopener\">SD</a>:</strong> The SD library allows you to read from and write to SD and microSD cards connected to your Arduino. SD cards need to use SPI to transfer data quickly, which happens on pins 11, 12, and 13. You also need to have another pin to select the SD card when it’s needed.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/Servo\" target=\"_blank\" rel=\"noopener\">Servo</a>:</strong> The Servo library allows you to control up to 12 servo motors on the Uno R3 (and up to 48 on the Mega). Most hobby servos turn 180 degrees, and using this library, you can specify the degree that you want your servo(s) to turn to.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/SPI\" target=\"_blank\" rel=\"noopener\">SPI</a>:</strong> The Serial Peripheral Interface (SPI) is a method of communication that allows your Arduino to communicate very quickly with one or more devices over a short distance. Example of this communication include receiving data from sensors, talking to peripherals such as an SD card reader, and communicating with another microcontroller.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/SoftwareSerial\" target=\"_blank\" rel=\"noopener\">SoftwareSerial</a>:</strong> The SoftwareSerial library allows you to use any digital pins to send and receive serial messages instead of, or in addition to, the usual hardware pins (0 and 1). This capability is great if you want to keep the hardware pins free for communication to a computer, allowing you to have a permanent debug connection to your project while still being able to upload new sketches or to send duplicate data to multiple serial devices.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/Stepper\" target=\"_blank\" rel=\"noopener\">Stepper</a>:</strong> The Stepper library allows you to control stepper motors from your Arduino. This code also requires the appropriate hardware to work, so make sure to read <a href=\"https://www.tigoe.com/pcomp/code/circuits/motors/stepper-motors/\">Tom Igoe’s notes on the subject</a>.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/WiFi\" target=\"_blank\" rel=\"noopener\">Wi-Fi</a>:</strong> The WiFi library is based on the Ethernet library listed previously, but with alterations specific to the Wi-Fi shield to allow you to wirelessly connect to the Internet. The WiFi library also works well with the SD library, allowing you to store data on the shield.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/Wire\" target=\"_blank\" rel=\"noopener\">Wire</a>:</strong> The Wire library allows your Arduino to communicate with I2C devices (also known as TWI, or two-wire interface). Such devices could be addressable LEDs or a Wii Nunchuk, for example.</li>\r\n</ul>\r\n<h2 id=\"tab2\" >Additional Arduino libraries</h2>\r\nMany libraries aren’t included in the Arduino software by default. Some libraries are for unique applications such as specific hardware or functions; others are refinements or adaptations of existing libraries. Luckily, Arduino makes including these easy, so you can quickly try them all to see which are right for your needs.\r\n\r\nMost libraries are easily installed by choosing Sketch →   Include Library →   Manage Libraries from the Arduino IDE menu. The Library Manager dialog box displays an easily searchable list of libraries submitted to the Arduino servers and approved for release.\r\n\r\nLibraries may also be distributed as ZIP files that have the same name as the library; for example, the capacitive sensing library CapSense should be distributed as <code>CapSense.zip</code> and should contain a folder of the same name when unzipped.\r\n\r\nInside the folder there are files ending in <code>.h</code> and <code>.cpp</code>, such as <code>CapPin.h</code> and <code>CapPin.cpp</code>, and maybe even an Examples folder. If your <code>.zip</code> file contains only loose <code>.h</code> and <code>.cpp</code> files, you should place them in a folder with a library name. Sometimes you may find many <code>.h</code> and <code>.cpp</code> files that all perform different functions in the library, so make sure they're all inside the folder.\r\n\r\nIn the latest release of Arduino (1.8.5 at the time of this writing), it’s easy to include libraries distributed as ZIP files. Simply choose Sketch →   Include Library →   Add .ZIP Library and select the ZIP file containing the library.\r\n\r\nAfter the library is installed, restart Arduino and choose Sketch →   Include Library to check that your library is in the list.\r\n\r\n[caption id=\"attachment_258599\" align=\"aligncenter\" width=\"535\"]<img class=\"wp-image-258599 size-full\" src=\"https://www.dummies.com/wp-content/uploads/arduino-libraries-menu.jpg\" alt=\"Arduino libraries menu\" width=\"535\" height=\"334\" /> The Arduino menu shows the library in the Import Library drop-down list.[/caption]\r\n\r\n \r\n\r\nIf the library has an Examples folder, you should also be able to see the examples by choosing File →   Examples and then choosing the name of the library.\r\n\r\n[caption id=\"attachment_258600\" align=\"aligncenter\" width=\"535\"]<img class=\"wp-image-258600 size-full\" src=\"https://www.dummies.com/wp-content/uploads/arduino-library-examples.jpg\" alt=\"Arduino library examples\" width=\"535\" height=\"334\" /> If there are examples with the library, you'll see them in the menu.[/caption]\r\n\r\n \r\n\r\nThat’s all there is to installing a library. Removing a library is as simple: just take the library folder out of the Arduino Sketch folder.\r\n<h2 id=\"tab3\" >Contributed Arduino libraries</h2>\r\nA long list of community-contributed libraries appears on the <a href=\"https://www.arduino.cc/reference/en/libraries/\" target=\"_blank\" rel=\"noopener\">Arduino libraries page</a> and an exhaustive list appears on the <a href=\"http://www.arduino.cc/playground/Main/LibraryList\" target=\"_blank\" rel=\"noopener\">Arduino Playground</a>.\r\n\r\nTo become familiar with contributed libraries, start with CapSense and TimerOne, two commonly used and helpful libraries:\r\n<ul>\r\n \t<li><strong><a href=\"https://playground.arduino.cc/Main/CapacitiveSensor/\" target=\"_blank\" rel=\"noopener\">CapSense</a>:</strong> The CapSense library allows you to make one or many pins on your Arduino into capacitive sensors. This feature allows you to make simple touch, pressure, or presence detection sensors quickly and easily with little hardware.</li>\r\n</ul>\r\n<p style=\"padding-left: 30px;\">The Arduino Playground page has a lot of useful information, but a more recent version of the code can be found on <a href=\"http://www.github.com/moderndevice/CapSense\" target=\"_blank\" rel=\"noopener\">GitHub</a>.</p>\r\n\r\n<ul>\r\n \t<li><strong><a href=\"https://www.arduino.cc/reference/en/libraries/timerone/\" target=\"_blank\" rel=\"noopener\">TimerOne</a>:</strong> TimerOne (also called Timer1) uses a hardware timer on your Arduino to perform timed events at regular intervals. It’s a great library for reading sensor data regularly without interrupting what’s going on in the main loop. You can find a TimerOne page on the Arduino Playground and an up-to-date version of the library on <a href=\"https://code.google.com/archive/p/arduino-timerone/downloads\" target=\"_blank\" rel=\"noopener\">Google Code</a>.</li>\r\n</ul>\r\nIf you’re keen to understand libraries more and maybe even write your own, check out the introduction to writing your own libraries on the <a href=\"https://github.com/arduino/library-registry/blob/main/FAQ.md#readme\" target=\"_blank\" rel=\"noopener\">Arduino GitHub page</a>.","description":"Basic Arduino sketches can get you quite a long way, but when you become more advanced you need to know about libraries. <em>Libraries</em> provide extra functionality to your Arduino sketch, either to use specific hardware or to incorporate more complex functions in software. In the same way that you’d go to a physical library to learn something new, you include libraries in your code to teach your Arduino something new. By including a library in a sketch, you can quickly and easily access functions to help you achieve your goals.\r\n\r\nGetting started with complex hardware or software can be difficult. Luckily, a lot of people have taken the time to document their progress and have released libraries, often with examples, that you can easily integrate into your own Arduino sketches. From this, it’s possible to get something working and gain a better understanding of it. This learn-by-doing approach of Arduino allows you to make a lot of progress quickly and easily with hardware or software that would otherwise be a huge challenge.\r\n<h2 id=\"tab1\" >Standard Arduino libraries</h2>\r\nStandard Arduino libraries refers to a selection of the libraries included in the current release of Arduino at the time of writing (1.8.5). The standard libraries cover a wide range of subject areas and are usually popular topics that have been heavily documented. You can find these libraries by choosing Sketch →   Include Library →   Manage Libraries.\r\n\r\nChoosing a library includes one line at the top of your current sketch, such as <code>#include &lt;EEPROM.h&gt;</code>. Before you attempt to understand a library, you should try an example of it. You'll find examples at the bottom of the menu that appears at when you choose File →   Examples.\r\n\r\nHere is a brief description of what each Arduino library does:\r\n<ul>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/EEPROM\" target=\"_blank\" rel=\"noopener\">EEPROM</a>:</strong> Your Arduino has electronically erasable programmable read-only memory (EEPROM), which is permanent storage similar to the hard drive in a computer. Data stored in this location stays there even if your Arduino is powered down. Using the EEPROM library, you can read from and write to this memory.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/Ethernet\" target=\"_blank\" rel=\"noopener\">Ethernet</a>:</strong> After you have your Ethernet shield, the Ethernet library allows you to quickly and easily start talking to the Internet. When you use this library, your Arduino can act either as a server that is accessible to other devices or as a client that requests data.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/Firmata\" target=\"_blank\" rel=\"noopener\">Firmata</a>:</strong> Firmata is one way to control your Arduino from software on a computer. It is a standard communication protocol, so you can use the library to allow easy communication between hardware and software rather than write your own communication software.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/LiquidCrystal\" target=\"_blank\" rel=\"noopener\">LiquidCrystal</a>:</strong> The LiquidCrystal library helps your Arduino talk to most liquid crystal displays (LCDs). The library is based on the Hitachi HD44780 driver, and you can usually identify these displays by their 16-pin interface.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/SD\" target=\"_blank\" rel=\"noopener\">SD</a>:</strong> The SD library allows you to read from and write to SD and microSD cards connected to your Arduino. SD cards need to use SPI to transfer data quickly, which happens on pins 11, 12, and 13. You also need to have another pin to select the SD card when it’s needed.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/Servo\" target=\"_blank\" rel=\"noopener\">Servo</a>:</strong> The Servo library allows you to control up to 12 servo motors on the Uno R3 (and up to 48 on the Mega). Most hobby servos turn 180 degrees, and using this library, you can specify the degree that you want your servo(s) to turn to.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/SPI\" target=\"_blank\" rel=\"noopener\">SPI</a>:</strong> The Serial Peripheral Interface (SPI) is a method of communication that allows your Arduino to communicate very quickly with one or more devices over a short distance. Example of this communication include receiving data from sensors, talking to peripherals such as an SD card reader, and communicating with another microcontroller.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/SoftwareSerial\" target=\"_blank\" rel=\"noopener\">SoftwareSerial</a>:</strong> The SoftwareSerial library allows you to use any digital pins to send and receive serial messages instead of, or in addition to, the usual hardware pins (0 and 1). This capability is great if you want to keep the hardware pins free for communication to a computer, allowing you to have a permanent debug connection to your project while still being able to upload new sketches or to send duplicate data to multiple serial devices.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/Stepper\" target=\"_blank\" rel=\"noopener\">Stepper</a>:</strong> The Stepper library allows you to control stepper motors from your Arduino. This code also requires the appropriate hardware to work, so make sure to read <a href=\"https://www.tigoe.com/pcomp/code/circuits/motors/stepper-motors/\">Tom Igoe’s notes on the subject</a>.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/WiFi\" target=\"_blank\" rel=\"noopener\">Wi-Fi</a>:</strong> The WiFi library is based on the Ethernet library listed previously, but with alterations specific to the Wi-Fi shield to allow you to wirelessly connect to the Internet. The WiFi library also works well with the SD library, allowing you to store data on the shield.</li>\r\n \t<li><strong><a href=\"http://www.arduino.cc/en/Reference/Wire\" target=\"_blank\" rel=\"noopener\">Wire</a>:</strong> The Wire library allows your Arduino to communicate with I2C devices (also known as TWI, or two-wire interface). Such devices could be addressable LEDs or a Wii Nunchuk, for example.</li>\r\n</ul>\r\n<h2 id=\"tab2\" >Additional Arduino libraries</h2>\r\nMany libraries aren’t included in the Arduino software by default. Some libraries are for unique applications such as specific hardware or functions; others are refinements or adaptations of existing libraries. Luckily, Arduino makes including these easy, so you can quickly try them all to see which are right for your needs.\r\n\r\nMost libraries are easily installed by choosing Sketch →   Include Library →   Manage Libraries from the Arduino IDE menu. The Library Manager dialog box displays an easily searchable list of libraries submitted to the Arduino servers and approved for release.\r\n\r\nLibraries may also be distributed as ZIP files that have the same name as the library; for example, the capacitive sensing library CapSense should be distributed as <code>CapSense.zip</code> and should contain a folder of the same name when unzipped.\r\n\r\nInside the folder there are files ending in <code>.h</code> and <code>.cpp</code>, such as <code>CapPin.h</code> and <code>CapPin.cpp</code>, and maybe even an Examples folder. If your <code>.zip</code> file contains only loose <code>.h</code> and <code>.cpp</code> files, you should place them in a folder with a library name. Sometimes you may find many <code>.h</code> and <code>.cpp</code> files that all perform different functions in the library, so make sure they're all inside the folder.\r\n\r\nIn the latest release of Arduino (1.8.5 at the time of this writing), it’s easy to include libraries distributed as ZIP files. Simply choose Sketch →   Include Library →   Add .ZIP Library and select the ZIP file containing the library.\r\n\r\nAfter the library is installed, restart Arduino and choose Sketch →   Include Library to check that your library is in the list.\r\n\r\n[caption id=\"attachment_258599\" align=\"aligncenter\" width=\"535\"]<img class=\"wp-image-258599 size-full\" src=\"https://www.dummies.com/wp-content/uploads/arduino-libraries-menu.jpg\" alt=\"Arduino libraries menu\" width=\"535\" height=\"334\" /> The Arduino menu shows the library in the Import Library drop-down list.[/caption]\r\n\r\n \r\n\r\nIf the library has an Examples folder, you should also be able to see the examples by choosing File →   Examples and then choosing the name of the library.\r\n\r\n[caption id=\"attachment_258600\" align=\"aligncenter\" width=\"535\"]<img class=\"wp-image-258600 size-full\" src=\"https://www.dummies.com/wp-content/uploads/arduino-library-examples.jpg\" alt=\"Arduino library examples\" width=\"535\" height=\"334\" /> If there are examples with the library, you'll see them in the menu.[/caption]\r\n\r\n \r\n\r\nThat’s all there is to installing a library. Removing a library is as simple: just take the library folder out of the Arduino Sketch folder.\r\n<h2 id=\"tab3\" >Contributed Arduino libraries</h2>\r\nA long list of community-contributed libraries appears on the <a href=\"https://www.arduino.cc/reference/en/libraries/\" target=\"_blank\" rel=\"noopener\">Arduino libraries page</a> and an exhaustive list appears on the <a href=\"http://www.arduino.cc/playground/Main/LibraryList\" target=\"_blank\" rel=\"noopener\">Arduino Playground</a>.\r\n\r\nTo become familiar with contributed libraries, start with CapSense and TimerOne, two commonly used and helpful libraries:\r\n<ul>\r\n \t<li><strong><a href=\"https://playground.arduino.cc/Main/CapacitiveSensor/\" target=\"_blank\" rel=\"noopener\">CapSense</a>:</strong> The CapSense library allows you to make one or many pins on your Arduino into capacitive sensors. This feature allows you to make simple touch, pressure, or presence detection sensors quickly and easily with little hardware.</li>\r\n</ul>\r\n<p style=\"padding-left: 30px;\">The Arduino Playground page has a lot of useful information, but a more recent version of the code can be found on <a href=\"http://www.github.com/moderndevice/CapSense\" target=\"_blank\" rel=\"noopener\">GitHub</a>.</p>\r\n\r\n<ul>\r\n \t<li><strong><a href=\"https://www.arduino.cc/reference/en/libraries/timerone/\" target=\"_blank\" rel=\"noopener\">TimerOne</a>:</strong> TimerOne (also called Timer1) uses a hardware timer on your Arduino to perform timed events at regular intervals. It’s a great library for reading sensor data regularly without interrupting what’s going on in the main loop. You can find a TimerOne page on the Arduino Playground and an up-to-date version of the library on <a href=\"https://code.google.com/archive/p/arduino-timerone/downloads\" target=\"_blank\" rel=\"noopener\">Google Code</a>.</li>\r\n</ul>\r\nIf you’re keen to understand libraries more and maybe even write your own, check out the introduction to writing your own libraries on the <a href=\"https://github.com/arduino/library-registry/blob/main/FAQ.md#readme\" target=\"_blank\" rel=\"noopener\">Arduino GitHub page</a>.","blurb":"","authors":[{"authorId":9682,"name":"John Nussey","slug":"john-nussey","description":" \t <p><b>John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9682"}}],"primaryCategoryTaxonomy":{"categoryId":33517,"title":"Arduino","slug":"arduino","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33517"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}},{"articleId":284787,"title":"What Your Society Says About You","slug":"what-your-society-says-about-you","categoryList":["academics-the-arts","humanities"],"_links":{"self":"/articles/284787"}}],"inThisArticle":[{"label":"Standard Arduino libraries","target":"#tab1"},{"label":"Additional Arduino libraries","target":"#tab2"},{"label":"Contributed Arduino libraries","target":"#tab3"}],"relatedArticles":{"fromBook":[{"articleId":258607,"title":"What You Should Know about Arduino Sensors: Using Capacitive Sensors","slug":"what-you-should-know-about-arduino-sensors-using-capacitive-sensors","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258607"}},{"articleId":258604,"title":"10 Awesome Arduino Resources","slug":"10-awesome-arduino-resources","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258604"}},{"articleId":258590,"title":"An Overview of Arduino Shields","slug":"an-overview-of-arduino-shields","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258590"}},{"articleId":258583,"title":"How to Assemble an Arduino Shield","slug":"how-to-assemble-an-arduino-shield","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258583"}},{"articleId":258576,"title":"What is Arduino?","slug":"what-is-arduino","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258576"}}],"fromCategory":[{"articleId":258607,"title":"What You Should Know about Arduino Sensors: Using Capacitive Sensors","slug":"what-you-should-know-about-arduino-sensors-using-capacitive-sensors","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258607"}},{"articleId":258604,"title":"10 Awesome Arduino Resources","slug":"10-awesome-arduino-resources","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258604"}},{"articleId":258590,"title":"An Overview of Arduino Shields","slug":"an-overview-of-arduino-shields","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258590"}},{"articleId":258583,"title":"How to Assemble an Arduino Shield","slug":"how-to-assemble-an-arduino-shield","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258583"}},{"articleId":258576,"title":"What is Arduino?","slug":"what-is-arduino","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258576"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":281630,"slug":"arduino-for-dummies-2nd-edition","isbn":"9781119489542","categoryList":["technology","computers","hardware","arduino"],"amazon":{"default":"https://www.amazon.com/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"https://www.amazon.ca/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"http://www.tkqlhce.com/click-9208661-13710633?url=https://www.chapters.indigo.ca/en-ca/books/product/1119489547-item.html&cjsku=978111945484","gb":"https://www.amazon.co.uk/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"https://www.amazon.de/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"https://www.dummies.com/wp-content/uploads/arduino-for-dummies-2nd-edition-cover-9781119489542-203x255.jpg","width":203,"height":255},"title":"Arduino For Dummies","testBankPinActivationLink":"","bookOutOfPrint":false,"authorsInfo":"<p><b data-author-id=\"9682\">John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. </p>","authors":[{"authorId":9682,"name":"John Nussey","slug":"john-nussey","description":" \t <p><b>John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9682"}}],"_links":{"self":"https://dummies-api.dummies.com/v2/books/"}},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;arduino&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119489542&quot;]}]\" id=\"du-slot-63221b42ab587\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;arduino&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119489542&quot;]}]\" id=\"du-slot-63221b42ac05d\"></div></div>"},"articleType":{"articleType":"Articles","articleList":null,"content":null,"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Explore","lifeExpectancy":"One year","lifeExpectancySetFrom":"2022-07-15T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":258598},{"headers":{"creationTime":"2018-12-21T11:28:14+00:00","modifiedTime":"2022-07-19T19:40:42+00:00","timestamp":"2022-09-14T18:19:46+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Computers","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33513"},"slug":"computers","categoryId":33513},{"name":"Hardware","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33516"},"slug":"hardware","categoryId":33516},{"name":"Arduino","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33517"},"slug":"arduino","categoryId":33517}],"title":"Arduino Boards that Aren’t the Arduino Uno","strippedTitle":"arduino boards that aren’t the arduino uno","slug":"arduino-boards-that-arent-the-arduino-uno","canonicalUrl":"","seo":{"metaDescription":"You can us the standard USB Arduino board, but you should be aware that many others exist, all designed with different needs in mind. Some Arduino boards offer ","noIndex":0,"noFollow":0},"content":"You can us the standard USB Arduino board, but you should be aware that many others exist, all designed with different needs in mind. Some Arduino boards offer more functionality, and others are designed to be more minimal, but generally they follow a design similar to that of the <a href=\"https://www.dummies.com/computers/arduino/getting-to-know-the-arduino-uno/\">Arduino Uno</a>. The Arduino Uno is a great board, but here are some other options if you feel like venturing out.\r\n<h2 id=\"tab1\" >Official Arduino boards</h2>\r\nAlthough Arduino is open source, it is also a trademarked brand, so to guarantee the quality and consistency of its products, the Arduino team must properly approve new boards before they are officially recognized and can bear the name Arduino. You can recognize official boards first by the name — Arduino Pro, Arduino Fio, or Arduino LilyPad, for example.\r\n\r\nOther nonofficial boards often include <em>Arduino compatible</em> or <em>for Arduino</em> in the name. The other way to recognize an official Arduino, made by the Arduino team, is by the branding (in the most recent versions): They are turquoise and display the infinity symbol somewhere on the board, along with a link to <u>Arduino’s <a href=\"https://www.arduino.cc/\">site</a></u>. Some other companies also have their boards accepted as official boards, so you may find other company names printed on them, such as Adafruit Industries and SparkFun.\r\n\r\nBecause the schematics for the Arduino board are open source, unofficial Arduino boards have a lot of variation, which people have made for their own needs. These boards are usually based on the same microcontroller chips to remain compatible with the Arduino software, but they require extra consideration and reading to be sure that they will work as expected. The Seeeduino v4.2 (by Seeed Studio), for example, is based on the Arduino Uno and is 100 percent compatible but adds various extra connections, switches, and sockets, which may be of more use to you than an official Arduino board in certain situations.\r\n\r\nOfficial boards are the safe option for beginners to choose because the majority of Arduino examples online are based on these boards. Because of this, official boards are more widely used, and because of <em>that,</em> any errors or bugs in the board design are likely to be remedied with the next revision or at least well documented.\r\n<h3>Arduino Leonardo</h3>\r\nThe Leonardo has the same <em>footprint</em> (shape of circuit board), but the microcontroller used is different and can be recognized as a keyboard or mouse by a computer. In the “Hacking Other Hardware” bonus chapter of <em><a href=\"https://www.dummies.com/computers/arduino/arduino-dummies-2nd-edition/\">Arduino For Dummies, 2<sup>nd</sup> Edition</a></em>, you can find more detail about the differences between this board and the Uno and how to use it.\r\n<h3>Arduino Mega 2560 R3</h3>\r\nAs the name suggests, the Arduino Mega 2560 R3 is a bigger board than the Arduino Uno R3. It is for people who want more: more inputs, more outputs, and more processing power! The Mega has 54 digital pins and 16 analog pins whereas the Uno has a measly 15 digital and 6 analog pins.\r\n<h3>Arduino Mega ADK</h3>\r\nThe Arduino Mega ADK is essentially the same board as the Mega 2560 Arduino but is designed to interface with Android phones. This means you can share data between your Android mobile or tablet and an Arduino to broaden the range of either.\r\n<h3>Arduino Nano 3.0</h3>\r\nThe Arduino Nano 3.0 is a condensed Arduino that measures just 0.70″ x 1.70″. This size is perfect for making your project smaller. The Nano has all the power of an Arduino Uno (both use the same ATmega328 microcontroller), but it's a fraction of the size. The Nano also handily fits into a breadboard, making it ideal for prototyping as well.\r\n<h3>Arduino Mini R5</h3>\r\nDespite what the names suggest, the Arduino Mini R5 is smaller than the Nano. This board also uses the same ATmega328 microcontroller chip but is condensed further, removing all header pins and the Mini-USB connector of the Nano. The Mini board is great if space is at a premium, but it does require great care when connecting because an incorrect connection can easily destroy the board.\r\n<h3>Arduino 101</h3>\r\nThe Arduino 101 uses the Intel Curie module to provide a board that’s as easy to use as Arduino but with the latest Bluetooth low energy technology. It also features a six-axis accelerometer to detect movement, making it a great companion for any wearable technology projects or for talking to other Bluetooth devices.\r\n<h3>Arduino MKR1000</h3>\r\nThe Arduino MKR1000 is a simple but powerful board, combining a 32-bit processor with a Wi-Fi module. It’s perfect for linking sensors and actuators to the Internet or prototyping your next Internet of Things (IoT) project. Along with its small form factor, it has a handy battery connector to allow you to take your project on the move.\r\n<h2 id=\"tab2\" >Contributed (approved) Arduinos</h2>\r\nMany Arduino boards are now standardized and designed by the Arduino team. However, some have been contributed by other companies, such as Adafruit Industries and SparkFun, and are recognized as official boards.\r\n<h3>LilyPad Arduino USB</h3>\r\nThe LilyPad Arduino USB was made for projects in which technology is combined with textiles to aid in the development of e-textiles or wearable electronics projects. The LilyPad and its accompanying <em>breakout boards</em> (printed circuit board that make it easy to integrate various components without the need to build your own boards) can be sewn together using conductive thread instead of conventional wire. This board was designed and developed by <a href=\"http://www.leahbuechley.com/\">Leah Buechley of MIT</a> and SparkFun Electronics. If you’re interested in e-textiles or wearable electronics, check out the excellent <a href=\"https://learn.sparkfun.com/tutorials/lilypad-development-board-hookup-guide\">tutorial on SparkFun’s site</a> that introduces the latest version of the board and the ProtoSnap kit.\r\n<h3>Arduino Pro</h3>\r\nThe Arduino Pro is a minimal and super skinny Arduino, by SparkFun Electronics, based on the same microcontroller as those used in the Uno. It comes without any of the normal headers or sockets but has all the same capabilities of an Uno. It’s ideal when height is at a short supply. In addition, it has a battery socket, which allows you to easily make your project portable.\r\n<h3>Arduino Pro Mini</h3>\r\nThe Pro Mini is another SparkFun product; this one pushes the minimalism of the Arduino Pro to new limits. In the scale of Arduinos, the Pro Mini sits neatly between the Nano and the Mini. It has none of the header pins or the Mini-USB port of the Nano, and is slightly more spread out than the Arduino Mini. The Pro Mini has none of the safety features of the Uno, so take great care when wiring because a wrong connection can easily destroy the board.","description":"You can us the standard USB Arduino board, but you should be aware that many others exist, all designed with different needs in mind. Some Arduino boards offer more functionality, and others are designed to be more minimal, but generally they follow a design similar to that of the <a href=\"https://www.dummies.com/computers/arduino/getting-to-know-the-arduino-uno/\">Arduino Uno</a>. The Arduino Uno is a great board, but here are some other options if you feel like venturing out.\r\n<h2 id=\"tab1\" >Official Arduino boards</h2>\r\nAlthough Arduino is open source, it is also a trademarked brand, so to guarantee the quality and consistency of its products, the Arduino team must properly approve new boards before they are officially recognized and can bear the name Arduino. You can recognize official boards first by the name — Arduino Pro, Arduino Fio, or Arduino LilyPad, for example.\r\n\r\nOther nonofficial boards often include <em>Arduino compatible</em> or <em>for Arduino</em> in the name. The other way to recognize an official Arduino, made by the Arduino team, is by the branding (in the most recent versions): They are turquoise and display the infinity symbol somewhere on the board, along with a link to <u>Arduino’s <a href=\"https://www.arduino.cc/\">site</a></u>. Some other companies also have their boards accepted as official boards, so you may find other company names printed on them, such as Adafruit Industries and SparkFun.\r\n\r\nBecause the schematics for the Arduino board are open source, unofficial Arduino boards have a lot of variation, which people have made for their own needs. These boards are usually based on the same microcontroller chips to remain compatible with the Arduino software, but they require extra consideration and reading to be sure that they will work as expected. The Seeeduino v4.2 (by Seeed Studio), for example, is based on the Arduino Uno and is 100 percent compatible but adds various extra connections, switches, and sockets, which may be of more use to you than an official Arduino board in certain situations.\r\n\r\nOfficial boards are the safe option for beginners to choose because the majority of Arduino examples online are based on these boards. Because of this, official boards are more widely used, and because of <em>that,</em> any errors or bugs in the board design are likely to be remedied with the next revision or at least well documented.\r\n<h3>Arduino Leonardo</h3>\r\nThe Leonardo has the same <em>footprint</em> (shape of circuit board), but the microcontroller used is different and can be recognized as a keyboard or mouse by a computer. In the “Hacking Other Hardware” bonus chapter of <em><a href=\"https://www.dummies.com/computers/arduino/arduino-dummies-2nd-edition/\">Arduino For Dummies, 2<sup>nd</sup> Edition</a></em>, you can find more detail about the differences between this board and the Uno and how to use it.\r\n<h3>Arduino Mega 2560 R3</h3>\r\nAs the name suggests, the Arduino Mega 2560 R3 is a bigger board than the Arduino Uno R3. It is for people who want more: more inputs, more outputs, and more processing power! The Mega has 54 digital pins and 16 analog pins whereas the Uno has a measly 15 digital and 6 analog pins.\r\n<h3>Arduino Mega ADK</h3>\r\nThe Arduino Mega ADK is essentially the same board as the Mega 2560 Arduino but is designed to interface with Android phones. This means you can share data between your Android mobile or tablet and an Arduino to broaden the range of either.\r\n<h3>Arduino Nano 3.0</h3>\r\nThe Arduino Nano 3.0 is a condensed Arduino that measures just 0.70″ x 1.70″. This size is perfect for making your project smaller. The Nano has all the power of an Arduino Uno (both use the same ATmega328 microcontroller), but it's a fraction of the size. The Nano also handily fits into a breadboard, making it ideal for prototyping as well.\r\n<h3>Arduino Mini R5</h3>\r\nDespite what the names suggest, the Arduino Mini R5 is smaller than the Nano. This board also uses the same ATmega328 microcontroller chip but is condensed further, removing all header pins and the Mini-USB connector of the Nano. The Mini board is great if space is at a premium, but it does require great care when connecting because an incorrect connection can easily destroy the board.\r\n<h3>Arduino 101</h3>\r\nThe Arduino 101 uses the Intel Curie module to provide a board that’s as easy to use as Arduino but with the latest Bluetooth low energy technology. It also features a six-axis accelerometer to detect movement, making it a great companion for any wearable technology projects or for talking to other Bluetooth devices.\r\n<h3>Arduino MKR1000</h3>\r\nThe Arduino MKR1000 is a simple but powerful board, combining a 32-bit processor with a Wi-Fi module. It’s perfect for linking sensors and actuators to the Internet or prototyping your next Internet of Things (IoT) project. Along with its small form factor, it has a handy battery connector to allow you to take your project on the move.\r\n<h2 id=\"tab2\" >Contributed (approved) Arduinos</h2>\r\nMany Arduino boards are now standardized and designed by the Arduino team. However, some have been contributed by other companies, such as Adafruit Industries and SparkFun, and are recognized as official boards.\r\n<h3>LilyPad Arduino USB</h3>\r\nThe LilyPad Arduino USB was made for projects in which technology is combined with textiles to aid in the development of e-textiles or wearable electronics projects. The LilyPad and its accompanying <em>breakout boards</em> (printed circuit board that make it easy to integrate various components without the need to build your own boards) can be sewn together using conductive thread instead of conventional wire. This board was designed and developed by <a href=\"http://www.leahbuechley.com/\">Leah Buechley of MIT</a> and SparkFun Electronics. If you’re interested in e-textiles or wearable electronics, check out the excellent <a href=\"https://learn.sparkfun.com/tutorials/lilypad-development-board-hookup-guide\">tutorial on SparkFun’s site</a> that introduces the latest version of the board and the ProtoSnap kit.\r\n<h3>Arduino Pro</h3>\r\nThe Arduino Pro is a minimal and super skinny Arduino, by SparkFun Electronics, based on the same microcontroller as those used in the Uno. It comes without any of the normal headers or sockets but has all the same capabilities of an Uno. It’s ideal when height is at a short supply. In addition, it has a battery socket, which allows you to easily make your project portable.\r\n<h3>Arduino Pro Mini</h3>\r\nThe Pro Mini is another SparkFun product; this one pushes the minimalism of the Arduino Pro to new limits. In the scale of Arduinos, the Pro Mini sits neatly between the Nano and the Mini. It has none of the header pins or the Mini-USB port of the Nano, and is slightly more spread out than the Arduino Mini. The Pro Mini has none of the safety features of the Uno, so take great care when wiring because a wrong connection can easily destroy the board.","blurb":"","authors":[{"authorId":9682,"name":"John Nussey","slug":"john-nussey","description":" \t <p><b>John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9682"}}],"primaryCategoryTaxonomy":{"categoryId":33517,"title":"Arduino","slug":"arduino","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33517"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}},{"articleId":284787,"title":"What Your Society Says About You","slug":"what-your-society-says-about-you","categoryList":["academics-the-arts","humanities"],"_links":{"self":"/articles/284787"}}],"inThisArticle":[{"label":"Official Arduino boards","target":"#tab1"},{"label":"Contributed (approved) Arduinos","target":"#tab2"}],"relatedArticles":{"fromBook":[{"articleId":258607,"title":"What You Should Know about Arduino Sensors: Using Capacitive Sensors","slug":"what-you-should-know-about-arduino-sensors-using-capacitive-sensors","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258607"}},{"articleId":258604,"title":"10 Awesome Arduino Resources","slug":"10-awesome-arduino-resources","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258604"}},{"articleId":258598,"title":"Finding and Browsing Arduino Libraries","slug":"finding-and-browsing-arduino-libraries","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258598"}},{"articleId":258590,"title":"An Overview of Arduino Shields","slug":"an-overview-of-arduino-shields","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258590"}},{"articleId":258583,"title":"How to Assemble an Arduino Shield","slug":"how-to-assemble-an-arduino-shield","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258583"}}],"fromCategory":[{"articleId":258607,"title":"What You Should Know about Arduino Sensors: Using Capacitive Sensors","slug":"what-you-should-know-about-arduino-sensors-using-capacitive-sensors","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258607"}},{"articleId":258604,"title":"10 Awesome Arduino Resources","slug":"10-awesome-arduino-resources","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258604"}},{"articleId":258598,"title":"Finding and Browsing Arduino Libraries","slug":"finding-and-browsing-arduino-libraries","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258598"}},{"articleId":258590,"title":"An Overview of Arduino Shields","slug":"an-overview-of-arduino-shields","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258590"}},{"articleId":258583,"title":"How to Assemble an Arduino Shield","slug":"how-to-assemble-an-arduino-shield","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258583"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":281630,"slug":"arduino-for-dummies-2nd-edition","isbn":"9781119489542","categoryList":["technology","computers","hardware","arduino"],"amazon":{"default":"https://www.amazon.com/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"https://www.amazon.ca/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"http://www.tkqlhce.com/click-9208661-13710633?url=https://www.chapters.indigo.ca/en-ca/books/product/1119489547-item.html&cjsku=978111945484","gb":"https://www.amazon.co.uk/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"https://www.amazon.de/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"https://www.dummies.com/wp-content/uploads/arduino-for-dummies-2nd-edition-cover-9781119489542-203x255.jpg","width":203,"height":255},"title":"Arduino For Dummies","testBankPinActivationLink":"","bookOutOfPrint":false,"authorsInfo":"<p><b data-author-id=\"9682\">John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. </p>","authors":[{"authorId":9682,"name":"John Nussey","slug":"john-nussey","description":" \t <p><b>John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9682"}}],"_links":{"self":"https://dummies-api.dummies.com/v2/books/"}},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;arduino&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119489542&quot;]}]\" id=\"du-slot-63221b42a3dcb\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;arduino&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119489542&quot;]}]\" id=\"du-slot-63221b42a4868\"></div></div>"},"articleType":{"articleType":"Articles","articleList":null,"content":null,"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Explore","lifeExpectancy":"One year","lifeExpectancySetFrom":"2022-07-19T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":258572},{"headers":{"creationTime":"2018-12-21T12:29:16+00:00","modifiedTime":"2022-07-19T19:36:30+00:00","timestamp":"2022-09-14T18:19:46+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Computers","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33513"},"slug":"computers","categoryId":33513},{"name":"Hardware","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33516"},"slug":"hardware","categoryId":33516},{"name":"Arduino","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33517"},"slug":"arduino","categoryId":33517}],"title":"An Overview of Arduino Shields","strippedTitle":"an overview of arduino shields","slug":"an-overview-of-arduino-shields","canonicalUrl":"","seo":{"metaDescription":"Shields are pieces of hardware that sit on top of your Arduino, often to give it a specific purpose. For example, you can use a shield to make it easier to conn","noIndex":0,"noFollow":0},"content":"<em>Shields</em> are pieces of hardware that sit on top of your Arduino, often to give it a specific purpose. For example, you can use a shield to make it easier to connect and control motors or even to turn your Arduino into something as complex as a mobile phone. A shield may start out as an interesting bit of hardware that an enthusiast has been experimenting with and wants to share with the community. Or an enterprising individual (or company) may design a shield to make an application easier based on demand from the Arduino community.\r\n\r\nShields can be simple or complex. They are sold preassembled or as kits. Kits allow you more freedom to <a href=\"https://www.dummies.com/computers/arduino/how-to-assemble-an-arduino-shield/\">assemble the Arduino shield</a> as you need it to be. Some kits require you to assemble the circuitry of the boards, although more complex shields may already be largely assembled, needing only header pins.\r\n\r\nShields enable you to use your Arduino for more than one purpose and to change that purpose easily. They neatly package the electronics for that circuit in the same footprint as an Arduino, and are stackable to combine different functionalities. But they all have to use the same pins on the Arduino, so if you stack shields, watch out for those that need to use the same pins. They always connect the GND pins, too, because any communication by your Arduino and another device needs a common GND.\r\n<h2 id=\"tab1\" >Arduino shield combinations</h2>\r\nIn theory, shields could be stacked on top of each other forever, but you should take some points into consideration before combining them:\r\n<ul>\r\n \t<li><strong>Physical size:</strong> Some shields just don’t fit on top of one another. Components that are higher than the header sockets may touch the underside of any board on top of it. This situation, which can cause short circuits if a connection is made that shouldn’t be, can seriously damage your boards.</li>\r\n \t<li><strong>Obstruction of inputs and outputs:</strong> If an input or output is obstructed by another shield, it becomes redundant. For example, there’s no point having a joystick shield or an LCD shield under another shield because no more than one can be used.</li>\r\n \t<li><strong>Power requirements:</strong> Some hardware requires a lot of power. Although it is all right for shields to use the same power and ground pins, there is a limit to the amount of current that can flow through the other input/output (I/O) pins: 40mA per pin and 200mA max between all I/O pins. Exceed this, and you run the risk of seriously damaging your board and any other attached shield. In most cases, you can easily remedy this problem by powering your Arduino and shields from an external power supply so that the current isn’t passed through the Arduino. Make sure to use a common GND if you’re communicating between a board using I2C, SPI, or serial.</li>\r\n \t<li><strong>Pins:</strong> Some shields require the use of certain pins. It’s important to make sure that shields aren’t doubling up on the same pins. In the best case, the hardware will just be confused; in the worst case, you can send voltage to the wrong place and damage your board.</li>\r\n \t<li><strong>Software:</strong> Some of these shields need specific libraries to work. There can be conflicts in libraries calling on the same functions, so make sure to read up on what’s required for your shield.</li>\r\n \t<li><strong>Interference with radio/Wi-Fi/GPS/GSM:</strong> Wireless devices need space to work. Move antennas or aerials away from the board to get a clear signal. If an antenna is mounted on the board, it’s generally a bad idea to cover it. Always try to place wireless shields at the top of the stack.</li>\r\n</ul>\r\n<h2 id=\"tab2\" >Arduino shield reviews</h2>\r\nTo give you an idea of available shields, check out some of the most interesting and useful Arduino shields on the market and shows you where to look for more information.\r\n\r\nThe prices listed are subject to change so always do you research before making a purchase decision. A lot of feedback on all of these products is available online, so always read the comments and forums to get a good understanding of what you’re buying.\r\n\r\nThis range of shields covers a vast number of different uses and the huge potential of Arduino projects. For many projects, a shield is all you need, but a shield is also an excellent stepping-stone for proving a concept before refining or miniaturizing your project.\r\n<p class=\"article-tips remember\">Prices provided are from a range of distributors to show the approximate value of the items. If you are a savvy shopper or are looking to buy in bulk, you may be able to reduce the cost.</p>\r\n\r\n<h3>Proto shield kit Rev3</h3>\r\nMade by: Arduino\r\n\r\nPrice: $9.90 from Arduino Store\r\n\r\nPins used: None\r\n\r\nThe Proto shield is a platform for building custom circuits on your Arduino. Many Arduino shields add a specific function to your Arduino, but with a Proto Shield, you can decide how to use it. Take your existing breadboard layouts and solder them to the surface of the Proto shield to make your project more durable. Proto shields also come in a larger size to match the Arduino Mega’s footprint. Another handy feature of these shields is the space to attach SMD parts, which can be difficult to do otherwise.\r\n\r\n[caption id=\"attachment_258594\" align=\"aligncenter\" width=\"444\"]<img class=\"wp-image-258594 size-full\" src=\"https://www.dummies.com/wp-content/uploads/arduino-proto-shield-fully-assembled.jpg\" alt=\"Arduino proto shield\" width=\"444\" height=\"400\" /> A fully assembled Proto shield.[/caption]\r\n\r\n \r\n\r\nThe Proto shield is sold either fully assembled or as a kit that requires soldering.\r\n\r\nYou can find details about the shield on the <a href=\"https://store-usa.arduino.cc/products/proto-shield-rev3-uno-size?selectedStore=us\">Arduino product page</a>.\r\n<h3>ProtoScrew shield</h3>\r\nMade by: WingShield Industries\r\n\r\nPrice: $14.95 from Adafruit\r\n\r\nPins used: None\r\n\r\nProtoScrew shield is similar to the regular Proto shield but has large screw terminals connected to the pins as well. This feature is great for applications that have lots of inputs that may need changing or swapping, or just for easier assembly and disassembly. Changing a piece of wire is much easier with screw terminals than with soldering, so bear this in mind when planning your next project.\r\n\r\nProtoScrew shield is sold as a kit and requires soldering. You can find more details on the <a href=\"https://www.adafruit.com/product/196\">Adafruit product page</a>.\r\n<h3>Adafruit Wave shield v1.1</h3>\r\nMade by: Adafruit\r\n\r\nPrice: $22.00 from Adafruit\r\n\r\nPins used: 13, 12, 11, 10, 5, 4, 3, 2 on the Uno R3\r\n\r\nThe Wave shield is a relatively cheap kit that allows you to play sounds or music with your Arduino. The Wave shield allows you to play WAV files directly from an SD card, making it easy to upload and change the sound files from your computer. To use the shield, you need the WaveHC library, which is available from the <a href=\"http://code.google.com/p/wavehc/\">product page</a> and Google Code.\r\n\r\n[caption id=\"attachment_258593\" align=\"aligncenter\" width=\"528\"]<img class=\"wp-image-258593 size-full\" src=\"https://www.dummies.com/wp-content/uploads/arduino-wave-shield.jpg\" alt=\"Arduino wave shield\" width=\"528\" height=\"400\" /> A fully assembled Wave shield.[/caption]\r\n\r\n \r\n\r\nThe Wave shield is sold as a kit and requires soldering. The SD card reader must use pins 13, 12, and 11 because they support a high-speed Serial Peripheral Interface (SPI), which is a protocol needed to transfer data quickly. Pin 10 is used to communicate with the SD card reader, and pins 5, 4, 3, and 2 are used to talk to the digital-to-analog converter (DAC), which converts a digital music signal into an analog voltage.\r\n\r\nFor more details, visit the product page on <a href=\"http://www.adafruit.com/products/94\">Adafruit’s website</a>.\r\n<h3>MP3 player shield</h3>\r\nMade by: SparkFun\r\n\r\nPrice: $24.95 from SparkFun\r\n\r\nPins used: 13, 12, 11, 9, 8, 7, 6, 5, 4, 3, 2 on the Uno R3\r\n\r\nTurn your Arduino into an MP3 player with the easy-to-assemble MP3 player shield from SparkFun! Not only can it decode MP3 files, it’s also capable of decoding Ogg Vorbis, AAC, WMA, and MIDI. The MP3 shield also has a microSD card reader for ease of uploading files, and it has a 3.5mm mini jack that you can connect to most speaker systems.\r\n\r\n[caption id=\"attachment_258592\" align=\"aligncenter\" width=\"501\"]<img class=\"wp-image-258592 size-full\" src=\"https://www.dummies.com/wp-content/uploads/arduino-mp3-shield-kit.jpg\" alt=\"Arduino MP3 shield kit\" width=\"501\" height=\"400\" /> An MP3 shield kit.[/caption]\r\n\r\n \r\n\r\nThe MP3 player shield is assembled but requires minor soldering to attach the header pins or header sockets. The SD card reader uses pins 13, 12, and 11. You use pin 9 to talk with the SD card reader. Use pins 8, 7, 6, and 2 talk to MP3 audio decoder VS1053B, and use pins 4 and 3 for additional MIDI functionality.\r\n\r\nFor more details, visit the <a href=\"http://www.sparkfun.com/products/10628\">SparkFun products page</a>. Also see the <a href=\"https://learn.sparkfun.com/tutorials/mp3-player-shield-hookup-guide-v15/all\">tutorial page</a>. The comments below the tutorial address many of the issues with this guide. One user has even written a library to make your life easier — a great example of the Arduino community supporting existing products.\r\n<p class=\"article-tips remember\">Always read the comments and forum entries on products and kits. These comments often contain a lot of detail on the ease of (or difficulty with) a product. This is also the place to voice your own problems. Just be sure that you’re not repeating something that’s solved further down the page; otherwise, you’ll be advised to read the manual!</p>\r\n\r\n<h3>MIDI shield</h3>\r\nMade by: SparkFun\r\n\r\nPrice: $19.95 from SparkFun\r\n\r\nPins used: Uses pins 2, 3, 4, 6, 7, A1, A0 on the Uno R3\r\n\r\nMIDI (Music Instrument Digital Interface) revolutionized the music industry in the 1980s and is still widely used now to connect instruments, computer, stage effects, and other hardware. With the MIDI shield, you can interface with anything that can send or receive MIDI data and incorporate it into your Arduino project.\r\n\r\nThe MIDI shield is sold as a kit and requires soldering. For more details, visit the <a href=\"http://www.sparkfun.com/products/12898\">SparkFun product page</a>. You can find some excellent general tutorials on MIDI on <a href=\"https://docs.arduino.cc/\">Arduino’s site</a> and a lot of excellent reference material at <a href=\"https://www.tigoe.com/code.html\">tigoe.net</a> and <a href=\"http://www.hinton-instruments.co.uk/\">Hinton Instruments</a>.\r\n<h3>RGB LCD shield with 16 x 2 character display</h3>\r\nMade by: Adafruit\r\n\r\nPrice: $24.95 from Adafruit\r\n\r\nPins used: Uses pins A4 and A5 on the Uno R3\r\n\r\nThis handy LCD (liquid crystal display) shield packages everything you need onto one board. LCDs are found in older mobile phones and Nintendo GameBoys (wow, that sounds old). They use a film that sits over a solid-colored, usually backlit surface. The pixels of this film can be turned on or off to make shapes, text, or graphics, and this is what you control with your Arduino. At the center of the shield is an RGB LCD display, so instead of being stuck with just one color, you can choose from <em>any</em> RGB color.\r\n\r\nThe RGB backlight is controlled directly from your Arduino. The display is a 16 x 2 character display (no graphics), which means you can write two rows of 16 characters. You can choose from two displays: colored text on a dark background (negative) or dark text on a colored background (positive). A variety of LCD character displays with various backlighting and dimensions is available, so be sure to shop around.\r\n\r\nThe RGB LCD shield is sold as a kit and requires soldering. Instead of using nine pins or more, the LCD, backlight, and buttons together use just two. By using the I2C to communicate with the shield, you can use only analog pin 4, which is the data (SDA) line, and analog pin 5, which is the clock (SCL) line. This protocol is used in many devices, so it is extremely useful to know about it. For more details on I2C, check <a href=\"https://tronixstuff.com/tutorials/\">John Boxall’s excellent tutorial</a>.\r\n\r\nShields are also available that use the same technology but don’t limit you to letters and numbers. If you’re looking to display your own graphics, you might want to use the SparkFun color LCD shield, which uses a Nokia 6100 screen, or the larger TFT touch shield.\r\n<h3>2.8” TFT touch shield with capacitive touch</h3>\r\nMade by: Adafruit\r\n\r\nPrice: $44.95 from Adafruit\r\n\r\nPins used: 4, 8, 9, 10, 11, 12, 13, A4, A5\r\n\r\nIf an LCD display isn’t enough for you, try the TFT touch shield to add full color and touch input to your project. This display is a TFT LCD screen — a variation on a standard LCD screen that uses thin-film transistor (TFT) technology to improve the image quality — with a resolution of 240 x 320 pixels and 18-bit colors, giving you 262,144 shades. The screen is also fitted with a resistive touchscreen to register finger presses anywhere on the surface of the screen.\r\n\r\nThe TFT touch shield is sold fully assembled and requires no soldering, so you can simply plug it on top of your Arduino. The touch shield needs a lot of pins to function and leaves you with only digital pins 2 and 3 and analog pins 4 and 5. Pin 12 is also available if you're not using the microSD reader.\r\n\r\nCheck out <a href=\"http://www.adafruit.com/products/1947\">Adafruit’s products page</a>. Adafruit has also kindly written a complete <a href=\"https://github.com/adafruit\">library for the TFT to draw pixels, shapes, and text</a> and a library for the touchscreen that detects x, y, and z horizontal movement, vertical movement, and pressure.\r\n<h3>Joystick shield</h3>\r\nMade by: SparkFun\r\n\r\nPrice: $12.95 from SparkFun\r\n\r\nPins used: 2, 3, 4, 5, 6, A0, A1\r\n\r\nThe joystick shield has all the functions of a modern game controller on a single Arduino-compatible board. It provides not only four pushbuttons to assign to various functions but also a hidden button in the control stick itself. With the ergonomic control stick, you can smoothly transition between x and y axes to perform movements with great accuracy.\r\n\r\n[caption id=\"attachment_258591\" align=\"aligncenter\" width=\"512\"]<img class=\"wp-image-258591 size-full\" src=\"https://www.dummies.com/wp-content/uploads/arduino-joystick-shield.jpg\" alt=\"Arduino joystick shield\" width=\"512\" height=\"400\" /> A joystick shield.[/caption]\r\n\r\n \r\n\r\nThe joystick shield is sold as a kit and requires soldering. It uses only five digital pins and two analog pins, leaving many other Arduino pins free for other uses. It has five pushbuttons, using digital pins 2 to 6. The movement of the joystick is measured using two potentiometers: analog 0 maps the <em>x,</em> or horizontal, movement; analog 1 maps the <em>y,</em> or vertical, movement.\r\n\r\nYou can find more details on the <a href=\"http://www.sparkfun.com/products/9760\">SparkFun product page</a>.\r\n<h3>Adafruit motor/stepper/servo shield kit v2.3</h3>\r\nMade by: Adafruit\r\n\r\nPrice: $19.95 from Adafruit\r\n\r\nPins used: 9, 10, A4, A5\r\n\r\nLove motors? Want to try them all? Then the Adafruit motor/stepper/servo shield is the one for you. The shield is aptly named, enabling you to run all those motors you love. You can connect up to two 5V hobby servos, two stepper motors, or four bidirectional DC motors. The screw terminals make attaching and switching motors easy. When dealing with motors, it’s always important to make sure that you have enough current to drive them all, so a handy screw terminal on the shield allows you to power your motors independently of your Arduino.\r\n\r\nThe Adafruit motor/stepper/servo shield is sold as a kit and requires soldering. Pins A4 and A5 control any connected DC or stepper motors, and pins 9 and 10 control any connected servos. This leaves you with a lot of pins free to be used for other inputs or outputs.\r\n\r\nYou can find many details on the <a href=\"http://www.adafruit.com/product/1438\">Adafruit product page</a> and in the <a href=\"https://learn.adafruit.com/adafruit-motor-shield-v2-for-arduino/\">in-depth tutorial</a>. Be aware of how much load is on the motor because the shield is designed to provide up to 600 mA per motor, with 1.2A peak current. If you’re approaching 1A, include a heat sink on the motor driver to dissipate the heat.\r\n\r\nAlso, the nice people at Adafruit provide an <a href=\"https://github.com/adafruit/Adafruit_Motor_Shield_V2_Library\">easy-to-use library for your motor project</a>. Happy motoring!\r\n<h3>LiPower shield</h3>\r\nMade by: SparkFun\r\n\r\nPrice: $29.95 from SparkFun\r\n\r\nPins used: 3\r\n\r\nIf you want to make your Arduino project more mobile, batteries are the answer. Rather than use bulky AA or AAA battery packs, the LiPower shield allows you to use rechargeable lithium batteries instead. Although lithium batteries are rated as only 3.7V, some clever hardware steps them up to 5V to make them sufficient to power your Arduino.\r\n\r\nThe LiPower shield is assembled but requires minor soldering to attach the header pins or header sockets. Because the LiPower shield is there to provide power and not consume it, only one pin is in use. Pin 3 can be configured as an alert interrupt pin to signal whenever the battery drops to 32 percent or lower.\r\n\r\nFor more details, check out the <a href=\"http://www.sparkfun.com/products/13158\">SparkFun product page</a>. You find interesting notes on the hardware regarding the difficulties with charging lithium batteries, so make sure to read all the comments below the product description.\r\n\r\nMany other smaller lithium breakout boards are available that supply the standard 3.7V, such as the <a href=\"http://www.sparkfun.com/products/12711\">SparkFun USB LiPoly charger</a> and the <a href=\"http://www.adafruit.com/product/1904\">Adafruit micro Lipo</a>. These breakout boards are perfect when paired with an appropriate low-voltage Arduino, such as the <a href=\"https://store-usa.arduino.cc/products/arduino-mkr1000-wifi\">Arduino MKR1000</a>. Boards such as the Arduino MRK1000 are useful when trying to reduce the size of your Arduino project.\r\n<h3>Adafruit Ultimate GPS logger shield</h3>\r\nMade by: Adafruit\r\n\r\nPrice: $44.95 from Adafruit\r\n\r\nPins used: 7, 8, 10, 11, 12, 13, A4, A5\r\n\r\nThe Adafruit Ultimate GPS logger shield lets you track and store location information using the Global Positioning System. You can find your location within a few meters. Use it to create GPS art or to map all your movements over the month. It’s also great for giving you an extremely accurate time. Data is stored on a microSD card as a TXT file, which can then be overlaid onto Google Maps or visualized in some other way.\r\n\r\nWith the ever-increasing storage capacity of SD cards, you can store much more data on an SD card than your Arduino can on its own internal memory. This extra capacity is especially useful because it keeps your data-logging device mobile without the need for a computer, so you can leave that bulky laptop at home and send your GPS device out into the world!\r\n\r\nThe Adafruit Ultimate GPS logger shield is sold without attached header pins and requires soldering. Pins 10, 11, 12, and 13 are used for communication with the SD card. The GPS module uses either the hardware serial connection (pins 0 and 1) or two pins for a software serial connection (pins 7 and 8). You can enable other optional functions, such as a signaling LED to indicate when data is logged, a pin to monitor the pulse from the GPS synchronization clock, and a pin to detect when an SD card is in the slot.\r\n\r\nGet the shield and more information on <a href=\"http://www.adafruit.com/product/1272\">Adafruit</a>. You can view an <a href=\"https://learn.adafruit.com/adafruit-ultimate-gps-logger-shield/\">in-depth tutorial on Adafruit’s site</a>, which details everything from construction of the kit to the Arduino code, along with uses for the GPS data.\r\n<h3>Adafruit FONA 800 shield</h3>\r\nMade by: Adafruit\r\n\r\nPrice: $39.95 from Adafruit\r\n\r\nPin requirements: 2, 3, 4\r\n\r\nThe Adafruit FONA 800 shield turns your modest Arduino into a functional mobile phone. With this shield, you can send and receive calls, text messages, and even data. All you need is a prepaid SIM card and an antenna, and you’re ready to communicate with the world. By using serial commands you can send codes to talk to the SIM800L module.\r\n\r\nThe Adafruit FONA 800 shield is sold without attached header pins. You also need to purchase an antenna with an SMA connector; <a href=\"http://www.adafruit.com/product/3237\">Adafruit offers a Slim Sticker-type GSM/Cellular quad-band antenna</a>. The Arduino talks with the SIM800L via pins 2 and 3 using the SoftwareSerial library.\r\n\r\nThe SIM card should have enough credit to perform the actions you’re trying to do. Those offering unlimited text messages are especially useful. Other optional extras are a mic and a speaker; without them, you won't be able to do anything more than call and hang up.\r\n\r\nYou can view an <a href=\"https://learn.adafruit.com/adafruit-fona-800-shield\">in-depth tutorial on Adafruit’s site</a>.\r\n<h3>Geiger counter – radiation sensor board shield</h3>\r\nMade by: Liberium\r\n\r\nPrice: $170 from Cooking Hacks\r\n\r\nPin requirements: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13\r\n\r\nThe radiation sensor board is probably one of the most impressive Arduino shields. It allows you to monitor radiation levels in the environment. This board was made to help the people of Japan monitor radiation levels following the radiation leakages in Fukushima in March 2011. The Geiger counter can use various Geiger tubes to detect different types and levels of radiation. There is also an LCD display, an LED, and a piezo speaker for feedback.\r\n<p class=\"article-tips warning\">This shield uses Geiger tubes that operate at dangerously high voltages (400V–1000V), so it requires extreme care. It is best to keep the radiation sensor board in an enclosure to keep it out of human contact. Radiation is dangerous, but so is electricity. If you don’t know what you’re doing, don’t mess around.</p>\r\nThe piezo speaker and LED are connected to pin 2, which triggers an interrupt with every pulse that the Geiger tube generates. Depending on the tube used and the number of pulses or counts per minute (cpm), you can determine the radiation level in Sieverts per hour. Pins 3 to 8 are used for the LCD display to generate the sensor readings in detail. Pins 9 to 13 are used for the LED bar to give clear visual feedback of the radiation level. The first three LEDs are green. The last two are red, showing that a high and potentially dangerous level of radiation is being approached.\r\n\r\nMore details on this project can be found on the <a href=\"http://www.cooking-hacks.com/index.php/documentation/tutorials/geiger-counter-arduino-radiation-sensor-board\">Cooking Hacks product page</a>","description":"<em>Shields</em> are pieces of hardware that sit on top of your Arduino, often to give it a specific purpose. For example, you can use a shield to make it easier to connect and control motors or even to turn your Arduino into something as complex as a mobile phone. A shield may start out as an interesting bit of hardware that an enthusiast has been experimenting with and wants to share with the community. Or an enterprising individual (or company) may design a shield to make an application easier based on demand from the Arduino community.\r\n\r\nShields can be simple or complex. They are sold preassembled or as kits. Kits allow you more freedom to <a href=\"https://www.dummies.com/computers/arduino/how-to-assemble-an-arduino-shield/\">assemble the Arduino shield</a> as you need it to be. Some kits require you to assemble the circuitry of the boards, although more complex shields may already be largely assembled, needing only header pins.\r\n\r\nShields enable you to use your Arduino for more than one purpose and to change that purpose easily. They neatly package the electronics for that circuit in the same footprint as an Arduino, and are stackable to combine different functionalities. But they all have to use the same pins on the Arduino, so if you stack shields, watch out for those that need to use the same pins. They always connect the GND pins, too, because any communication by your Arduino and another device needs a common GND.\r\n<h2 id=\"tab1\" >Arduino shield combinations</h2>\r\nIn theory, shields could be stacked on top of each other forever, but you should take some points into consideration before combining them:\r\n<ul>\r\n \t<li><strong>Physical size:</strong> Some shields just don’t fit on top of one another. Components that are higher than the header sockets may touch the underside of any board on top of it. This situation, which can cause short circuits if a connection is made that shouldn’t be, can seriously damage your boards.</li>\r\n \t<li><strong>Obstruction of inputs and outputs:</strong> If an input or output is obstructed by another shield, it becomes redundant. For example, there’s no point having a joystick shield or an LCD shield under another shield because no more than one can be used.</li>\r\n \t<li><strong>Power requirements:</strong> Some hardware requires a lot of power. Although it is all right for shields to use the same power and ground pins, there is a limit to the amount of current that can flow through the other input/output (I/O) pins: 40mA per pin and 200mA max between all I/O pins. Exceed this, and you run the risk of seriously damaging your board and any other attached shield. In most cases, you can easily remedy this problem by powering your Arduino and shields from an external power supply so that the current isn’t passed through the Arduino. Make sure to use a common GND if you’re communicating between a board using I2C, SPI, or serial.</li>\r\n \t<li><strong>Pins:</strong> Some shields require the use of certain pins. It’s important to make sure that shields aren’t doubling up on the same pins. In the best case, the hardware will just be confused; in the worst case, you can send voltage to the wrong place and damage your board.</li>\r\n \t<li><strong>Software:</strong> Some of these shields need specific libraries to work. There can be conflicts in libraries calling on the same functions, so make sure to read up on what’s required for your shield.</li>\r\n \t<li><strong>Interference with radio/Wi-Fi/GPS/GSM:</strong> Wireless devices need space to work. Move antennas or aerials away from the board to get a clear signal. If an antenna is mounted on the board, it’s generally a bad idea to cover it. Always try to place wireless shields at the top of the stack.</li>\r\n</ul>\r\n<h2 id=\"tab2\" >Arduino shield reviews</h2>\r\nTo give you an idea of available shields, check out some of the most interesting and useful Arduino shields on the market and shows you where to look for more information.\r\n\r\nThe prices listed are subject to change so always do you research before making a purchase decision. A lot of feedback on all of these products is available online, so always read the comments and forums to get a good understanding of what you’re buying.\r\n\r\nThis range of shields covers a vast number of different uses and the huge potential of Arduino projects. For many projects, a shield is all you need, but a shield is also an excellent stepping-stone for proving a concept before refining or miniaturizing your project.\r\n<p class=\"article-tips remember\">Prices provided are from a range of distributors to show the approximate value of the items. If you are a savvy shopper or are looking to buy in bulk, you may be able to reduce the cost.</p>\r\n\r\n<h3>Proto shield kit Rev3</h3>\r\nMade by: Arduino\r\n\r\nPrice: $9.90 from Arduino Store\r\n\r\nPins used: None\r\n\r\nThe Proto shield is a platform for building custom circuits on your Arduino. Many Arduino shields add a specific function to your Arduino, but with a Proto Shield, you can decide how to use it. Take your existing breadboard layouts and solder them to the surface of the Proto shield to make your project more durable. Proto shields also come in a larger size to match the Arduino Mega’s footprint. Another handy feature of these shields is the space to attach SMD parts, which can be difficult to do otherwise.\r\n\r\n[caption id=\"attachment_258594\" align=\"aligncenter\" width=\"444\"]<img class=\"wp-image-258594 size-full\" src=\"https://www.dummies.com/wp-content/uploads/arduino-proto-shield-fully-assembled.jpg\" alt=\"Arduino proto shield\" width=\"444\" height=\"400\" /> A fully assembled Proto shield.[/caption]\r\n\r\n \r\n\r\nThe Proto shield is sold either fully assembled or as a kit that requires soldering.\r\n\r\nYou can find details about the shield on the <a href=\"https://store-usa.arduino.cc/products/proto-shield-rev3-uno-size?selectedStore=us\">Arduino product page</a>.\r\n<h3>ProtoScrew shield</h3>\r\nMade by: WingShield Industries\r\n\r\nPrice: $14.95 from Adafruit\r\n\r\nPins used: None\r\n\r\nProtoScrew shield is similar to the regular Proto shield but has large screw terminals connected to the pins as well. This feature is great for applications that have lots of inputs that may need changing or swapping, or just for easier assembly and disassembly. Changing a piece of wire is much easier with screw terminals than with soldering, so bear this in mind when planning your next project.\r\n\r\nProtoScrew shield is sold as a kit and requires soldering. You can find more details on the <a href=\"https://www.adafruit.com/product/196\">Adafruit product page</a>.\r\n<h3>Adafruit Wave shield v1.1</h3>\r\nMade by: Adafruit\r\n\r\nPrice: $22.00 from Adafruit\r\n\r\nPins used: 13, 12, 11, 10, 5, 4, 3, 2 on the Uno R3\r\n\r\nThe Wave shield is a relatively cheap kit that allows you to play sounds or music with your Arduino. The Wave shield allows you to play WAV files directly from an SD card, making it easy to upload and change the sound files from your computer. To use the shield, you need the WaveHC library, which is available from the <a href=\"http://code.google.com/p/wavehc/\">product page</a> and Google Code.\r\n\r\n[caption id=\"attachment_258593\" align=\"aligncenter\" width=\"528\"]<img class=\"wp-image-258593 size-full\" src=\"https://www.dummies.com/wp-content/uploads/arduino-wave-shield.jpg\" alt=\"Arduino wave shield\" width=\"528\" height=\"400\" /> A fully assembled Wave shield.[/caption]\r\n\r\n \r\n\r\nThe Wave shield is sold as a kit and requires soldering. The SD card reader must use pins 13, 12, and 11 because they support a high-speed Serial Peripheral Interface (SPI), which is a protocol needed to transfer data quickly. Pin 10 is used to communicate with the SD card reader, and pins 5, 4, 3, and 2 are used to talk to the digital-to-analog converter (DAC), which converts a digital music signal into an analog voltage.\r\n\r\nFor more details, visit the product page on <a href=\"http://www.adafruit.com/products/94\">Adafruit’s website</a>.\r\n<h3>MP3 player shield</h3>\r\nMade by: SparkFun\r\n\r\nPrice: $24.95 from SparkFun\r\n\r\nPins used: 13, 12, 11, 9, 8, 7, 6, 5, 4, 3, 2 on the Uno R3\r\n\r\nTurn your Arduino into an MP3 player with the easy-to-assemble MP3 player shield from SparkFun! Not only can it decode MP3 files, it’s also capable of decoding Ogg Vorbis, AAC, WMA, and MIDI. The MP3 shield also has a microSD card reader for ease of uploading files, and it has a 3.5mm mini jack that you can connect to most speaker systems.\r\n\r\n[caption id=\"attachment_258592\" align=\"aligncenter\" width=\"501\"]<img class=\"wp-image-258592 size-full\" src=\"https://www.dummies.com/wp-content/uploads/arduino-mp3-shield-kit.jpg\" alt=\"Arduino MP3 shield kit\" width=\"501\" height=\"400\" /> An MP3 shield kit.[/caption]\r\n\r\n \r\n\r\nThe MP3 player shield is assembled but requires minor soldering to attach the header pins or header sockets. The SD card reader uses pins 13, 12, and 11. You use pin 9 to talk with the SD card reader. Use pins 8, 7, 6, and 2 talk to MP3 audio decoder VS1053B, and use pins 4 and 3 for additional MIDI functionality.\r\n\r\nFor more details, visit the <a href=\"http://www.sparkfun.com/products/10628\">SparkFun products page</a>. Also see the <a href=\"https://learn.sparkfun.com/tutorials/mp3-player-shield-hookup-guide-v15/all\">tutorial page</a>. The comments below the tutorial address many of the issues with this guide. One user has even written a library to make your life easier — a great example of the Arduino community supporting existing products.\r\n<p class=\"article-tips remember\">Always read the comments and forum entries on products and kits. These comments often contain a lot of detail on the ease of (or difficulty with) a product. This is also the place to voice your own problems. Just be sure that you’re not repeating something that’s solved further down the page; otherwise, you’ll be advised to read the manual!</p>\r\n\r\n<h3>MIDI shield</h3>\r\nMade by: SparkFun\r\n\r\nPrice: $19.95 from SparkFun\r\n\r\nPins used: Uses pins 2, 3, 4, 6, 7, A1, A0 on the Uno R3\r\n\r\nMIDI (Music Instrument Digital Interface) revolutionized the music industry in the 1980s and is still widely used now to connect instruments, computer, stage effects, and other hardware. With the MIDI shield, you can interface with anything that can send or receive MIDI data and incorporate it into your Arduino project.\r\n\r\nThe MIDI shield is sold as a kit and requires soldering. For more details, visit the <a href=\"http://www.sparkfun.com/products/12898\">SparkFun product page</a>. You can find some excellent general tutorials on MIDI on <a href=\"https://docs.arduino.cc/\">Arduino’s site</a> and a lot of excellent reference material at <a href=\"https://www.tigoe.com/code.html\">tigoe.net</a> and <a href=\"http://www.hinton-instruments.co.uk/\">Hinton Instruments</a>.\r\n<h3>RGB LCD shield with 16 x 2 character display</h3>\r\nMade by: Adafruit\r\n\r\nPrice: $24.95 from Adafruit\r\n\r\nPins used: Uses pins A4 and A5 on the Uno R3\r\n\r\nThis handy LCD (liquid crystal display) shield packages everything you need onto one board. LCDs are found in older mobile phones and Nintendo GameBoys (wow, that sounds old). They use a film that sits over a solid-colored, usually backlit surface. The pixels of this film can be turned on or off to make shapes, text, or graphics, and this is what you control with your Arduino. At the center of the shield is an RGB LCD display, so instead of being stuck with just one color, you can choose from <em>any</em> RGB color.\r\n\r\nThe RGB backlight is controlled directly from your Arduino. The display is a 16 x 2 character display (no graphics), which means you can write two rows of 16 characters. You can choose from two displays: colored text on a dark background (negative) or dark text on a colored background (positive). A variety of LCD character displays with various backlighting and dimensions is available, so be sure to shop around.\r\n\r\nThe RGB LCD shield is sold as a kit and requires soldering. Instead of using nine pins or more, the LCD, backlight, and buttons together use just two. By using the I2C to communicate with the shield, you can use only analog pin 4, which is the data (SDA) line, and analog pin 5, which is the clock (SCL) line. This protocol is used in many devices, so it is extremely useful to know about it. For more details on I2C, check <a href=\"https://tronixstuff.com/tutorials/\">John Boxall’s excellent tutorial</a>.\r\n\r\nShields are also available that use the same technology but don’t limit you to letters and numbers. If you’re looking to display your own graphics, you might want to use the SparkFun color LCD shield, which uses a Nokia 6100 screen, or the larger TFT touch shield.\r\n<h3>2.8” TFT touch shield with capacitive touch</h3>\r\nMade by: Adafruit\r\n\r\nPrice: $44.95 from Adafruit\r\n\r\nPins used: 4, 8, 9, 10, 11, 12, 13, A4, A5\r\n\r\nIf an LCD display isn’t enough for you, try the TFT touch shield to add full color and touch input to your project. This display is a TFT LCD screen — a variation on a standard LCD screen that uses thin-film transistor (TFT) technology to improve the image quality — with a resolution of 240 x 320 pixels and 18-bit colors, giving you 262,144 shades. The screen is also fitted with a resistive touchscreen to register finger presses anywhere on the surface of the screen.\r\n\r\nThe TFT touch shield is sold fully assembled and requires no soldering, so you can simply plug it on top of your Arduino. The touch shield needs a lot of pins to function and leaves you with only digital pins 2 and 3 and analog pins 4 and 5. Pin 12 is also available if you're not using the microSD reader.\r\n\r\nCheck out <a href=\"http://www.adafruit.com/products/1947\">Adafruit’s products page</a>. Adafruit has also kindly written a complete <a href=\"https://github.com/adafruit\">library for the TFT to draw pixels, shapes, and text</a> and a library for the touchscreen that detects x, y, and z horizontal movement, vertical movement, and pressure.\r\n<h3>Joystick shield</h3>\r\nMade by: SparkFun\r\n\r\nPrice: $12.95 from SparkFun\r\n\r\nPins used: 2, 3, 4, 5, 6, A0, A1\r\n\r\nThe joystick shield has all the functions of a modern game controller on a single Arduino-compatible board. It provides not only four pushbuttons to assign to various functions but also a hidden button in the control stick itself. With the ergonomic control stick, you can smoothly transition between x and y axes to perform movements with great accuracy.\r\n\r\n[caption id=\"attachment_258591\" align=\"aligncenter\" width=\"512\"]<img class=\"wp-image-258591 size-full\" src=\"https://www.dummies.com/wp-content/uploads/arduino-joystick-shield.jpg\" alt=\"Arduino joystick shield\" width=\"512\" height=\"400\" /> A joystick shield.[/caption]\r\n\r\n \r\n\r\nThe joystick shield is sold as a kit and requires soldering. It uses only five digital pins and two analog pins, leaving many other Arduino pins free for other uses. It has five pushbuttons, using digital pins 2 to 6. The movement of the joystick is measured using two potentiometers: analog 0 maps the <em>x,</em> or horizontal, movement; analog 1 maps the <em>y,</em> or vertical, movement.\r\n\r\nYou can find more details on the <a href=\"http://www.sparkfun.com/products/9760\">SparkFun product page</a>.\r\n<h3>Adafruit motor/stepper/servo shield kit v2.3</h3>\r\nMade by: Adafruit\r\n\r\nPrice: $19.95 from Adafruit\r\n\r\nPins used: 9, 10, A4, A5\r\n\r\nLove motors? Want to try them all? Then the Adafruit motor/stepper/servo shield is the one for you. The shield is aptly named, enabling you to run all those motors you love. You can connect up to two 5V hobby servos, two stepper motors, or four bidirectional DC motors. The screw terminals make attaching and switching motors easy. When dealing with motors, it’s always important to make sure that you have enough current to drive them all, so a handy screw terminal on the shield allows you to power your motors independently of your Arduino.\r\n\r\nThe Adafruit motor/stepper/servo shield is sold as a kit and requires soldering. Pins A4 and A5 control any connected DC or stepper motors, and pins 9 and 10 control any connected servos. This leaves you with a lot of pins free to be used for other inputs or outputs.\r\n\r\nYou can find many details on the <a href=\"http://www.adafruit.com/product/1438\">Adafruit product page</a> and in the <a href=\"https://learn.adafruit.com/adafruit-motor-shield-v2-for-arduino/\">in-depth tutorial</a>. Be aware of how much load is on the motor because the shield is designed to provide up to 600 mA per motor, with 1.2A peak current. If you’re approaching 1A, include a heat sink on the motor driver to dissipate the heat.\r\n\r\nAlso, the nice people at Adafruit provide an <a href=\"https://github.com/adafruit/Adafruit_Motor_Shield_V2_Library\">easy-to-use library for your motor project</a>. Happy motoring!\r\n<h3>LiPower shield</h3>\r\nMade by: SparkFun\r\n\r\nPrice: $29.95 from SparkFun\r\n\r\nPins used: 3\r\n\r\nIf you want to make your Arduino project more mobile, batteries are the answer. Rather than use bulky AA or AAA battery packs, the LiPower shield allows you to use rechargeable lithium batteries instead. Although lithium batteries are rated as only 3.7V, some clever hardware steps them up to 5V to make them sufficient to power your Arduino.\r\n\r\nThe LiPower shield is assembled but requires minor soldering to attach the header pins or header sockets. Because the LiPower shield is there to provide power and not consume it, only one pin is in use. Pin 3 can be configured as an alert interrupt pin to signal whenever the battery drops to 32 percent or lower.\r\n\r\nFor more details, check out the <a href=\"http://www.sparkfun.com/products/13158\">SparkFun product page</a>. You find interesting notes on the hardware regarding the difficulties with charging lithium batteries, so make sure to read all the comments below the product description.\r\n\r\nMany other smaller lithium breakout boards are available that supply the standard 3.7V, such as the <a href=\"http://www.sparkfun.com/products/12711\">SparkFun USB LiPoly charger</a> and the <a href=\"http://www.adafruit.com/product/1904\">Adafruit micro Lipo</a>. These breakout boards are perfect when paired with an appropriate low-voltage Arduino, such as the <a href=\"https://store-usa.arduino.cc/products/arduino-mkr1000-wifi\">Arduino MKR1000</a>. Boards such as the Arduino MRK1000 are useful when trying to reduce the size of your Arduino project.\r\n<h3>Adafruit Ultimate GPS logger shield</h3>\r\nMade by: Adafruit\r\n\r\nPrice: $44.95 from Adafruit\r\n\r\nPins used: 7, 8, 10, 11, 12, 13, A4, A5\r\n\r\nThe Adafruit Ultimate GPS logger shield lets you track and store location information using the Global Positioning System. You can find your location within a few meters. Use it to create GPS art or to map all your movements over the month. It’s also great for giving you an extremely accurate time. Data is stored on a microSD card as a TXT file, which can then be overlaid onto Google Maps or visualized in some other way.\r\n\r\nWith the ever-increasing storage capacity of SD cards, you can store much more data on an SD card than your Arduino can on its own internal memory. This extra capacity is especially useful because it keeps your data-logging device mobile without the need for a computer, so you can leave that bulky laptop at home and send your GPS device out into the world!\r\n\r\nThe Adafruit Ultimate GPS logger shield is sold without attached header pins and requires soldering. Pins 10, 11, 12, and 13 are used for communication with the SD card. The GPS module uses either the hardware serial connection (pins 0 and 1) or two pins for a software serial connection (pins 7 and 8). You can enable other optional functions, such as a signaling LED to indicate when data is logged, a pin to monitor the pulse from the GPS synchronization clock, and a pin to detect when an SD card is in the slot.\r\n\r\nGet the shield and more information on <a href=\"http://www.adafruit.com/product/1272\">Adafruit</a>. You can view an <a href=\"https://learn.adafruit.com/adafruit-ultimate-gps-logger-shield/\">in-depth tutorial on Adafruit’s site</a>, which details everything from construction of the kit to the Arduino code, along with uses for the GPS data.\r\n<h3>Adafruit FONA 800 shield</h3>\r\nMade by: Adafruit\r\n\r\nPrice: $39.95 from Adafruit\r\n\r\nPin requirements: 2, 3, 4\r\n\r\nThe Adafruit FONA 800 shield turns your modest Arduino into a functional mobile phone. With this shield, you can send and receive calls, text messages, and even data. All you need is a prepaid SIM card and an antenna, and you’re ready to communicate with the world. By using serial commands you can send codes to talk to the SIM800L module.\r\n\r\nThe Adafruit FONA 800 shield is sold without attached header pins. You also need to purchase an antenna with an SMA connector; <a href=\"http://www.adafruit.com/product/3237\">Adafruit offers a Slim Sticker-type GSM/Cellular quad-band antenna</a>. The Arduino talks with the SIM800L via pins 2 and 3 using the SoftwareSerial library.\r\n\r\nThe SIM card should have enough credit to perform the actions you’re trying to do. Those offering unlimited text messages are especially useful. Other optional extras are a mic and a speaker; without them, you won't be able to do anything more than call and hang up.\r\n\r\nYou can view an <a href=\"https://learn.adafruit.com/adafruit-fona-800-shield\">in-depth tutorial on Adafruit’s site</a>.\r\n<h3>Geiger counter – radiation sensor board shield</h3>\r\nMade by: Liberium\r\n\r\nPrice: $170 from Cooking Hacks\r\n\r\nPin requirements: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13\r\n\r\nThe radiation sensor board is probably one of the most impressive Arduino shields. It allows you to monitor radiation levels in the environment. This board was made to help the people of Japan monitor radiation levels following the radiation leakages in Fukushima in March 2011. The Geiger counter can use various Geiger tubes to detect different types and levels of radiation. There is also an LCD display, an LED, and a piezo speaker for feedback.\r\n<p class=\"article-tips warning\">This shield uses Geiger tubes that operate at dangerously high voltages (400V–1000V), so it requires extreme care. It is best to keep the radiation sensor board in an enclosure to keep it out of human contact. Radiation is dangerous, but so is electricity. If you don’t know what you’re doing, don’t mess around.</p>\r\nThe piezo speaker and LED are connected to pin 2, which triggers an interrupt with every pulse that the Geiger tube generates. Depending on the tube used and the number of pulses or counts per minute (cpm), you can determine the radiation level in Sieverts per hour. Pins 3 to 8 are used for the LCD display to generate the sensor readings in detail. Pins 9 to 13 are used for the LED bar to give clear visual feedback of the radiation level. The first three LEDs are green. The last two are red, showing that a high and potentially dangerous level of radiation is being approached.\r\n\r\nMore details on this project can be found on the <a href=\"http://www.cooking-hacks.com/index.php/documentation/tutorials/geiger-counter-arduino-radiation-sensor-board\">Cooking Hacks product page</a>","blurb":"","authors":[{"authorId":9682,"name":"John Nussey","slug":"john-nussey","description":" \t <p><b>John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9682"}}],"primaryCategoryTaxonomy":{"categoryId":33517,"title":"Arduino","slug":"arduino","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33517"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}},{"articleId":284787,"title":"What Your Society Says About You","slug":"what-your-society-says-about-you","categoryList":["academics-the-arts","humanities"],"_links":{"self":"/articles/284787"}}],"inThisArticle":[{"label":"Arduino shield combinations","target":"#tab1"},{"label":"Arduino shield reviews","target":"#tab2"}],"relatedArticles":{"fromBook":[{"articleId":258607,"title":"What You Should Know about Arduino Sensors: Using Capacitive Sensors","slug":"what-you-should-know-about-arduino-sensors-using-capacitive-sensors","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258607"}},{"articleId":258604,"title":"10 Awesome Arduino Resources","slug":"10-awesome-arduino-resources","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258604"}},{"articleId":258598,"title":"Finding and Browsing Arduino Libraries","slug":"finding-and-browsing-arduino-libraries","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258598"}},{"articleId":258583,"title":"How to Assemble an Arduino Shield","slug":"how-to-assemble-an-arduino-shield","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258583"}},{"articleId":258576,"title":"What is Arduino?","slug":"what-is-arduino","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258576"}}],"fromCategory":[{"articleId":258607,"title":"What You Should Know about Arduino Sensors: Using Capacitive Sensors","slug":"what-you-should-know-about-arduino-sensors-using-capacitive-sensors","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258607"}},{"articleId":258604,"title":"10 Awesome Arduino Resources","slug":"10-awesome-arduino-resources","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258604"}},{"articleId":258598,"title":"Finding and Browsing Arduino Libraries","slug":"finding-and-browsing-arduino-libraries","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258598"}},{"articleId":258583,"title":"How to Assemble an Arduino Shield","slug":"how-to-assemble-an-arduino-shield","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258583"}},{"articleId":258576,"title":"What is Arduino?","slug":"what-is-arduino","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258576"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":281630,"slug":"arduino-for-dummies-2nd-edition","isbn":"9781119489542","categoryList":["technology","computers","hardware","arduino"],"amazon":{"default":"https://www.amazon.com/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"https://www.amazon.ca/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"http://www.tkqlhce.com/click-9208661-13710633?url=https://www.chapters.indigo.ca/en-ca/books/product/1119489547-item.html&cjsku=978111945484","gb":"https://www.amazon.co.uk/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"https://www.amazon.de/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"https://www.dummies.com/wp-content/uploads/arduino-for-dummies-2nd-edition-cover-9781119489542-203x255.jpg","width":203,"height":255},"title":"Arduino For Dummies","testBankPinActivationLink":"","bookOutOfPrint":false,"authorsInfo":"<p><b data-author-id=\"9682\">John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. </p>","authors":[{"authorId":9682,"name":"John Nussey","slug":"john-nussey","description":" \t <p><b>John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9682"}}],"_links":{"self":"https://dummies-api.dummies.com/v2/books/"}},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;arduino&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119489542&quot;]}]\" id=\"du-slot-63221b429a859\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;arduino&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119489542&quot;]}]\" id=\"du-slot-63221b429b235\"></div></div>"},"articleType":{"articleType":"Articles","articleList":null,"content":null,"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Explore","lifeExpectancy":"One year","lifeExpectancySetFrom":"2022-07-19T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":258590},{"headers":{"creationTime":"2018-12-21T16:25:15+00:00","modifiedTime":"2022-07-19T18:58:10+00:00","timestamp":"2022-09-14T18:19:46+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Computers","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33513"},"slug":"computers","categoryId":33513},{"name":"Hardware","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33516"},"slug":"hardware","categoryId":33516},{"name":"Arduino","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33517"},"slug":"arduino","categoryId":33517}],"title":"10 Awesome Arduino Resources","strippedTitle":"10 awesome arduino resources","slug":"10-awesome-arduino-resources","canonicalUrl":"","seo":{"metaDescription":"If this is your first step into the world of Arduino, you will be relieved to know that you have an abundance of resources available on the Internet. You can fi","noIndex":0,"noFollow":0},"content":"If this is your first step into the world of Arduino, you will be relieved to know that you have an abundance of resources available on the Internet. You can find new Arduino-compatible hardware, projects, tutorials, and even inspiration. Check out these ten resources to learn more about Arduino\r\n<h2 id=\"tab1\" >Arduino blog</h2>\r\nThe <a href=\"https://blog.arduino.cc/\">Arduino blog</a> is a great source of all Arduino-related news. You can find news on the latest official hardware and software as well as on other interesting projects. Also found here are talks that the Arduino team wants to share with the community.\r\n<h2 id=\"tab2\" >Hack a Day</h2>\r\n<a href=\"https://hackaday.com/\">Hack a Day</a> is an excellent resource for all sorts of technological magic. In addition to presenting a lot of Arduino-related projects and posts, the site offers equal amounts of just about any other category of technology that you can think of. This site contains an excellent collection of posts and information to fuel the imagination.\r\n<h2 id=\"tab3\" >SparkFun</h2>\r\n<a href=\"https://www.sparkfun.com/\">SparkFun</a> manufactures and sells all sorts of products to make your projects possible, and many of these involve Arduino. SparkFun has an excellent and well-maintained newsfeed that always has some sort of interesting new product or kit to show off. The company also provides excellent videos that explain its kits and document events that the SparkFun team hosts or attends.\r\n<h2 id=\"tab4\" >MAKE</h2>\r\n<em><a href=\"https://makezine.com/\">MAKE</a></em> is hobbyist magazine that celebrates all kinds of technology. Its blog covers interesting do-it-yourself (DIY) technology and projects for inspiration. Arduino is so important to this community that it has its own subsection in the blog.\r\n<h2 id=\"tab5\" >Adafruit</h2>\r\n<a href=\"https://blog.adafruit.com/\">Adafruit</a> is an online shop, repository, and forum for all kinds of kits to help you make your projects work. Its blog announces the ever-growing selection of available Adafruit products as well as other interesting tech news.\r\n<h2 id=\"tab6\" >Instructables</h2>\r\n<a href=\"http://www.instructables.com/\">Instructables</a> is a web-based documentation platform that allows people to share their projects and step-by-step instructions. Instructables isn’t just about Arduino or even technology, so you can find a whole world of interesting material there.\r\n<h2 id=\"tab7\" >YouTube</h2>\r\n<a href=\"http://www.youtube.com/\">YouTube</a> is a great place to kill time, but rather than watching cats do funny things, why not enter <em>Arduino</em> in the site’s search box to discover new projects that people are sharing. YouTube videos won’t always be the most reliable source for well-documented projects, but the videos provide a broad look at Arduino projects in action. Watching videos is especially useful for seeing the proper result of projects.\r\n<h2 id=\"tab8\" >Hackerspaces</h2>\r\n<em><a href=\"https://hackerspaces.org/\">Hackerspaces</a></em> are physical spaces where artists, designers, makers, hackers, coders, engineers, or anyone else can meet to learn, socialize, and collaborate on projects. Hackerspaces are found in a loose network all over the world.\r\n<h2 id=\"tab9\" >Forum</h2>\r\nThe <a href=\"https://forum.arduino.cc/\">Arduino Forum</a> is a great place to get answers to specific Arduino questions. You often find that other people are working through the same problems that you are, so you’re likely to find the answer to almost any problem with some thorough searching.\r\n<h2 id=\"tab10\" >Friends, colleagues, and workshops</h2>\r\nStarting out in the world of Arduino can be difficult on your own. You can find many sources on the Internet, but one of the best ways to learn is with friends and colleagues, because learning together teaches you much more than learning on your own can.\r\n\r\nEven better is to go to workshops and meet other people. You may find that they have the same interests, allowing you to pool what you know; or they may have different interests, providing an opportunity to show you something new. Arduino workshops are taking place all over the world, so with some careful searching in the Arduino Forum, Hackerspace forums, and Google, you should be able to find a workshop near you.","description":"If this is your first step into the world of Arduino, you will be relieved to know that you have an abundance of resources available on the Internet. You can find new Arduino-compatible hardware, projects, tutorials, and even inspiration. Check out these ten resources to learn more about Arduino\r\n<h2 id=\"tab1\" >Arduino blog</h2>\r\nThe <a href=\"https://blog.arduino.cc/\">Arduino blog</a> is a great source of all Arduino-related news. You can find news on the latest official hardware and software as well as on other interesting projects. Also found here are talks that the Arduino team wants to share with the community.\r\n<h2 id=\"tab2\" >Hack a Day</h2>\r\n<a href=\"https://hackaday.com/\">Hack a Day</a> is an excellent resource for all sorts of technological magic. In addition to presenting a lot of Arduino-related projects and posts, the site offers equal amounts of just about any other category of technology that you can think of. This site contains an excellent collection of posts and information to fuel the imagination.\r\n<h2 id=\"tab3\" >SparkFun</h2>\r\n<a href=\"https://www.sparkfun.com/\">SparkFun</a> manufactures and sells all sorts of products to make your projects possible, and many of these involve Arduino. SparkFun has an excellent and well-maintained newsfeed that always has some sort of interesting new product or kit to show off. The company also provides excellent videos that explain its kits and document events that the SparkFun team hosts or attends.\r\n<h2 id=\"tab4\" >MAKE</h2>\r\n<em><a href=\"https://makezine.com/\">MAKE</a></em> is hobbyist magazine that celebrates all kinds of technology. Its blog covers interesting do-it-yourself (DIY) technology and projects for inspiration. Arduino is so important to this community that it has its own subsection in the blog.\r\n<h2 id=\"tab5\" >Adafruit</h2>\r\n<a href=\"https://blog.adafruit.com/\">Adafruit</a> is an online shop, repository, and forum for all kinds of kits to help you make your projects work. Its blog announces the ever-growing selection of available Adafruit products as well as other interesting tech news.\r\n<h2 id=\"tab6\" >Instructables</h2>\r\n<a href=\"http://www.instructables.com/\">Instructables</a> is a web-based documentation platform that allows people to share their projects and step-by-step instructions. Instructables isn’t just about Arduino or even technology, so you can find a whole world of interesting material there.\r\n<h2 id=\"tab7\" >YouTube</h2>\r\n<a href=\"http://www.youtube.com/\">YouTube</a> is a great place to kill time, but rather than watching cats do funny things, why not enter <em>Arduino</em> in the site’s search box to discover new projects that people are sharing. YouTube videos won’t always be the most reliable source for well-documented projects, but the videos provide a broad look at Arduino projects in action. Watching videos is especially useful for seeing the proper result of projects.\r\n<h2 id=\"tab8\" >Hackerspaces</h2>\r\n<em><a href=\"https://hackerspaces.org/\">Hackerspaces</a></em> are physical spaces where artists, designers, makers, hackers, coders, engineers, or anyone else can meet to learn, socialize, and collaborate on projects. Hackerspaces are found in a loose network all over the world.\r\n<h2 id=\"tab9\" >Forum</h2>\r\nThe <a href=\"https://forum.arduino.cc/\">Arduino Forum</a> is a great place to get answers to specific Arduino questions. You often find that other people are working through the same problems that you are, so you’re likely to find the answer to almost any problem with some thorough searching.\r\n<h2 id=\"tab10\" >Friends, colleagues, and workshops</h2>\r\nStarting out in the world of Arduino can be difficult on your own. You can find many sources on the Internet, but one of the best ways to learn is with friends and colleagues, because learning together teaches you much more than learning on your own can.\r\n\r\nEven better is to go to workshops and meet other people. You may find that they have the same interests, allowing you to pool what you know; or they may have different interests, providing an opportunity to show you something new. Arduino workshops are taking place all over the world, so with some careful searching in the Arduino Forum, Hackerspace forums, and Google, you should be able to find a workshop near you.","blurb":"","authors":[{"authorId":9682,"name":"John Nussey","slug":"john-nussey","description":" \t <p><b>John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9682"}}],"primaryCategoryTaxonomy":{"categoryId":33517,"title":"Arduino","slug":"arduino","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33517"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}},{"articleId":284787,"title":"What Your Society Says About You","slug":"what-your-society-says-about-you","categoryList":["academics-the-arts","humanities"],"_links":{"self":"/articles/284787"}}],"inThisArticle":[{"label":"Arduino blog","target":"#tab1"},{"label":"Hack a Day","target":"#tab2"},{"label":"SparkFun","target":"#tab3"},{"label":"MAKE","target":"#tab4"},{"label":"Adafruit","target":"#tab5"},{"label":"Instructables","target":"#tab6"},{"label":"YouTube","target":"#tab7"},{"label":"Hackerspaces","target":"#tab8"},{"label":"Forum","target":"#tab9"},{"label":"Friends, colleagues, and workshops","target":"#tab10"}],"relatedArticles":{"fromBook":[{"articleId":258607,"title":"What You Should Know about Arduino Sensors: Using Capacitive Sensors","slug":"what-you-should-know-about-arduino-sensors-using-capacitive-sensors","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258607"}},{"articleId":258598,"title":"Finding and Browsing Arduino Libraries","slug":"finding-and-browsing-arduino-libraries","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258598"}},{"articleId":258590,"title":"An Overview of Arduino Shields","slug":"an-overview-of-arduino-shields","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258590"}},{"articleId":258583,"title":"How to Assemble an Arduino Shield","slug":"how-to-assemble-an-arduino-shield","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258583"}},{"articleId":258576,"title":"What is Arduino?","slug":"what-is-arduino","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258576"}}],"fromCategory":[{"articleId":258607,"title":"What You Should Know about Arduino Sensors: Using Capacitive Sensors","slug":"what-you-should-know-about-arduino-sensors-using-capacitive-sensors","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258607"}},{"articleId":258598,"title":"Finding and Browsing Arduino Libraries","slug":"finding-and-browsing-arduino-libraries","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258598"}},{"articleId":258590,"title":"An Overview of Arduino Shields","slug":"an-overview-of-arduino-shields","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258590"}},{"articleId":258583,"title":"How to Assemble an Arduino Shield","slug":"how-to-assemble-an-arduino-shield","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258583"}},{"articleId":258576,"title":"What is Arduino?","slug":"what-is-arduino","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258576"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":281630,"slug":"arduino-for-dummies-2nd-edition","isbn":"9781119489542","categoryList":["technology","computers","hardware","arduino"],"amazon":{"default":"https://www.amazon.com/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"https://www.amazon.ca/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"http://www.tkqlhce.com/click-9208661-13710633?url=https://www.chapters.indigo.ca/en-ca/books/product/1119489547-item.html&cjsku=978111945484","gb":"https://www.amazon.co.uk/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"https://www.amazon.de/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"https://www.dummies.com/wp-content/uploads/arduino-for-dummies-2nd-edition-cover-9781119489542-203x255.jpg","width":203,"height":255},"title":"Arduino For Dummies","testBankPinActivationLink":"","bookOutOfPrint":false,"authorsInfo":"<p><b data-author-id=\"9682\">John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. </p>","authors":[{"authorId":9682,"name":"John Nussey","slug":"john-nussey","description":" \t <p><b>John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9682"}}],"_links":{"self":"https://dummies-api.dummies.com/v2/books/"}},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;arduino&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119489542&quot;]}]\" id=\"du-slot-63221b42916d3\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;arduino&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119489542&quot;]}]\" id=\"du-slot-63221b4291f50\"></div></div>"},"articleType":{"articleType":"Articles","articleList":null,"content":null,"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Explore","lifeExpectancy":"Two years","lifeExpectancySetFrom":"2022-07-19T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":258604},{"headers":{"creationTime":"2016-03-27T16:47:35+00:00","modifiedTime":"2022-04-14T20:08:33+00:00","timestamp":"2022-09-14T18:19:37+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Computers","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33513"},"slug":"computers","categoryId":33513},{"name":"Hardware","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33516"},"slug":"hardware","categoryId":33516},{"name":"BeagleBone","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33518"},"slug":"beaglebone","categoryId":33518}],"title":"BeagleBone For Dummies Cheat Sheet","strippedTitle":"beaglebone for dummies cheat sheet","slug":"beaglebone-for-dummies-cheat-sheet","canonicalUrl":"","seo":{"metaDescription":"Learn to use the affordable and small yet mighty BeagleBone board to power your electronic and software projects.","noIndex":0,"noFollow":0},"content":"BeagleBone is an exciting tiny board that brings your electronics and software projects to life. Its affordability and ease of use make it popular among hardware enthusiasts and programmers. The following articles help you get started using this powerful board.","description":"BeagleBone is an exciting tiny board that brings your electronics and software projects to life. Its affordability and ease of use make it popular among hardware enthusiasts and programmers. The following articles help you get started using this powerful board.","blurb":"","authors":[{"authorId":9270,"name":"Rui Santos","slug":"rui-santos","description":"","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9270"}},{"authorId":9271,"name":"Luis Miguel Costa Perestrelo","slug":"luis-miguel-costa-perestrelo","description":"","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9271"}}],"primaryCategoryTaxonomy":{"categoryId":33518,"title":"BeagleBone","slug":"beaglebone","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33518"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}},{"articleId":284787,"title":"What Your Society Says About You","slug":"what-your-society-says-about-you","categoryList":["academics-the-arts","humanities"],"_links":{"self":"/articles/284787"}}],"inThisArticle":[],"relatedArticles":{"fromBook":[],"fromCategory":[{"articleId":203333,"title":"7 Capes You Can Add to the BeagleBone","slug":"7-capes-you-can-add-to-the-beaglebone","categoryList":["technology","computers","hardware","beaglebone"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/203333"}},{"articleId":203332,"title":"4 Amazing Projects for the BeagleBone","slug":"4-amazing-projects-for-the-beaglebone","categoryList":["technology","computers","hardware","beaglebone"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/203332"}},{"articleId":145670,"title":"Comparing BeagleBone Black and Raspberry Pi","slug":"comparing-beaglebone-black-and-raspberry-pi","categoryList":["technology","computers","hardware","beaglebone"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/145670"}},{"articleId":144981,"title":"How to Connect the BeagleBone Black via Serial over USB","slug":"how-to-connect-the-beaglebone-black-via-serial-over-usb","categoryList":["technology","computers","hardware","beaglebone"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/144981"}},{"articleId":144980,"title":"How to Connect via Secure Shell over Ethernet","slug":"how-to-connect-via-secure-shell-over-ethernet","categoryList":["technology","computers","hardware","beaglebone"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/144980"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":0,"slug":null,"isbn":null,"categoryList":null,"amazon":null,"image":null,"title":null,"testBankPinActivationLink":null,"bookOutOfPrint":false,"authorsInfo":null,"authors":null,"_links":null},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;beaglebone&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[null]}]\" id=\"du-slot-63221b39a16e4\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;beaglebone&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[null]}]\" id=\"du-slot-63221b39a20c2\"></div></div>"},"articleType":{"articleType":"Cheat Sheet","articleList":[{"articleId":145658,"title":"Preparing Your BeagleBone","slug":"preparing-your-beaglebone","categoryList":[],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/145658"}},{"articleId":145653,"title":"Measuring Voltage with a Multimeter","slug":"measuring-voltage-with-a-multimeter","categoryList":[],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/145653"}}],"content":[{"title":"Preparing your BeagleBone","thumb":null,"image":null,"content":"<p>When your BeagleBone arrives, it comes in a box with everything you need. Grab your BeagleBone and the Mini USB cable that came with it; then plug your BeagleBone into your computer. In less than 10 seconds, your BeagleBone will be fully ready to use.</p>\n<h2>Installing your BeagleBone’s drivers</h2>\n<p>Follow these steps to find your BeagleBone’s drivers:</p>\n<ol class=\"level-one\">\n<li>\n<p class=\"first-para\">Open your computer’s file system.</p>\n</li>\n<li>\n<p class=\"first-para\">Double-click the BeagleBone Getting Started disk.</p>\n</li>\n<li>\n<p class=\"first-para\">Open the <span class=\"code\">START.htm</span> web page in your default web browser.</p>\n<p class=\"child-para\">This step launches a web page that has instructions for installing your drivers.</p>\n</li>\n<li>\n<p class=\"first-para\">In your web page, go to the step called Install drivers.</p>\n<p class=\"child-para\">You should see in your <span class=\"code\">START.htm</span> a table that lists the various operating systems and their USB drivers.</p>\n<p><img loading=\"lazy\" src=\"https://www.dummies.com/wp-content/uploads/463013.image0.jpg\" alt=\"image0.jpg\" width=\"535\" height=\"184\" /></p>\n<p class=\"child-para\">Click the link for your operating system, and your driver download starts immediately. Then open your driver and click Next in all the installation screens until installation is finished, just as you install any other software on your computer. This process works similarly for Windows, Mac OS, and Linux.</p>\n</li>\n</ol>\n<h2>Accessing your BeagleBone with your web browser</h2>\n<p>With your BeagleBone connected to your computer and with the drivers installed, open this URL in your web browser: <a href=\"http://192.68.7.2/\">http://192.68.7.2</a>. If everything is working, you should see a new web page with a green box at the top that says <span class=\"code\">Your board is connected!</span> That web page is being hosted by your BeagleBone.</p>\n<p>Now you can have some fun exploring the menus, which contain a lot of information about and examples of BoneScript.</p>\n<p><img loading=\"lazy\" src=\"https://www.dummies.com/wp-content/uploads/463014.image1.jpg\" alt=\"image1.jpg\" width=\"160\" height=\"400\" /></p>\n"},{"title":"Measuring voltage with a multimeter","thumb":null,"image":null,"content":"<p>When something isn’t working on your BeagleBone, measuring the voltages around your circuit can be a good start on finding the problem. Why isn’t the LED lighting up, for example? Maybe not enough voltage is being supplied to it. If you know that the LED needs about 1.8V to light up, and your multimeter reading is a lower value, the issue may be a depleted battery. You can also use the multimeter to check it.</p>\n<p><img loading=\"lazy\" src=\"https://www.dummies.com/wp-content/uploads/463017.image0.jpg\" alt=\"image0.jpg\" width=\"535\" height=\"357\" /></p>\n<p>To measure voltage, you have to connect your multimeter in parallel with the component you want to measure, such as a battery, an LED, or a resistor. After setting the mode to V (which is indicated by the dash with three dots underneath for DC), connect the red probe (which should be connected to a socket with a V next to it) to the positive side of your component, which is where the current is coming from. Connect the black probe (which should be connected to the COM socket) to the negative side.</p>\n<p><img loading=\"lazy\" src=\"https://www.dummies.com/wp-content/uploads/463018.image1.jpg\" alt=\"image1.jpg\" width=\"535\" height=\"357\" /></p>\n<p>Placing the multimeter in parallel means placing each probe along the legs of the component you want to measure.</p>\n<p>Keep in mind that the COM probe is simply a point of reference for your measurement, which means that if you’d connected the probes in the reverse order of what’s described earlier, the multimeter would display the same voltage with a negative value. Also, you can measure voltage along more than one component in series. If the first component has a voltage drop of 3V and the next one has a voltage drop of 5V, the value you see on the display is the sum of both. In this example, the value would be 8V.</p>\n"}],"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Explore","lifeExpectancy":"One year","lifeExpectancySetFrom":"2022-04-14T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":207579},{"headers":{"creationTime":"2016-03-27T16:47:43+00:00","modifiedTime":"2022-03-14T18:13:51+00:00","timestamp":"2022-09-14T18:19:25+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Computers","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33513"},"slug":"computers","categoryId":33513},{"name":"Hardware","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33516"},"slug":"hardware","categoryId":33516},{"name":"Raspberry Pi","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33519"},"slug":"raspberry-pi","categoryId":33519}],"title":"Raspberry Pi For Dummies Cheat Sheet","strippedTitle":"raspberry pi for dummies cheat sheet","slug":"raspberry-pi-for-dummies-cheat-sheet","canonicalUrl":"","seo":{"metaDescription":"Learn how to find and install great free software on your Raspberry Pi as well as how to program in Scratch.","noIndex":0,"noFollow":0},"content":"The Raspberry Pi is perhaps the most inspiring computer available today. It comes with the tools you need to start making your own software, and you can connect your own electronic inventions to it. These tips show you how to discover and install great free software on your Raspberry Pi and how to program in Scratch.","description":"The Raspberry Pi is perhaps the most inspiring computer available today. It comes with the tools you need to start making your own software, and you can connect your own electronic inventions to it. These tips show you how to discover and install great free software on your Raspberry Pi and how to program in Scratch.","blurb":"","authors":[{"authorId":9304,"name":"Sean McManus","slug":"sean-mcmanus","description":" <p><b>Sean McManus </b>is an expert technology and business author. His previous books include <i>Mission Python, Coder Academy</i>, and <i>Cool Scratch Projects in Easy Steps</i>.</p> <p><b>Mike Cook </b>is a former professor in physics at Manchester Metropolitan University. His other books include <i>Raspberry Pi Projects</i> and <i>Raspberry Pi Projects For Dummies</i>.</p>","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9304"}},{"authorId":9222,"name":"Mike Cook","slug":"mike-cook","description":" <p><b>Sean McManus </b>is an expert technology and business author. His previous books include <i>Mission Python, Coder Academy</i>, and <i>Cool Scratch Projects in Easy Steps</i>.</p> <p><b>Mike Cook </b>is a former professor in physics at Manchester Metropolitan University. His other books include <i>Raspberry Pi Projects</i> and <i>Raspberry Pi Projects For Dummies</i>.</p>","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9222"}}],"primaryCategoryTaxonomy":{"categoryId":33519,"title":"Raspberry Pi","slug":"raspberry-pi","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33519"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}},{"articleId":284787,"title":"What Your Society Says About You","slug":"what-your-society-says-about-you","categoryList":["academics-the-arts","humanities"],"_links":{"self":"/articles/284787"}}],"inThisArticle":[],"relatedArticles":{"fromBook":[{"articleId":246452,"title":"How to Set Up the Media Center on Your Raspberry Pi","slug":"set-media-center-raspberry-pi","categoryList":["technology","computers","hardware","raspberry-pi"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/246452"}},{"articleId":246448,"title":"Navigating the Media Center on Your Raspberry Pi","slug":"navigating-media-center-raspberry-pi","categoryList":["technology","computers","hardware","raspberry-pi"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/246448"}},{"articleId":246445,"title":"How to Change the Settings on Your Raspberry Pi","slug":"change-settings-raspberry-pi","categoryList":["technology","computers","hardware","raspberry-pi"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/246445"}},{"articleId":246442,"title":"How to Use Music Samples on Your Raspberry Pi","slug":"use-music-samples-raspberry-pi","categoryList":["technology","computers","hardware","raspberry-pi"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/246442"}},{"articleId":246439,"title":"How to Use Python to Access GPIO Pins on Your Raspberry Pi","slug":"use-python-access-gpio-pins-raspberry-pi","categoryList":["technology","computers","hardware","raspberry-pi"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/246439"}}],"fromCategory":[{"articleId":246452,"title":"How to Set Up the Media Center on Your Raspberry Pi","slug":"set-media-center-raspberry-pi","categoryList":["technology","computers","hardware","raspberry-pi"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/246452"}},{"articleId":246448,"title":"Navigating the Media Center on Your Raspberry Pi","slug":"navigating-media-center-raspberry-pi","categoryList":["technology","computers","hardware","raspberry-pi"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/246448"}},{"articleId":246445,"title":"How to Change the Settings on Your Raspberry Pi","slug":"change-settings-raspberry-pi","categoryList":["technology","computers","hardware","raspberry-pi"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/246445"}},{"articleId":246442,"title":"How to Use Music Samples on Your Raspberry Pi","slug":"use-music-samples-raspberry-pi","categoryList":["technology","computers","hardware","raspberry-pi"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/246442"}},{"articleId":246439,"title":"How to Use Python to Access GPIO Pins on Your Raspberry Pi","slug":"use-python-access-gpio-pins-raspberry-pi","categoryList":["technology","computers","hardware","raspberry-pi"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/246439"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":281848,"slug":"raspberry-pi-for-dummies","isbn":"9781119796824","categoryList":["technology","computers","hardware","raspberry-pi"],"amazon":{"default":"https://www.amazon.com/gp/product/1119796822/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"https://www.amazon.ca/gp/product/1119796822/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"http://www.tkqlhce.com/click-9208661-13710633?url=https://www.chapters.indigo.ca/en-ca/books/product/1119796822-item.html&cjsku=978111945484","gb":"https://www.amazon.co.uk/gp/product/1119796822/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"https://www.amazon.de/gp/product/1119796822/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"https://www.dummies.com/wp-content/uploads/raspberry-pi-for-dummies-4e-cover-9781119796824-203x255.jpg","width":203,"height":255},"title":"Raspberry Pi For Dummies","testBankPinActivationLink":"","bookOutOfPrint":true,"authorsInfo":"<p><b><b data-author-id=\"9304\">Sean McManus</b> </b>is an expert technology and business author. His previous books include <i>Mission Python, Coder Academy</i>, and <i>Cool Scratch Projects in Easy Steps</i>.</p> <p><b>Mike Cook </b>is a former professor in physics at Manchester Metropolitan University. His other books include <i>Raspberry Pi Projects</i> and <i>Raspberry Pi Projects For Dummies</i>.</p> <p><b>Sean McManus </b>is an expert technology and business author. His previous books include <i>Mission Python, Coder Academy</i>, and <i>Cool Scratch Projects in Easy Steps</i>.</p> <p><b><b data-author-id=\"9222\">Mike Cook</b> </b>is a former professor in physics at Manchester Metropolitan University. His other books include <i>Raspberry Pi Projects</i> and <i>Raspberry Pi Projects For Dummies</i>.</p>","authors":[{"authorId":9304,"name":"Sean McManus","slug":"sean-mcmanus","description":" <p><b>Sean McManus </b>is an expert technology and business author. His previous books include <i>Mission Python, Coder Academy</i>, and <i>Cool Scratch Projects in Easy Steps</i>.</p> <p><b>Mike Cook </b>is a former professor in physics at Manchester Metropolitan University. His other books include <i>Raspberry Pi Projects</i> and <i>Raspberry Pi Projects For Dummies</i>.</p>","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9304"}},{"authorId":9222,"name":"Mike Cook","slug":"mike-cook","description":" <p><b>Sean McManus </b>is an expert technology and business author. His previous books include <i>Mission Python, Coder Academy</i>, and <i>Cool Scratch Projects in Easy Steps</i>.</p> <p><b>Mike Cook </b>is a former professor in physics at Manchester Metropolitan University. His other books include <i>Raspberry Pi Projects</i> and <i>Raspberry Pi Projects For Dummies</i>.</p>","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9222"}}],"_links":{"self":"https://dummies-api.dummies.com/v2/books/"}},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;raspberry-pi&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119796824&quot;]}]\" id=\"du-slot-63221b2d14689\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;raspberry-pi&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119796824&quot;]}]\" id=\"du-slot-63221b2d15002\"></div></div>"},"articleType":{"articleType":"Cheat Sheet","articleList":[{"articleId":147468,"title":"How to Install Games and Other Software on the Raspberry Pi","slug":"how-to-install-games-and-other-software-on-the-raspberry-pi","categoryList":["technology","computers","hardware","raspberry-pi"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/147468"}},{"articleId":147474,"title":"Programming in Scratch","slug":"programming-in-scratch","categoryList":["technology","computers","hardware","raspberry-pi"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/147474"}}],"content":[{"title":"How to install games and other software on the Raspberry Pi","thumb":null,"image":null,"content":"<p>You can discover new software to install using the command line, but there&#8217;s also a friendly menu system you can use in the desktop environment. On the Applications menu, hover over the Preferences option and click Add/Remove Software to get started. You need to have an active Internet connection.</p>\n<p>The menu looks like this:</p>\n<p><a href=\"https://www.dummies.com/wp-content/uploads/raspberry-pi-add-remove.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-244250\" src=\"https://www.dummies.com/wp-content/uploads/raspberry-pi-add-remove.jpg\" alt=\"raspberry-pi-add-remove\" width=\"535\" height=\"337\" /></a></p>\n<p>In the top left is a search box, where you can enter the name of a program you&#8217;re looking for, or a phrase such as <em>puzzle games</em> to explore what&#8217;s available. On the left are categories you can click to see your options.</p>\n<p>The main pane shows you the packages, with a scrollbar on the right that you can use to see the full list. Those that are already checked (or <em>ticked</em>) and shown in bold are already installed on your Raspberry Pi. You can click a package to see its description below. To select a package for installation, tick the box beside it. To remove it, untick it.</p>\n<p>When you&#8217;ve finished choosing your software, click the OK button to install and remove the applications. You will be prompted to enter your password (which is <em>raspberry</em>, unless you&#8217;ve changed it). It can take some time to download and install the software, so it&#8217;s a good idea to choose a few applications and leave them to install in one batch while you do something else.</p>\n<p>The menu ensures that any applications that your chosen application requires also get installed. When you install the puzzle game Brain Party, for example, the menu automatically installed its separate data package for you.</p>\n<p>Your software is now installed! You should be able to run it either from the shell by entering its name (for example, penguinspuzzle), or through your Applications menu in the desktop environment.</p>\n<p>The menu makes it easy to install software, but you might find that not all the software works well on the Raspberry Pi. It&#8217;s easy enough to try something, though, and remove it if it doesn&#8217;t do what you need. It&#8217;s all free.</p>\n"},{"title":"Programming in Scratch","thumb":null,"image":null,"content":"<p>The Raspberry Pi was created partly to inspire the next generation of programmers, and Scratch is the perfect place to start. With it, you can make your own cartoons and games and discover some of the concepts that professional programmers use every day.</p>\n<p>Scratch is designed to be approachable for people of all ages. The visual interface makes it easy to see what you can do at any time without having to remember any strange codes, and you can rapidly achieve great results. Scratch comes with a library of images and sounds, so it only takes a few minutes to write your first Scratch program.</p>\n<h2>The Scratch screen layout</h2>\n<p>There are two versions of Scratch installed in Raspbian:</p>\n<ul>\n<li><strong>Scratch:</strong> This is the original version of Scratch, widely known as Scratch 1.4. If you&#8217;re a newcomer to Scratch, we recommend you start by using the original Scratch, because your programs will run much more quickly.</li>\n<li><strong>Scratch 2:</strong> This adds some features that are not available in the original Scratch, including the ability for sprites (which are, roughly speaking, game characters) to create copies of themselves, and a feature to make your own blocks (or instructions). Because Scratch 2 requires the Flash software to work, it only runs on the Raspberry Pi 2 and Raspberry Pi 3. Some programs, especially action games, run significantly slower in this version of Scratch, because of all the layers of software required to run Flash on the Raspberry Pi. Simple programs will run fine, but if you want to make games you will soon notice a performance difference.</li>\n</ul>\n<p><a href=\"https://www.dummies.com/wp-content/uploads/raspberry-pi-scratch.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-244254\" src=\"https://www.dummies.com/wp-content/uploads/raspberry-pi-scratch.jpg\" alt=\"raspberry-pi-scratch\" width=\"535\" height=\"384\" /></a></p>\n<p>Scratch divides the screen into four main areas. The Stage is where you can see your game or animation take shape. There&#8217;s a cat on it already, so you can get started straightaway by making it do things, as you see in a minute. In Scratch, the Stage is in the top right, and in Scratch 2, it&#8217;s in the top left.</p>\n<p>Underneath the Stage is your Sprite List. You can think of sprites as the characters in your game. They&#8217;re images that you can make do things, such as move around or change their appearance. For now, there&#8217;s just the cat, which has the name Sprite1 in Scratch and Cat1 in Scratch 2.</p>\n<p>You create a Scratch program by snapping together <em>blocks</em>, which are short instructions. You find the blocks in the Blocks palette, which is on the left in Scratch and in the middle in Scratch 2. In both cases, it displays the Motion blocks by default. They include instructions to move ten steps, rotate, go to a particular grid reference, and point in a particular direction.</p>\n<p>The Scripts area is where the magic happens! You assemble your program in this space, by dragging blocks into it from the Blocks Palette. The Scripts area is in the middle in the original Scratch, and on the right in Scratch 2.</p>\n<p><a href=\"https://www.dummies.com/wp-content/uploads/raspberry-pi-scripts.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-244255\" src=\"https://www.dummies.com/wp-content/uploads/raspberry-pi-scripts.jpg\" alt=\"raspberry-pi-scripts\" width=\"535\" height=\"382\" /></a></p>\n<h2>Making your sprite move under keyboard control</h2>\n<p>You can make this simple example using either version of Scratch.</p>\n<p>To make your sprite move under keyboard control, assemble the program in the following figure. You need to click the Control button above the Blocks Palette to view the yellow blocks, and the Motion button to see the blocks to change the x and y coordinates. The keyboard control block is called When [space] Key Pressed, and you can click where it says [space] to change that to a different key. The movement blocks to change the x and y position have the number 10 in them by default, but you can click in the box and type your chosen number.</p>\n<p><a href=\"https://www.dummies.com/wp-content/uploads/raspberry-pi-sprite.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-244256\" src=\"https://www.dummies.com/wp-content/uploads/raspberry-pi-sprite.jpg\" alt=\"raspberry-pi-sprite\" width=\"300\" height=\"423\" /></a></p>\n<h2>Adding a bouncing ball</h2>\n<p>There are three or four New Sprite buttons above the Sprite List. In Scratch, the middle button, which shows a folder on a star, is for choosing a new sprite from a file. In Scratch 2.0, the first button with a spiky-haired character on it is for choosing a new sprite from the library. Click the button and use the file browser to find a ball sprite in the Things folder.</p>\n<p>Now you have two sprites in the Sprite List. To choose which one you add blocks to, you click it first. Click the ball in the Sprite List (not on the Stage) to make sure it’s selected.</p>\n<p>Then add the program in the following figure.</p>\n<p><a href=\"https://www.dummies.com/wp-content/uploads/raspberry-pi-ball.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-244257\" src=\"https://www.dummies.com/wp-content/uploads/raspberry-pi-ball.jpg\" alt=\"raspberry-pi-ball\" width=\"344\" height=\"294\" /></a></p>\n<p>When you click the green flag above the Stage to start your program, the ball will start bouncing from left to right and back again, and you can move the cat to try to cross its path without getting hit. Well done! You’ve made your first simple game!</p>\n<h2>Online Scratch resources</h2>\n<p>For more help with Scratch, see the following links:</p>\n<ul>\n<li><a href=\"http://wiki.scratch.mit.edu/wiki/Scratch_Wiki\">Scratch Wiki</a>: The Scratch Wiki is a community resource that includes documentation of all the Scratch blocks.</li>\n<li><a href=\"http://www.sean.co.uk/books/scratch-programming-in-easy-steps/10-block-demos.shtm\">10 Block Demos</a>: What can you do with Scratch in 10 blocks or fewer? These simple examples by Sean McManus, co-author of <em>Raspberry Pi For Dummies, 3rd Edition</em>, show you how to make a password, make a sprite explode, draw any shape, and more.</li>\n<li><a href=\"http://www.sean.co.uk/books/scratch-programming-in-easy-steps/debugging-scratch-programs.shtm\">Debugging Scratch programs</a>: Some tips on the most common bugs in Scratch programs and how you can find them.</li>\n<li><a href=\"http://projects.codeclubworld.org/en-GB/index.html\">Code Club Scratch Projects</a>: Code Club provides project tutorials that are typically used in schools, but you can use them at home too.</li>\n<li><a href=\"http://scratched.gse.harvard.edu/\">ScratchEd</a>: A site for educators that includes lots of links to example Scratch projects and other resources.</li>\n</ul>\n"}],"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Advance","lifeExpectancy":"Two years","lifeExpectancySetFrom":"2022-03-14T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":207610},{"headers":{"creationTime":"2016-03-27T16:47:57+00:00","modifiedTime":"2022-02-25T17:51:23+00:00","timestamp":"2022-09-14T18:19:16+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Computers","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33513"},"slug":"computers","categoryId":33513},{"name":"Hardware","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33516"},"slug":"hardware","categoryId":33516},{"name":"General Hardware","_links":{"self":"https://dummies-api.dummies.com/v2/categories/34380"},"slug":"general-hardware","categoryId":34380}],"title":"Build Your Own PC Do-It-Yourself For Dummies Cheat Sheet","strippedTitle":"build your own pc do-it-yourself for dummies cheat sheet","slug":"build-your-own-pc-do-it-yourself-for-dummies-cheat-sheet","canonicalUrl":"","seo":{"metaDescription":"You don't have to be a mad scientist to build your own PC! Learn some common sense rules to follow in this cheat sheet.","noIndex":0,"noFollow":0},"content":"Whether you want to build a basic, mid-range, or high-end PC, make sure you have the necessary components and follow some general commonsense rules for easy assembly of your PC. Once you have your PC together, get to know the beep codes your computer will make and what they mean.","description":"Whether you want to build a basic, mid-range, or high-end PC, make sure you have the necessary components and follow some general commonsense rules for easy assembly of your PC. Once you have your PC together, get to know the beep codes your computer will make and what they mean.","blurb":"","authors":[{"authorId":9010,"name":"Mark L. Chambers","slug":"mark-l-chambers","description":" <p><b>Mark L. Chambers</b> is a technical author, computer consultant, programmer, and hardware technician with over 30 years of experience. He has written over 30 computer books, including <i>MacBook For Dummies, 9th Edition and Macs For Seniors For &#173;Dummies, 4th Edition.</p> ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9010"}}],"primaryCategoryTaxonomy":{"categoryId":34380,"title":"General Hardware","slug":"general-hardware","_links":{"self":"https://dummies-api.dummies.com/v2/categories/34380"}},"secondaryCategoryTaxonomy":{"categoryId":33536,"title":"PCs","slug":"pcs","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33536"}},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}},{"articleId":284787,"title":"What Your Society Says About You","slug":"what-your-society-says-about-you","categoryList":["academics-the-arts","humanities"],"_links":{"self":"/articles/284787"}}],"inThisArticle":[],"relatedArticles":{"fromBook":[{"articleId":194162,"title":"Making Sense of PC Beep Code Descriptions","slug":"making-sense-of-pc-beep-code-descriptions","categoryList":["technology","computers","hardware","general-hardware"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/194162"}},{"articleId":194152,"title":"What You Need to Build a Basic PC","slug":"what-you-need-to-build-a-basic-pc","categoryList":["technology","computers","hardware","general-hardware"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/194152"}},{"articleId":194153,"title":"Equipment for Building a Mid-Range PC","slug":"equipment-for-building-a-mid-range-pc","categoryList":["technology","computers","hardware","general-hardware"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/194153"}},{"articleId":194150,"title":"What You Need to Build a Top-of-the-Line PC","slug":"what-you-need-to-build-a-top-of-the-line-pc","categoryList":["technology","computers","hardware","general-hardware"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/194150"}},{"articleId":194151,"title":"Commonsense Rules for Computer Assembly","slug":"commonsense-rules-for-computer-assembly","categoryList":["technology","computers","hardware","general-hardware"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/194151"}}],"fromCategory":[{"articleId":202242,"title":"Considering Video Card Features","slug":"considering-video-card-features","categoryList":["technology","computers","hardware","general-hardware"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/202242"}},{"articleId":202194,"title":"How to Disable the Modem in Your Laptop","slug":"how-to-disable-the-modem-in-your-laptop","categoryList":["technology","computers","hardware","general-hardware"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/202194"}},{"articleId":202178,"title":"How to Choose a Sound Card for Your PC","slug":"how-to-choose-a-sound-card-for-your-pc","categoryList":["technology","computers","hardware","general-hardware"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/202178"}},{"articleId":202091,"title":"Connect Peripherals to Your PC","slug":"connect-peripherals-to-your-pc","categoryList":["technology","computers","hardware","general-hardware"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/202091"}},{"articleId":202077,"title":"How to Decide Whether to Upgrade Your CPU/Motherboard","slug":"how-to-decide-whether-to-upgrade-your-cpumotherboard","categoryList":["technology","computers","hardware","general-hardware"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/202077"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":281644,"slug":"build-your-own-pc-do-it-yourself-for-dummies","isbn":"9780470196113","categoryList":["technology","computers","hardware","general-hardware"],"amazon":{"default":"https://www.amazon.com/gp/product/0470196114/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"https://www.amazon.ca/gp/product/0470196114/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"http://www.tkqlhce.com/click-9208661-13710633?url=https://www.chapters.indigo.ca/en-ca/books/product/0470196114-item.html&cjsku=978111945484","gb":"https://www.amazon.co.uk/gp/product/0470196114/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"https://www.amazon.de/gp/product/0470196114/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"https://www.dummies.com/wp-content/uploads/build-your-own-pc-do-it-yourself-for-dummies-cover-9780470196113-203x255.jpg","width":203,"height":255},"title":"Build Your Own PC Do-It-Yourself For Dummies","testBankPinActivationLink":"","bookOutOfPrint":false,"authorsInfo":"<p>Mark L. Chambers has been building, customizing, and repairing PCs for over 20 years for himself and clients. As a consultant, he helps everyday folks update, maintain, and troubleshoot PCs.</p>","authors":[{"authorId":9010,"name":"Mark L. Chambers","slug":"mark-l-chambers","description":" <p><b>Mark L. Chambers</b> is a technical author, computer consultant, programmer, and hardware technician with over 30 years of experience. He has written over 30 computer books, including <i>MacBook For Dummies, 9th Edition and Macs For Seniors For &#173;Dummies, 4th Edition.</p> ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9010"}}],"_links":{"self":"https://dummies-api.dummies.com/v2/books/"}},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;general-hardware&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9780470196113&quot;]}]\" id=\"du-slot-63221b24eab43\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;general-hardware&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9780470196113&quot;]}]\" id=\"du-slot-63221b24eb586\"></div></div>"},"articleType":{"articleType":"Cheat Sheet","articleList":[{"articleId":194152,"title":"What You Need to Build a Basic PC","slug":"what-you-need-to-build-a-basic-pc","categoryList":["technology","computers","hardware","general-hardware"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/194152"}},{"articleId":194153,"title":"Equipment for Building a Mid-Range PC","slug":"equipment-for-building-a-mid-range-pc","categoryList":["technology","computers","hardware","general-hardware"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/194153"}},{"articleId":194162,"title":"Making Sense of PC Beep Code Descriptions","slug":"making-sense-of-pc-beep-code-descriptions","categoryList":["technology","computers","hardware","general-hardware"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/194162"}},{"articleId":194150,"title":"What You Need to Build a Top-of-the-Line PC","slug":"what-you-need-to-build-a-top-of-the-line-pc","categoryList":["technology","computers","hardware","general-hardware"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/194150"}},{"articleId":194151,"title":"Commonsense Rules for Computer Assembly","slug":"commonsense-rules-for-computer-assembly","categoryList":["technology","computers","hardware","general-hardware"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/194151"}}],"content":[{"title":"What you need to build a basic PC","thumb":null,"image":null,"content":"<p>The basic, no-frills model PC will cost you the least to build. This type of computer is great for word processing, Internet e-mail, keeping track of finances, and simple applications that don’t need lots of memory or a fast computer. Here’s a list of equipment you need to build an entry level PC:</p>\n<table>\n<tbody>\n<tr>\n<th>Computer Component</th>\n<th>What to Look For</th>\n</tr>\n<tr>\n<td>Case</td>\n<td>Standard “pizza-box,” ATX minitower, or desk-top<br />\nmodel; single fan</td>\n</tr>\n<tr>\n<td>CPU/motherboard</td>\n<td>Intel Celeron or AMD Sempron; PCI slots</td>\n</tr>\n<tr>\n<td>System RAM</td>\n<td>512MB</td>\n</tr>\n<tr>\n<td>Hard drive</td>\n<td>One EIDE drive, 120GB minimum</td>\n</tr>\n<tr>\n<td>Optical drive</td>\n<td>16x internal DVD drive</td>\n</tr>\n<tr>\n<td>Video card</td>\n<td>Standard 128MB PCI/AGP adapter</td>\n</tr>\n<tr>\n<td>Sound card</td>\n<td>PCI audio card</td>\n</tr>\n<tr>\n<td>Monitor</td>\n<td>17-inch LCD</td>\n</tr>\n<tr>\n<td>Ports</td>\n<td>At least four USB 2.0 ports</td>\n</tr>\n<tr>\n<td>Input</td>\n<td>Standard keyboard; mouse</td>\n</tr>\n</tbody>\n</table>\n"},{"title":"Equipment for building a mid-range PC","thumb":null,"image":null,"content":"<p>If you’re looking for a computer to browse the Web, e-mail, use simple desktop publishing software, or work with more advanced productivity programs (like spreadsheets and scheduling applications), then a standard model PC is for you. Here’s the equipment you&#8217;ll need to build this PC:</p>\n<table>\n<tbody>\n<tr>\n<th>Computer Component</th>\n<th>What to Look For</th>\n</tr>\n<tr>\n<td>Case</td>\n<td>ATX minitower model; dual fan</td>\n</tr>\n<tr>\n<td>CPU/motherboard</td>\n<td>Intel Core 2 Duo or AMD 64 Athlon X2; PCI and PCI-Express<br />\nslots</td>\n</tr>\n<tr>\n<td>System RAM</td>\n<td>1GB</td>\n</tr>\n<tr>\n<td>Hard drive</td>\n<td>One EIDE or SATA drive, 240GB minimum</td>\n</tr>\n<tr>\n<td>Optical drive</td>\n<td>16x internal DVD recorder</td>\n</tr>\n<tr>\n<td>Modem</td>\n<td>56 Kbps v.90 internal data/fax, cable/DSL modem for<br />\nbroadband</td>\n</tr>\n<tr>\n<td>Video card</td>\n<td>Standard 256MB PCI-Express 3-D video adapter with NVIDIA or TI<br />\ngraphics chipset</td>\n</tr>\n<tr>\n<td>Sound card</td>\n<td>PCI audio card with Surround Sound</td>\n</tr>\n<tr>\n<td>Monitor</td>\n<td>19-inch LCD</td>\n</tr>\n<tr>\n<td>Ports</td>\n<td>Four USB 2.0 ports, digital media card reader, and one FireWire<br />\nport</td>\n</tr>\n<tr>\n<td>Input</td>\n<td>Standard keyboard; mouse</td>\n</tr>\n</tbody>\n</table>\n"},{"title":"Making sense of PC beep code descriptions","thumb":null,"image":null,"content":"<p>If your computer starts beeping, don’t worry; your PC is trying to tell you something. Here’s a guide to those PC beeps and what they mean:</p>\n<table>\n<tbody>\n<tr>\n<th>Number of Beeps</th>\n<th>What Your PC is Telling You</th>\n</tr>\n<tr>\n<td>Single short beep</td>\n<td>Normal boot</td>\n</tr>\n<tr>\n<td>Repeating short beeps</td>\n<td>Problem with power supply or motherboard</td>\n</tr>\n<tr>\n<td>Repeating long beeps</td>\n<td>Problem with RAM modules</td>\n</tr>\n<tr>\n<td>One long, two short beeps</td>\n<td>Problem with video card</td>\n</tr>\n<tr>\n<td>No beep</td>\n<td>Problem with power supply, CPU installation, or PC speaker</td>\n</tr>\n</tbody>\n</table>\n"},{"title":"What you need to build a top-of-the-line PC","thumb":null,"image":null,"content":"<p>If you want to build a first-class computer — a PC that does advanced computational work (like video editing), plays the latest computer games, and has high-quality video — then here’s the equipment you&#8217;ll need to build this power user’s dream:</p>\n<table>\n<tbody>\n<tr>\n<th>Computer Component</th>\n<th>What to Look For</th>\n</tr>\n<tr>\n<td>Case</td>\n<td>Full-tower model; dual or triple fan</td>\n</tr>\n<tr>\n<td>CPU/motherboard</td>\n<td>The fastest doggone Core 2 Extreme Edition or Athlon Phenom<br />\nprocessor available; PCI and PCI-Express slots</td>\n</tr>\n<tr>\n<td>System RAM</td>\n<td>2GB to 4GB</td>\n</tr>\n<tr>\n<td>Hard drive</td>\n<td>One SATA drive, 500GB minimum</td>\n</tr>\n<tr>\n<td>Optical Drive</td>\n<td>16x dual-layer Blu-ray/DVD recorder</td>\n</tr>\n<tr>\n<td>Floppy drive</td>\n<td>One 3.5-inch, 1.44MB disk drive</td>\n</tr>\n<tr>\n<td>Modem</td>\n<td>Cable/DSL modem for broadband</td>\n</tr>\n<tr>\n<td>Video card</td>\n<td>PCI-Express 3-D adapter, 512MB minimum of video memory; NVIDIA<br />\nor ATI graphics chipset with TV tuner</td>\n</tr>\n<tr>\n<td>Sound card</td>\n<td>PCI audio card with Surround Sound, 3-D positional sound,<br />\nhardware MP3 encoding</td>\n</tr>\n<tr>\n<td>Monitor</td>\n<td>21-inch widescreen LCD display</td>\n</tr>\n<tr>\n<td>Ports</td>\n<td>Four to six USB ports, one FireWire port, digital media card<br />\nreader, and one eSATA port</td>\n</tr>\n<tr>\n<td>Input</td>\n<td>Ergonomic keyboard with extra Windows keys, trackball</td>\n</tr>\n</tbody>\n</table>\n"},{"title":"Commonsense rules for computer assembly","thumb":null,"image":null,"content":"<p>When you’re ready to put your PC together, keep these things in mind when you’re handling and connecting the computer parts to make assembly quicker, easier, and safer:</p>\n<ul class=\"level-one\">\n<li>\n<p class=\"first-para\">Give yourself plenty of elbow room and adequate lighting.</p>\n</li>\n<li>\n<p class=\"first-para\">Ground yourself on a metal surface before handling any components.</p>\n</li>\n<li>\n<p class=\"first-para\">Don’t start without all the parts and components. If you don’t have everything that you need to finish one whole step of the PC-building process, stopping halfway through makes it easy to miss a step or forget something.</p>\n</li>\n<li>\n<p class=\"first-para\">Treat your components carefully. Don’t drop a part on the floor or toss it to a friend. Never bend a circuit board or an adapter card. If something doesn’t seem to fit, take out the component, check the instructions again, and try it a different way.</p>\n</li>\n<li>\n<p class=\"first-para\">Read all documentation that comes with each device.</p>\n</li>\n<li>\n<p class=\"first-para\">Keep the manuals for all your parts together for easy reference.</p>\n</li>\n<li>\n<p class=\"first-para\">Save your boxes and receipts. You might find yourself stuck with a new defective item, and you’ll need the original packaging to return it.</p>\n</li>\n<li>\n<p class=\"first-para\">Use bowls to hold small parts. Or, if you’re a true techno-nerd, get thee to a hardware store and buy one of those wall racks with all the little compartments.</p>\n</li>\n<li>\n<p class=\"first-para\">Keep a magnetic screwdriver handy to pick up wayward screws.</p>\n</li>\n<li>\n<p class=\"first-para\">Check all connections after you install a part.</p>\n</li>\n<li>\n<p class=\"first-para\">Leave the computer cover off while you test your new device first. As long as you don’t touch any circuit boards inside the case, you’ll be fine.</p>\n</li>\n</ul>\n"}],"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Explore","lifeExpectancy":"Two years","lifeExpectancySetFrom":"2022-02-25T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":207662},{"headers":{"creationTime":"2016-03-27T16:49:31+00:00","modifiedTime":"2022-02-17T21:24:02+00:00","timestamp":"2022-09-14T18:19:09+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Computers","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33513"},"slug":"computers","categoryId":33513},{"name":"Hardware","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33516"},"slug":"hardware","categoryId":33516},{"name":"Arduino","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33517"},"slug":"arduino","categoryId":33517}],"title":"Arduino For Dummies Cheat Sheet","strippedTitle":"arduino for dummies cheat sheet","slug":"arduino-for-dummies-cheat-sheet","canonicalUrl":"","seo":{"metaDescription":"Keep this Cheat Sheet handy as you're learning Arduino for a quick reference to resistors, the right tools, and a shortcut to coding.","noIndex":0,"noFollow":0},"content":"Arduino can help you build robots or electronic devices. But you have a lot to learn about Arduino because it encompasses the worlds of both hardware and software.\r\n\r\nThe following sections contain nuggets of information about using resistors, gathering the tools you'll need, and system shortcuts to help you on your way to becoming an Arduino aficionado.","description":"Arduino can help you build robots or electronic devices. But you have a lot to learn about Arduino because it encompasses the worlds of both hardware and software.\r\n\r\nThe following sections contain nuggets of information about using resistors, gathering the tools you'll need, and system shortcuts to help you on your way to becoming an Arduino aficionado.","blurb":"","authors":[{"authorId":9682,"name":"John Nussey","slug":"john-nussey","description":" \t <p><b>John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9682"}}],"primaryCategoryTaxonomy":{"categoryId":33517,"title":"Arduino","slug":"arduino","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33517"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}},{"articleId":284787,"title":"What Your Society Says About You","slug":"what-your-society-says-about-you","categoryList":["academics-the-arts","humanities"],"_links":{"self":"/articles/284787"}}],"inThisArticle":[],"relatedArticles":{"fromBook":[{"articleId":258607,"title":"What You Should Know about Arduino Sensors: Using Capacitive Sensors","slug":"what-you-should-know-about-arduino-sensors-using-capacitive-sensors","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258607"}},{"articleId":258604,"title":"10 Awesome Arduino Resources","slug":"10-awesome-arduino-resources","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258604"}},{"articleId":258598,"title":"Finding and Browsing Arduino Libraries","slug":"finding-and-browsing-arduino-libraries","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258598"}},{"articleId":258590,"title":"An Overview of Arduino Shields","slug":"an-overview-of-arduino-shields","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258590"}},{"articleId":258583,"title":"How to Assemble an Arduino Shield","slug":"how-to-assemble-an-arduino-shield","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258583"}}],"fromCategory":[{"articleId":258607,"title":"What You Should Know about Arduino Sensors: Using Capacitive Sensors","slug":"what-you-should-know-about-arduino-sensors-using-capacitive-sensors","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258607"}},{"articleId":258604,"title":"10 Awesome Arduino Resources","slug":"10-awesome-arduino-resources","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258604"}},{"articleId":258598,"title":"Finding and Browsing Arduino Libraries","slug":"finding-and-browsing-arduino-libraries","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258598"}},{"articleId":258590,"title":"An Overview of Arduino Shields","slug":"an-overview-of-arduino-shields","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258590"}},{"articleId":258583,"title":"How to Assemble an Arduino Shield","slug":"how-to-assemble-an-arduino-shield","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258583"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":281630,"slug":"arduino-for-dummies-2nd-edition","isbn":"9781119489542","categoryList":["technology","computers","hardware","arduino"],"amazon":{"default":"https://www.amazon.com/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"https://www.amazon.ca/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"http://www.tkqlhce.com/click-9208661-13710633?url=https://www.chapters.indigo.ca/en-ca/books/product/1119489547-item.html&cjsku=978111945484","gb":"https://www.amazon.co.uk/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"https://www.amazon.de/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"https://www.dummies.com/wp-content/uploads/arduino-for-dummies-2nd-edition-cover-9781119489542-203x255.jpg","width":203,"height":255},"title":"Arduino For Dummies","testBankPinActivationLink":"","bookOutOfPrint":false,"authorsInfo":"<p><b data-author-id=\"9682\">John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. </p>","authors":[{"authorId":9682,"name":"John Nussey","slug":"john-nussey","description":" \t <p><b>John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9682"}}],"_links":{"self":"https://dummies-api.dummies.com/v2/books/"}},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;arduino&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119489542&quot;]}]\" id=\"du-slot-63221b1d376fc\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;arduino&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119489542&quot;]}]\" id=\"du-slot-63221b1d380c8\"></div></div>"},"articleType":{"articleType":"Cheat Sheet","articleList":[{"articleId":166942,"title":"Using Resistors in Arduino","slug":"using-resistors-in-arduino","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/166942"}},{"articleId":166990,"title":"Getting the Right Tools for Your Arduino Project","slug":"getting-the-right-tools-for-your-arduino-project","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/166990"}},{"articleId":166989,"title":"Taking a Shortcut When Coding Your Arduino Project","slug":"taking-a-shortcut-in-arduino","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/166989"}}],"content":[{"title":"Using resistors in Arduino","thumb":null,"image":null,"content":"<p>When building your Arduino projects, you use resistors to limit the amount of current going to certain components in the circuit, such as LEDs and integrated circuits. To calculate the resistance, you should use a modified version of Ohm’s Law.</p>\n<p>In the following equation, R is resistance; V<sub>SUPPLY</sub> is the voltage supplied from the power source (this is 5V for a standard Arduino digital pin, but could be more or less if the V<span style=\"margin: 0px; font-family: 'Times New Roman',serif; font-size: 9.5pt;\"><span style=\"color: #000000;\"><sub>IN</sub></span></span> pin is used); V<sub>FORWARD</sub> is the voltage required by the component, and I is the current required by the component:</p>\n<p>R = (V<sub>SUPPLY</sub> &#8211; V<sub>FORWARD</sub>) / I</p>\n<p>Here is an example for powering an LED:</p>\n<p>(5V – 2V) / 0.03A = 100<span style=\"font-family: ”garamond”;\">Ω</span></p>\n<p>After you’ve determined which resistor you need, the next task is to find it. Fixed-value resistors use colored bands to indicate the value of the resistor. To find the value you can use a multimeter on the ohms (<span style=\"font-family: ”garamond”;\">Ω</span>) setting, but if you don’t have a multimeter handy, use the following table to find the value instead. For example, a resistor with brown, black, brown, and gold bands is a 100Ω resistor with a 5% tolerance.</p>\n<p>In addition, the <a href=\"https://itunes.apple.com/gb/app/circuit-playground/id492487671?mt=8\">Circuit Playground</a> by Adafruit has resistor color codes as well as a variety of other useful tools for building circuits.</p>\n<table border=\"0\">\n<caption>Resistor Color Chart</caption>\n<tbody>\n<tr>\n<th>Color</th>\n<th>Value</th>\n<th>Multiplier</th>\n<th>Tolerance</th>\n</tr>\n<tr>\n<td>Black</td>\n<td>0</td>\n<td>x10<sup>0</sup></td>\n<td>&#8211;</td>\n</tr>\n<tr>\n<td>Brown</td>\n<td>1</td>\n<td>x10<sup>1</sup></td>\n<td>±1%</td>\n</tr>\n<tr>\n<td>Red</td>\n<td>2</td>\n<td>x10<sup>2</sup></td>\n<td>±2%</td>\n</tr>\n<tr>\n<td>Orange</td>\n<td>3</td>\n<td>x10<sup>3</sup></td>\n<td>&#8211;</td>\n</tr>\n<tr>\n<td>Yellow</td>\n<td>4</td>\n<td>x10<sup>4</sup></td>\n<td>±5%</td>\n</tr>\n<tr>\n<td>Green</td>\n<td>5</td>\n<td>x10<sup>5</sup></td>\n<td>±0.5%</td>\n</tr>\n<tr>\n<td>Blue</td>\n<td>6</td>\n<td>x10<sup>6</sup></td>\n<td>±0.25%</td>\n</tr>\n<tr>\n<td>Violet</td>\n<td>7</td>\n<td>x10<sup>7</sup></td>\n<td>±0.1%</td>\n</tr>\n<tr>\n<td>Grey</td>\n<td>8</td>\n<td>x10<sup>8</sup></td>\n<td>±0.05%</td>\n</tr>\n<tr>\n<td>White</td>\n<td>9</td>\n<td>x10<sup>9</sup></td>\n<td>&#8211;</td>\n</tr>\n<tr>\n<td>Gold</td>\n<td>&#8211;</td>\n<td>x10<sup>-1</sup></td>\n<td>±5%</td>\n</tr>\n<tr>\n<td>Silver</td>\n<td>&#8211;</td>\n<td>x10<sup>-2</sup></td>\n<td>±10%</td>\n</tr>\n<tr>\n<td>None</td>\n<td>&#8211;</td>\n<td>&#8211;</td>\n<td>±20%</td>\n</tr>\n</tbody>\n</table>\n<p>&nbsp;</p>\n"},{"title":"Getting the right tools for your Arduino project","thumb":null,"image":null,"content":"<p>When you start to build your Arduino project, it’s hard to know what tools and equipment to buy. Following is the recommended equipment for solder-less prototyping, which is a good way to start. Next is a list of equipment for soldering, which help you to toughen up your prototype for the real world. Note: Consider buying tools as you need them. You never know what you’ll need next, and tools can get expensive.</p>\n<h2>What you need for solder-less prototyping</h2>\n<ul class=\"level-one\">\n<li>\n<p class=\"first-para\"><strong>Breadboard:</strong> This allows you to prototype a circuit without permanently fixing anything in place.</p>\n</li>\n<li>\n<p class=\"first-para\"><strong>Jump wires:</strong> These are tiny lengths of wire that are ideal for building circuits on a breadboard.</p>\n</li>\n<li>\n<p class=\"first-para\"><strong>Needle-nosed pliers:</strong> These have a pointed nose to allow you to hold tiny objects with great precision. They’ll save you a lot of swearing!</p>\n</li>\n<li>\n<p class=\"first-para\"><strong>Multimeter:</strong> A good meter can measure volts, amps, resistance and continuity amongst other things.</p>\n</li>\n<li>\n<p class=\"first-para\"><strong>Power supply:</strong> Similar to the power supplies for laptops. A 12V DC power supply with a 2.1mm jack is good for many small applications — just make sure that it supplies enough current!</p>\n</li>\n</ul>\n<h2>What you need for soldering</h2>\n<ul class=\"level-one\">\n<li>\n<p class=\"first-para\"><strong>Soldering iron:</strong> Comes as fixed-temperature, temperature-controlled, gas-powered, or a solder station. Getting a temperature-controlled iron will set you back about $30 (£20) and is a good investment until you can justify getting a nice solder station, such as those made by Weller.</p>\n</li>\n<li>\n<p class=\"first-para\"><strong>Solder:</strong> Buying lead-free solder is a good idea for your health and the environment.</p>\n</li>\n<li>\n<p class=\"first-para\"><strong>Third hand: A</strong>lso known as a <em>helping hand</em>, this tool is good for holding boards and components in place.</p>\n</li>\n<li>\n<p class=\"first-para\"><strong>Adhesive putty: </strong>Cheaper than a helping hand and often more reliable for arranging your circuit and components for soldering.</p>\n</li>\n<li>\n<p class=\"first-para\"><strong>Wire cutters:</strong> A good set of wire cutters will have a pointed nose for precision clipping.</p>\n</li>\n<li>\n<p class=\"first-para\"><strong>Wire strippers:</strong> Can be manual or mechanical. If you can, try them out in a shop to find your preference for the wire you are intending to strip.</p>\n</li>\n<li>\n<p class=\"first-para\"><strong>Solder sucker:</strong> This is a vacuum tube that’s useful for undoing soldering mistakes.</p>\n</li>\n<li>\n<p class=\"first-para\"><strong>Solder wick:</strong> Another way to undo mistakes is to melt excess solder into a piece of solder wick.</p>\n</li>\n<li>\n<p class=\"first-para\"><strong>Equipment wire:</strong> Buying a few short reels or multicore equipment wire in various colors is always a good idea.</p>\n</li>\n</ul>\n<p>This equipment is most easily available from online retailers such as <a href=\"http://www.adafruit.com\">Adafruit</a> and <a href=\"http://www.sparkfun.com\">Sparkfun</a> as well as their worldwide distributors and many other electronics retailers such as RadioShack (U.S.) and Maplin (U.K.).</p>\n"},{"title":"Taking a shortcut when coding your project","thumb":null,"image":null,"content":"<p>After you have built your Arduino project, you may have many hours ahead of tweaking the code until it’s perfect. It’s handy to know a few shortcuts to speed up the process. Here are the some of the most useful:</p>\n<table>\n<tbody>\n<tr>\n<th>Windows/Linux</th>\n<th>Mac OS</th>\n<th>Action</th>\n</tr>\n<tr>\n<td>Ctrl+N</td>\n<td>Cmd+N</td>\n<td>Open new sketch.</td>\n</tr>\n<tr>\n<td>Ctrl+O</td>\n<td>Cmd+O</td>\n<td>Open existing sketch.</td>\n</tr>\n<tr>\n<td>Ctrl+S</td>\n<td>Cmd+S</td>\n<td>Save sketch.</td>\n</tr>\n<tr>\n<td>Ctrl+Shift+S</td>\n<td>Cmd+Shift+S</td>\n<td>Save a sketch with a new name.</td>\n</tr>\n<tr>\n<td>Ctrl+R</td>\n<td>Cmd+R</td>\n<td>Compile and verify a sketch. Handy for checking the grammar of your<br />\ncode without uploading the sketch.</td>\n</tr>\n<tr>\n<td>Ctrl+T</td>\n<td>Cmd+T</td>\n<td>Auto format. Adjusts the alignment and spacing of your code to<br />\nimprove the legibility (but also undoes your own formatting if<br />\nyou’re arranging your sketch in a unique way).</td>\n</tr>\n<tr>\n<td>Ctrl+Z</td>\n<td>Cmd+Z</td>\n<td>Undo the last change to code.</td>\n</tr>\n<tr>\n<td>Ctrl+Shift+Z</td>\n<td>Cmd+Shift+Z</td>\n<td>Redo the last change to code.</td>\n</tr>\n<tr>\n<td>Ctrl+/</td>\n<td>Cmd+/</td>\n<td>Comment/uncomment the selected code. Useful for quickly commenting<br />\ncode out. Commenting a section of code means that it is not<br />\nuploaded to the board, so you can use comments to quickly switch<br />\namong different sections of code without having to delete<br />\nthem.</td>\n</tr>\n<tr>\n<td>Ctrl+Shift+F</td>\n<td>Cmd+Shift+F</td>\n<td>Find reference page for selected code term. If you’re<br />\nunsure about a highlighted term in your sketch (such as <code>void</code>, <code>int</code>,<br />\nor <code>pinMode</code>), simply select that term and use this shortcut to be<br />\nsent to the latest reference page.</td>\n</tr>\n<tr>\n<td>Ctrl+U</td>\n<td>Cmd+U</td>\n<td>Upload the sketch to the Arduino board.</td>\n</tr>\n<tr>\n<td>Ctrl+Shift+M</td>\n<td>Cmd+Shift+M</td>\n<td>Open the serial monitor.</td>\n</tr>\n<tr>\n<td>Ctrl+K</td>\n<td>Cmd+K</td>\n<td>Open sketch folder.</td>\n</tr>\n</tbody>\n</table>\n"}],"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Explore","lifeExpectancy":"One year","lifeExpectancySetFrom":"2022-02-17T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":207978},{"headers":{"creationTime":"2018-12-21T16:47:03+00:00","modifiedTime":"2018-12-21T16:47:03+00:00","timestamp":"2022-09-14T18:16:58+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Computers","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33513"},"slug":"computers","categoryId":33513},{"name":"Hardware","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33516"},"slug":"hardware","categoryId":33516},{"name":"Arduino","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33517"},"slug":"arduino","categoryId":33517}],"title":"What You Should Know about Arduino Sensors: Using Capacitive Sensors","strippedTitle":"what you should know about arduino sensors: using capacitive sensors","slug":"what-you-should-know-about-arduino-sensors-using-capacitive-sensors","canonicalUrl":"","seo":{"metaDescription":"You can make use of capacitive sensors in your Arduino project. Capacitive sensors detect changes in electromagnetic fields. Every living thing — even you — has","noIndex":0,"noFollow":0},"content":"You can make use of capacitive sensors in your Arduino project.<em> Capacitive sensors</em> detect changes in electromagnetic fields. Every living thing — even you — has an electromagnetic field. Capacitive sensors are extremely useful because they can detect human contact and ignore other environmental factors. You're probably familiar with high-end capacitive sensors because they are present in nearly all smartphones, but they have been around since the late 1920s. You can find Arduino kits with capacitive sensors that you can hook up easily, such as capacitive touch keypads. But it's just as easy to make your own capacitive sensors with an Arduino and an antenna.\r\n\r\nConsider the following when you are planning a sensor for your Arduino project:\r\n<ul>\r\n \t<li><strong>Complexity:</strong> Because all that is required is an antenna, you can be creative with what the antenna is and where it is placed. Short pieces of wire or copper tape are great for simple touch sensors. The piece of copper tape suddenly becomes a touch switch, meaning that you don’t even need a pushbutton to get the same functionality. You could even connect the antenna to a bigger metal object such as a lamp, turning it into a touch lamp.</li>\r\n</ul>\r\n<p style=\"padding-left: 30px;\">If the antenna is made from a reel of wire or a piece of foil, you can extend the range of the sensor beyond touch, which is known as a <em>projected capacitive sensor.</em> Using a capacitive sensor you can detect a person’s hand a few inches away from the antenna, which creates a lot of new possibilities for hiding sensors behind other materials. These discreet capacitive sensors are now commonly seen in many recent consumer electronics to remove physical buttons and maintain the sleek shape of the product. The electronics can also be placed under layers of other material, protected from the outside world.</p>\r\n<p style=\"padding-left: 30px;\">Capacitive touch sensors are easy to make. The difficulty with projected field sensors to determine the range of the field. The best way to determine this range is by experimentation, testing to see whether the field that you're generating is far-reaching enough.</p>\r\n\r\n<ul>\r\n \t<li><strong>Cost:</strong> A capacitive touch kit designed for a specific purpose costs around $15 to $25. The kit should perform its job well, but it will be limited to the design of the interface. A capacitive sensor breakout board from SparkFun for around $10 lets you control up to 12 capacitive sensors. You have to wire your own touchpads, but you’re free to design an interface that suits your purpose.</li>\r\n</ul>\r\n<p style=\"padding-left: 30px;\">The cheapest option is to use the CapSense library for Arduino, which allows you to make a capacitive sensor with an antenna and no additional hardware! You can spend a few cents for an antenna or repurpose an old one.</p>\r\n\r\n<ul>\r\n \t<li><strong>Location:</strong> Capacitive touch sensors can work with any conductive metal, so if you can design an attractive metal exterior, the only work will be to connect that exterior to your Arduino. If you’re looking for something more discreet, you may want to experiment with different layers of wood or plastic to hide your metal antenna. A thin layer of plywood allows the metal to be close to the surface, able to trigger the sensor. By covering the antenna with a non-conductive surface, you also give it a seemingly magical property, ensuring that people are left guessing at how it works.</li>\r\n</ul>\r\nThe easiest way to make a capacitive sensor is to use the CapSense library by Paul Badger. By using the CapSense library, you can replace the mechanical switches with highly robust capacitive touch sensors or capacitive presence detectors.\r\n<h2 id=\"tab1\" >Getting the CapSense Arduino library</h2>\r\nThe CapSense library is available from GitHub, an online repository of software that manages different versions and allows you to see who has updated the software, and how. It’s an excellent system for sharing and collaborating on code projects. You can find the Arduino platform on GitHub; check it out if you’re curious about any changes. To get the library:\r\n<ol>\r\n \t<li>Point your web browser to the <a href=\"http://github.com/moderndevice/CapSense\">GitHub CapSense page</a>.</li>\r\n \t<li>On the CapSense page, click the Clone button or download and then click Download ZIP.\r\n\r\nThe latest version of the library is downloaded to your downloads folder or a folder you specify.</li>\r\n \t<li>Rename the folder CapSense.\r\n\r\nInside the folder, you should see a number of files ending in .h and .cpp as well as an Examples folder.</li>\r\n \t<li>Move the entire folder to your Arduino libraries directory.\r\n\r\nThis directory should be the same as the one that your sketches are saved to, for example: Username/Documents/Arduino/libraries. If you don't have a libraries directory, create one.\r\n\r\nYour can find your Arduino Save directory by choosing Arduino →   Preferences from the Arduino menu bar. After the CapSense library is inside this folder, it will be available the next time you run Arduino.</li>\r\n \t<li><strong>S</strong>tart or restart Arduino and go to Sketch →   Include Library in the Arduino menu.<strong>\r\n\r\n</strong>Look for CapSense under the Contributed libraries section. If you don’t find it, check your directories and spelling and then restart Arduino.</li>\r\n</ol>\r\n<h2 id=\"tab2\" >Implementing the CapPinSketch sketch</h2>\r\nFor this project, you need the following:\r\n<ul>\r\n \t<li>An Arduino Uno</li>\r\n \t<li>A wire antenna</li>\r\n \t<li>Crocodile clips (optional)</li>\r\n</ul>\r\nAs you can see below, little work is needed. You can simply have a wire antenna connected to pin 5, and you can enlarge your antenna by connecting it to any other conductive surface. Crocodile clips are useful to latch onto different antennas quickly and easily.\r\n\r\n[caption id=\"attachment_258609\" align=\"aligncenter\" width=\"365\"]<img class=\"wp-image-258609 size-full\" src=\"https://www.dummies.com/wp-content/uploads/arduino-diy-capacitive-sensor.jpg\" alt=\"DIY capacitive sensor Arduino\" width=\"365\" height=\"400\" /> A photo of a DIY capacitive sensor.[/caption]\r\n\r\n \r\n\r\nBuild the CapSense circuit, and choose File →   Examples →   CapSense →   Examples →   CapPinSketch from the Arduino menu to load the sketch.\r\n<pre class=\"code\">#include \r\n\r\n/* CapPin\r\n * Capacitive Library CapPin Demo Sketch\r\n * Paul Badger 2011\r\n * This class uses the built-in pullup resistors read the capacitance\r\n * on a pin.\r\n * The pin is set to input and then the pullup is set,\r\n * A loop times how long the pin takes to go HIGH.\r\n * The readPin method is fast and can be read 1000 times in under 10 mS.\r\n * By reading the pin repeated you can sense \"hand pressure\"\r\n * at close range with a small sensor. A larger sensor (piece of foil/metal)\r\n * will yield\r\n * larger return values and be able to sense at more distance. For\r\n * a more sensitive method of sensing pins see CapTouch\r\n * Hook up a wire with or without a piece of foil attached to the pin.\r\n * I suggest covering the sensor with mylar, packing tape, paper or other\r\n * insulator to avoid having users directly touch the pin.\r\n */\r\n\r\nCapPin cPin_5 = CapPin(5); // read pin 5\r\n\r\nfloat smoothed;\r\n\r\nvoid setup() {\r\n\r\n Serial.begin(115200);\r\n Serial.println(\"start\");\r\n // slider_2_7.calibrateSlider();\r\n\r\n}\r\n\r\nvoid loop() {\r\n\r\n delay(1);\r\n long total1 = 0;\r\n long start = millis();\r\n long total = cPin_5.readPin(2000);\r\n\r\n // simple lowpass filter to take out some of the jitter\r\n // change parameter (0 is min, .99 is max) or eliminate to suit\r\n smoothed = smooth(total, .8, smoothed);\r\n\r\nSerial.print( millis() - start); // time to execute in mS\r\nSerial.print(\"\\t\");\r\nSerial.print(total); // raw total\r\nSerial.print(\"\\t\");\r\nSerial.println((int) smoothed); // smoothed\r\ndelay(5);\r\n}\r\n\r\n// simple lowpass filter\r\n// requires recycling the output in the \"smoothedVal\" param\r\nint smooth(int data, float filterVal, float smoothedVal){\r\n\r\n if (filterVal &gt; 1){ // check to make sure param's are within range\r\n filterVal = .999999;\r\n }\r\n else if (filterVal &lt;= 0){\r\n filterVal = 0;\r\n }\r\n\r\n smoothedVal = (data * (1 - filterVal)) + (smoothedVal * filterVal);\r\n\r\n return (int)smoothedVal;\r\n}</pre>\r\nPress the Compile button to check your code. Compiling highlights any grammatical errors, which light up in red. If the sketch compiles correctly, click Upload to send the sketch to your board. When it has finished uploading, open the serial monitor, set the baud rate to 115200, and touch or approach the antenna. You should see two values racing down the screen. On the left is the raw value being read; on the right is the same reading after smoothing.\r\n\r\nIf nothing happens, double-check your wiring:\r\n<ul>\r\n \t<li>Make sure that you’re using the correct pin number.</li>\r\n \t<li>Check the connections on the breadboard. If the jump wires or components are not connected using the correct rows in the breadboard, they will not work.</li>\r\n</ul>\r\n<h2 id=\"tab3\" >Understanding the CapPinSketch Arduino sketch</h2>\r\nAt the start of the CapPinSketch sketch in the declarations, a new <code>CapPin</code> object is named. Note that <code>cPin_5</code> is the name and it is assigned to pin 5 using <code>CapPin(5)</code>:\r\n<pre class=\"code\">CapPin cPin_5 = CapPin(5); // read pin 5</pre>\r\nA float named <code>smoothed</code> is declared to store the processed value of the sensor:\r\n<pre class=\"code\">&lt;strong&gt;float&lt;/strong&gt; smoothed;</pre>\r\nIn <code>setup</code>, serial communication is started on a baud rate of 115200, and the message <em>start</em> is sent to indicate to you that the serial port is connected:\r\n<pre class=\"code\">&lt;strong&gt;void setup&lt;/strong&gt;()\r\n{\r\n \r\n&lt;strong&gt;Serial.begin&lt;/strong&gt;(115200);\r\n&lt;strong&gt;Serial.println&lt;/strong&gt;(&lt;strong&gt;\"start\"&lt;/strong&gt;);</pre>\r\nThis commented line is not used in this sketch but is referenced in some of the other CapSense examples. It can be uncommented to include further calibration functions that are in the library but is not be covered in this example:\r\n<pre class=\"code\">// slider_2_7.calibrateSlider();\r\n \r\n}</pre>\r\nIn this sketch, many variables are declared locally. Because they're not needed outside the loop, they're removed after each loop and redeclared at the start of the next loop.\r\n\r\nFirst, a one-millisecond delay occurs to help improve the stability of the reading:\r\n<pre class=\"code\">&lt;strong&gt;void loop&lt;/strong&gt;()\r\n{\r\n \r\n \r\n&lt;strong&gt;delay&lt;/strong&gt;(1);</pre>\r\nNext, the long variable <code>total1</code> is declared. This variable can look confusing because the lowercase <em>L</em> and the numeral 1 look the same in most fonts. Incidentally, this variable is not used in this sketch. It may well be left over from a previous version:\r\n<pre class=\"code\">&lt;strong&gt; long&lt;/strong&gt; total1 = 0;</pre>\r\nThe next long variable is set to the current <code>millis ()</code> value. Because this variable is local, the value is reset on each loop:\r\n<pre class=\"code\">&lt;strong&gt; long&lt;/strong&gt; start = &lt;strong&gt;millis&lt;/strong&gt;();</pre>\r\nThe specific function <code>.readPin()</code> reads your capacitive pin:\r\n<pre class=\"code\">&lt;strong&gt; long&lt;/strong&gt; total = cPin_5.readPin(2000);</pre>\r\nIf you want to explore in more depth what's happening, look at CapPin.cpp in the CapSense library. At first, the <code>CapPin.cpp</code> file looks baffling, but by reading the line that follows, you can see that the value relates to the number of samples that the Arduino is taking of the capacitance reading:\r\n<pre class=\"code\">strong&gt;long CapPin::readPin(&lt;strong&gt;unsigned&lt;/strong&gt; &lt;strong&gt;int&lt;/strong&gt; samples)</pre>\r\n<p class=\"article-tips tip\">Editing the inner workings of libraries is not advised for beginners, but it is good to have a look at them to know what’s happening in your code and try to gain a better understanding of them.</p>\r\nA smoothing function is also included in the sketch. This function takes the raw reading from the sensor, the smoothing value, and then the output variable. At present, the smoothing value is set to 0.8, but go ahead and experiment with this value to find the appropriate amount of smoothing for your application. This amount is dependent on how fast the loop is completed and how many readings are made in that time, so bear that in mind if you expect to add a lot of other controls or outputs:\r\n<pre class=\"code\">// simple lowpass filter to take out some of the jitter\r\n// change parameter (0 is min, .99 is max) or eliminate to suit\r\nsmoothed = smooth(total, .8, smoothed);</pre>\r\nFinally, the values are printed to the serial port to be monitored. <code>millis() – start</code> gives the time that is taken to carry out the reading. If more samples are taken or any delays are added to the code, these activities increase the time to complete the loop and, therefore, the reaction time of the sensor:\r\n<pre class=\"code\">&lt;strong&gt;Serial.print&lt;/strong&gt;( &lt;strong&gt;millis&lt;/strong&gt;() - start); // time to execute in mS</pre>\r\nTabs are used to neatly space the values. The total and smoothed values are both printed for comparison. You may notice a slight delay in the response time of the smoothed value. This delay shows you that your Arduino is reading many more values to do the smoothing, which takes time. This delay is barely noticeable when the sensor is in use because the baud rate is so high:\r\n<pre class=\"code\">&lt;strong&gt;Serial.print&lt;/strong&gt;(&lt;strong&gt;\"\\t\"&lt;/strong&gt;);\r\n&lt;strong&gt;Serial.print&lt;/strong&gt;(total); // raw total\r\n&lt;strong&gt;Serial.print&lt;/strong&gt;(&lt;strong&gt;\"\\t\"&lt;/strong&gt;);\r\n&lt;strong&gt;Serial.println&lt;/strong&gt;((&lt;strong&gt;int&lt;/strong&gt;) smoothed); // smoothed\r\n&lt;strong&gt;delay&lt;/strong&gt;(5);\r\n}</pre>\r\nAt the bottom of the sketch outside the main loop is an additional function, referred to as a <em>lowpass filter,</em> which gives you the smoothed result. You can see that rather than starting with <code>void</code>, as is the case in <code>setup ()</code> and <code>loop ()</code>, the function starts with <code>int</code>, which means that an integer value is returned. Starting with <code>int</code> indicates that this function returns an integer value rather than a floating-point value.\r\n<pre class=\"code\">// simple lowpass filter\r\n// requires recycling the output in the \"smoothedVal\" param\r\nint smooth(int data, float filterVal, float smoothedVal){\r\n\r\n if (filterVal &gt; 1){ // check to make sure param's are within range\r\n filterVal = .999999;\r\n }\r\n else if (filterVal &lt;= 0){\r\n filterVal = 0;\r\n }\r\n\r\n smoothedVal = (data * (1 - filterVal)) + (smoothedVal * filterVal);\r\n\r\n return (int)smoothedVal;\r\n}</pre>","description":"You can make use of capacitive sensors in your Arduino project.<em> Capacitive sensors</em> detect changes in electromagnetic fields. Every living thing — even you — has an electromagnetic field. Capacitive sensors are extremely useful because they can detect human contact and ignore other environmental factors. You're probably familiar with high-end capacitive sensors because they are present in nearly all smartphones, but they have been around since the late 1920s. You can find Arduino kits with capacitive sensors that you can hook up easily, such as capacitive touch keypads. But it's just as easy to make your own capacitive sensors with an Arduino and an antenna.\r\n\r\nConsider the following when you are planning a sensor for your Arduino project:\r\n<ul>\r\n \t<li><strong>Complexity:</strong> Because all that is required is an antenna, you can be creative with what the antenna is and where it is placed. Short pieces of wire or copper tape are great for simple touch sensors. The piece of copper tape suddenly becomes a touch switch, meaning that you don’t even need a pushbutton to get the same functionality. You could even connect the antenna to a bigger metal object such as a lamp, turning it into a touch lamp.</li>\r\n</ul>\r\n<p style=\"padding-left: 30px;\">If the antenna is made from a reel of wire or a piece of foil, you can extend the range of the sensor beyond touch, which is known as a <em>projected capacitive sensor.</em> Using a capacitive sensor you can detect a person’s hand a few inches away from the antenna, which creates a lot of new possibilities for hiding sensors behind other materials. These discreet capacitive sensors are now commonly seen in many recent consumer electronics to remove physical buttons and maintain the sleek shape of the product. The electronics can also be placed under layers of other material, protected from the outside world.</p>\r\n<p style=\"padding-left: 30px;\">Capacitive touch sensors are easy to make. The difficulty with projected field sensors to determine the range of the field. The best way to determine this range is by experimentation, testing to see whether the field that you're generating is far-reaching enough.</p>\r\n\r\n<ul>\r\n \t<li><strong>Cost:</strong> A capacitive touch kit designed for a specific purpose costs around $15 to $25. The kit should perform its job well, but it will be limited to the design of the interface. A capacitive sensor breakout board from SparkFun for around $10 lets you control up to 12 capacitive sensors. You have to wire your own touchpads, but you’re free to design an interface that suits your purpose.</li>\r\n</ul>\r\n<p style=\"padding-left: 30px;\">The cheapest option is to use the CapSense library for Arduino, which allows you to make a capacitive sensor with an antenna and no additional hardware! You can spend a few cents for an antenna or repurpose an old one.</p>\r\n\r\n<ul>\r\n \t<li><strong>Location:</strong> Capacitive touch sensors can work with any conductive metal, so if you can design an attractive metal exterior, the only work will be to connect that exterior to your Arduino. If you’re looking for something more discreet, you may want to experiment with different layers of wood or plastic to hide your metal antenna. A thin layer of plywood allows the metal to be close to the surface, able to trigger the sensor. By covering the antenna with a non-conductive surface, you also give it a seemingly magical property, ensuring that people are left guessing at how it works.</li>\r\n</ul>\r\nThe easiest way to make a capacitive sensor is to use the CapSense library by Paul Badger. By using the CapSense library, you can replace the mechanical switches with highly robust capacitive touch sensors or capacitive presence detectors.\r\n<h2 id=\"tab1\" >Getting the CapSense Arduino library</h2>\r\nThe CapSense library is available from GitHub, an online repository of software that manages different versions and allows you to see who has updated the software, and how. It’s an excellent system for sharing and collaborating on code projects. You can find the Arduino platform on GitHub; check it out if you’re curious about any changes. To get the library:\r\n<ol>\r\n \t<li>Point your web browser to the <a href=\"http://github.com/moderndevice/CapSense\">GitHub CapSense page</a>.</li>\r\n \t<li>On the CapSense page, click the Clone button or download and then click Download ZIP.\r\n\r\nThe latest version of the library is downloaded to your downloads folder or a folder you specify.</li>\r\n \t<li>Rename the folder CapSense.\r\n\r\nInside the folder, you should see a number of files ending in .h and .cpp as well as an Examples folder.</li>\r\n \t<li>Move the entire folder to your Arduino libraries directory.\r\n\r\nThis directory should be the same as the one that your sketches are saved to, for example: Username/Documents/Arduino/libraries. If you don't have a libraries directory, create one.\r\n\r\nYour can find your Arduino Save directory by choosing Arduino →   Preferences from the Arduino menu bar. After the CapSense library is inside this folder, it will be available the next time you run Arduino.</li>\r\n \t<li><strong>S</strong>tart or restart Arduino and go to Sketch →   Include Library in the Arduino menu.<strong>\r\n\r\n</strong>Look for CapSense under the Contributed libraries section. If you don’t find it, check your directories and spelling and then restart Arduino.</li>\r\n</ol>\r\n<h2 id=\"tab2\" >Implementing the CapPinSketch sketch</h2>\r\nFor this project, you need the following:\r\n<ul>\r\n \t<li>An Arduino Uno</li>\r\n \t<li>A wire antenna</li>\r\n \t<li>Crocodile clips (optional)</li>\r\n</ul>\r\nAs you can see below, little work is needed. You can simply have a wire antenna connected to pin 5, and you can enlarge your antenna by connecting it to any other conductive surface. Crocodile clips are useful to latch onto different antennas quickly and easily.\r\n\r\n[caption id=\"attachment_258609\" align=\"aligncenter\" width=\"365\"]<img class=\"wp-image-258609 size-full\" src=\"https://www.dummies.com/wp-content/uploads/arduino-diy-capacitive-sensor.jpg\" alt=\"DIY capacitive sensor Arduino\" width=\"365\" height=\"400\" /> A photo of a DIY capacitive sensor.[/caption]\r\n\r\n \r\n\r\nBuild the CapSense circuit, and choose File →   Examples →   CapSense →   Examples →   CapPinSketch from the Arduino menu to load the sketch.\r\n<pre class=\"code\">#include \r\n\r\n/* CapPin\r\n * Capacitive Library CapPin Demo Sketch\r\n * Paul Badger 2011\r\n * This class uses the built-in pullup resistors read the capacitance\r\n * on a pin.\r\n * The pin is set to input and then the pullup is set,\r\n * A loop times how long the pin takes to go HIGH.\r\n * The readPin method is fast and can be read 1000 times in under 10 mS.\r\n * By reading the pin repeated you can sense \"hand pressure\"\r\n * at close range with a small sensor. A larger sensor (piece of foil/metal)\r\n * will yield\r\n * larger return values and be able to sense at more distance. For\r\n * a more sensitive method of sensing pins see CapTouch\r\n * Hook up a wire with or without a piece of foil attached to the pin.\r\n * I suggest covering the sensor with mylar, packing tape, paper or other\r\n * insulator to avoid having users directly touch the pin.\r\n */\r\n\r\nCapPin cPin_5 = CapPin(5); // read pin 5\r\n\r\nfloat smoothed;\r\n\r\nvoid setup() {\r\n\r\n Serial.begin(115200);\r\n Serial.println(\"start\");\r\n // slider_2_7.calibrateSlider();\r\n\r\n}\r\n\r\nvoid loop() {\r\n\r\n delay(1);\r\n long total1 = 0;\r\n long start = millis();\r\n long total = cPin_5.readPin(2000);\r\n\r\n // simple lowpass filter to take out some of the jitter\r\n // change parameter (0 is min, .99 is max) or eliminate to suit\r\n smoothed = smooth(total, .8, smoothed);\r\n\r\nSerial.print( millis() - start); // time to execute in mS\r\nSerial.print(\"\\t\");\r\nSerial.print(total); // raw total\r\nSerial.print(\"\\t\");\r\nSerial.println((int) smoothed); // smoothed\r\ndelay(5);\r\n}\r\n\r\n// simple lowpass filter\r\n// requires recycling the output in the \"smoothedVal\" param\r\nint smooth(int data, float filterVal, float smoothedVal){\r\n\r\n if (filterVal &gt; 1){ // check to make sure param's are within range\r\n filterVal = .999999;\r\n }\r\n else if (filterVal &lt;= 0){\r\n filterVal = 0;\r\n }\r\n\r\n smoothedVal = (data * (1 - filterVal)) + (smoothedVal * filterVal);\r\n\r\n return (int)smoothedVal;\r\n}</pre>\r\nPress the Compile button to check your code. Compiling highlights any grammatical errors, which light up in red. If the sketch compiles correctly, click Upload to send the sketch to your board. When it has finished uploading, open the serial monitor, set the baud rate to 115200, and touch or approach the antenna. You should see two values racing down the screen. On the left is the raw value being read; on the right is the same reading after smoothing.\r\n\r\nIf nothing happens, double-check your wiring:\r\n<ul>\r\n \t<li>Make sure that you’re using the correct pin number.</li>\r\n \t<li>Check the connections on the breadboard. If the jump wires or components are not connected using the correct rows in the breadboard, they will not work.</li>\r\n</ul>\r\n<h2 id=\"tab3\" >Understanding the CapPinSketch Arduino sketch</h2>\r\nAt the start of the CapPinSketch sketch in the declarations, a new <code>CapPin</code> object is named. Note that <code>cPin_5</code> is the name and it is assigned to pin 5 using <code>CapPin(5)</code>:\r\n<pre class=\"code\">CapPin cPin_5 = CapPin(5); // read pin 5</pre>\r\nA float named <code>smoothed</code> is declared to store the processed value of the sensor:\r\n<pre class=\"code\">&lt;strong&gt;float&lt;/strong&gt; smoothed;</pre>\r\nIn <code>setup</code>, serial communication is started on a baud rate of 115200, and the message <em>start</em> is sent to indicate to you that the serial port is connected:\r\n<pre class=\"code\">&lt;strong&gt;void setup&lt;/strong&gt;()\r\n{\r\n \r\n&lt;strong&gt;Serial.begin&lt;/strong&gt;(115200);\r\n&lt;strong&gt;Serial.println&lt;/strong&gt;(&lt;strong&gt;\"start\"&lt;/strong&gt;);</pre>\r\nThis commented line is not used in this sketch but is referenced in some of the other CapSense examples. It can be uncommented to include further calibration functions that are in the library but is not be covered in this example:\r\n<pre class=\"code\">// slider_2_7.calibrateSlider();\r\n \r\n}</pre>\r\nIn this sketch, many variables are declared locally. Because they're not needed outside the loop, they're removed after each loop and redeclared at the start of the next loop.\r\n\r\nFirst, a one-millisecond delay occurs to help improve the stability of the reading:\r\n<pre class=\"code\">&lt;strong&gt;void loop&lt;/strong&gt;()\r\n{\r\n \r\n \r\n&lt;strong&gt;delay&lt;/strong&gt;(1);</pre>\r\nNext, the long variable <code>total1</code> is declared. This variable can look confusing because the lowercase <em>L</em> and the numeral 1 look the same in most fonts. Incidentally, this variable is not used in this sketch. It may well be left over from a previous version:\r\n<pre class=\"code\">&lt;strong&gt; long&lt;/strong&gt; total1 = 0;</pre>\r\nThe next long variable is set to the current <code>millis ()</code> value. Because this variable is local, the value is reset on each loop:\r\n<pre class=\"code\">&lt;strong&gt; long&lt;/strong&gt; start = &lt;strong&gt;millis&lt;/strong&gt;();</pre>\r\nThe specific function <code>.readPin()</code> reads your capacitive pin:\r\n<pre class=\"code\">&lt;strong&gt; long&lt;/strong&gt; total = cPin_5.readPin(2000);</pre>\r\nIf you want to explore in more depth what's happening, look at CapPin.cpp in the CapSense library. At first, the <code>CapPin.cpp</code> file looks baffling, but by reading the line that follows, you can see that the value relates to the number of samples that the Arduino is taking of the capacitance reading:\r\n<pre class=\"code\">strong&gt;long CapPin::readPin(&lt;strong&gt;unsigned&lt;/strong&gt; &lt;strong&gt;int&lt;/strong&gt; samples)</pre>\r\n<p class=\"article-tips tip\">Editing the inner workings of libraries is not advised for beginners, but it is good to have a look at them to know what’s happening in your code and try to gain a better understanding of them.</p>\r\nA smoothing function is also included in the sketch. This function takes the raw reading from the sensor, the smoothing value, and then the output variable. At present, the smoothing value is set to 0.8, but go ahead and experiment with this value to find the appropriate amount of smoothing for your application. This amount is dependent on how fast the loop is completed and how many readings are made in that time, so bear that in mind if you expect to add a lot of other controls or outputs:\r\n<pre class=\"code\">// simple lowpass filter to take out some of the jitter\r\n// change parameter (0 is min, .99 is max) or eliminate to suit\r\nsmoothed = smooth(total, .8, smoothed);</pre>\r\nFinally, the values are printed to the serial port to be monitored. <code>millis() – start</code> gives the time that is taken to carry out the reading. If more samples are taken or any delays are added to the code, these activities increase the time to complete the loop and, therefore, the reaction time of the sensor:\r\n<pre class=\"code\">&lt;strong&gt;Serial.print&lt;/strong&gt;( &lt;strong&gt;millis&lt;/strong&gt;() - start); // time to execute in mS</pre>\r\nTabs are used to neatly space the values. The total and smoothed values are both printed for comparison. You may notice a slight delay in the response time of the smoothed value. This delay shows you that your Arduino is reading many more values to do the smoothing, which takes time. This delay is barely noticeable when the sensor is in use because the baud rate is so high:\r\n<pre class=\"code\">&lt;strong&gt;Serial.print&lt;/strong&gt;(&lt;strong&gt;\"\\t\"&lt;/strong&gt;);\r\n&lt;strong&gt;Serial.print&lt;/strong&gt;(total); // raw total\r\n&lt;strong&gt;Serial.print&lt;/strong&gt;(&lt;strong&gt;\"\\t\"&lt;/strong&gt;);\r\n&lt;strong&gt;Serial.println&lt;/strong&gt;((&lt;strong&gt;int&lt;/strong&gt;) smoothed); // smoothed\r\n&lt;strong&gt;delay&lt;/strong&gt;(5);\r\n}</pre>\r\nAt the bottom of the sketch outside the main loop is an additional function, referred to as a <em>lowpass filter,</em> which gives you the smoothed result. You can see that rather than starting with <code>void</code>, as is the case in <code>setup ()</code> and <code>loop ()</code>, the function starts with <code>int</code>, which means that an integer value is returned. Starting with <code>int</code> indicates that this function returns an integer value rather than a floating-point value.\r\n<pre class=\"code\">// simple lowpass filter\r\n// requires recycling the output in the \"smoothedVal\" param\r\nint smooth(int data, float filterVal, float smoothedVal){\r\n\r\n if (filterVal &gt; 1){ // check to make sure param's are within range\r\n filterVal = .999999;\r\n }\r\n else if (filterVal &lt;= 0){\r\n filterVal = 0;\r\n }\r\n\r\n smoothedVal = (data * (1 - filterVal)) + (smoothedVal * filterVal);\r\n\r\n return (int)smoothedVal;\r\n}</pre>","blurb":"","authors":[{"authorId":9682,"name":"John Nussey","slug":"john-nussey","description":" \t <p><b>John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9682"}}],"primaryCategoryTaxonomy":{"categoryId":33517,"title":"Arduino","slug":"arduino","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33517"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}},{"articleId":284787,"title":"What Your Society Says About You","slug":"what-your-society-says-about-you","categoryList":["academics-the-arts","humanities"],"_links":{"self":"/articles/284787"}}],"inThisArticle":[{"label":"Getting the CapSense Arduino library","target":"#tab1"},{"label":"Implementing the CapPinSketch sketch","target":"#tab2"},{"label":"Understanding the CapPinSketch Arduino sketch","target":"#tab3"}],"relatedArticles":{"fromBook":[{"articleId":258604,"title":"10 Awesome Arduino Resources","slug":"10-awesome-arduino-resources","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258604"}},{"articleId":258598,"title":"Finding and Browsing Arduino Libraries","slug":"finding-and-browsing-arduino-libraries","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258598"}},{"articleId":258590,"title":"An Overview of Arduino Shields","slug":"an-overview-of-arduino-shields","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258590"}},{"articleId":258583,"title":"How to Assemble an Arduino Shield","slug":"how-to-assemble-an-arduino-shield","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258583"}},{"articleId":258576,"title":"What is Arduino?","slug":"what-is-arduino","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258576"}}],"fromCategory":[{"articleId":258604,"title":"10 Awesome Arduino Resources","slug":"10-awesome-arduino-resources","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258604"}},{"articleId":258598,"title":"Finding and Browsing Arduino Libraries","slug":"finding-and-browsing-arduino-libraries","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258598"}},{"articleId":258590,"title":"An Overview of Arduino Shields","slug":"an-overview-of-arduino-shields","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258590"}},{"articleId":258583,"title":"How to Assemble an Arduino Shield","slug":"how-to-assemble-an-arduino-shield","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258583"}},{"articleId":258576,"title":"What is Arduino?","slug":"what-is-arduino","categoryList":["technology","computers","hardware","arduino"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/258576"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":281630,"slug":"arduino-for-dummies-2nd-edition","isbn":"9781119489542","categoryList":["technology","computers","hardware","arduino"],"amazon":{"default":"https://www.amazon.com/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"https://www.amazon.ca/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"http://www.tkqlhce.com/click-9208661-13710633?url=https://www.chapters.indigo.ca/en-ca/books/product/1119489547-item.html&cjsku=978111945484","gb":"https://www.amazon.co.uk/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"https://www.amazon.de/gp/product/1119489547/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"https://www.dummies.com/wp-content/uploads/arduino-for-dummies-2nd-edition-cover-9781119489542-203x255.jpg","width":203,"height":255},"title":"Arduino For Dummies","testBankPinActivationLink":"","bookOutOfPrint":false,"authorsInfo":"<p><b data-author-id=\"9682\">John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. </p>","authors":[{"authorId":9682,"name":"John Nussey","slug":"john-nussey","description":" \t <p><b>John Nussey</b> is a designer, a technologist, and an entrepreneur who loves using technology in new and interesting ways. He has worked with Arduino for many years to prototype products and create interactive artwork. A proud Arduino advocate, he has taught the craft of physical computing and prototyping to people of all ages, competencies, and abilities. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9682"}}],"_links":{"self":"https://dummies-api.dummies.com/v2/books/"}},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;arduino&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119489542&quot;]}]\" id=\"du-slot-63221a9af1df3\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;hardware&quot;,&quot;arduino&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119489542&quot;]}]\" id=\"du-slot-63221a9af2668\"></div></div>"},"articleType":{"articleType":"Articles","articleList":null,"content":null,"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Explore","lifeExpectancy":null,"lifeExpectancySetFrom":null,"dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":258607}],"_links":{"self":{"self":"https://dummies-api.dummies.com/v2/categories/33516/categoryArticles?sortField=time&sortOrder=1&size=10&offset=0"},"next":{"self":"https://dummies-api.dummies.com/v2/categories/33516/categoryArticles?sortField=time&sortOrder=1&size=10&offset=10"},"last":{"self":"https://dummies-api.dummies.com/v2/categories/33516/categoryArticles?sortField=time&sortOrder=1&size=10&offset=94"}}},"objectTitle":"","status":"success","pageType":"article-category","objectId":"33516","page":1,"sortField":"time","sortOrder":1,"categoriesIds":[],"articleTypes":[],"filterData":{"categoriesFilter":[{"itemId":0,"itemName":"All Categories","count":104},{"itemId":33517,"itemName":"Arduino","count":26},{"itemId":33518,"itemName":"BeagleBone","count":21},{"itemId":34380,"itemName":"General Hardware","count":21},{"itemId":33519,"itemName":"Raspberry Pi","count":36}],"articleTypeFilter":[{"articleType":"All Types","count":104},{"articleType":"Articles","count":95},{"articleType":"Cheat Sheet","count":5},{"articleType":"Step by Step","count":4}]},"filterDataLoadedStatus":"success","pageSize":10},"adsState":{"pageScripts":{"headers":{"timestamp":"2025-04-17T15:50:01+00:00"},"adsId":0,"data":{"scripts":[{"pages":["all"],"location":"header","script":"<!--Optimizely Script-->\r\n<script src=\"https://cdn.optimizely.com/js/10563184655.js\"></script>","enabled":false},{"pages":["all"],"location":"header","script":"<!-- comScore Tag -->\r\n<script>var _comscore = _comscore || [];_comscore.push({ c1: \"2\", c2: \"15097263\" });(function() {var s = document.createElement(\"script\"), el = document.getElementsByTagName(\"script\")[0]; s.async = true;s.src = (document.location.protocol == \"https:\" ? \"https://sb\" : \"http://b\") + \".scorecardresearch.com/beacon.js\";el.parentNode.insertBefore(s, el);})();</script><noscript><img src=\"https://sb.scorecardresearch.com/p?c1=2&c2=15097263&cv=2.0&cj=1\" /></noscript>\r\n<!-- / comScore Tag -->","enabled":true},{"pages":["all"],"location":"footer","script":"<!--BEGIN QUALTRICS WEBSITE FEEDBACK SNIPPET-->\r\n<script type='text/javascript'>\r\n(function(){var g=function(e,h,f,g){\r\nthis.get=function(a){for(var a=a+\"=\",c=document.cookie.split(\";\"),b=0,e=c.length;b<e;b++){for(var d=c[b];\" \"==d.charAt(0);)d=d.substring(1,d.length);if(0==d.indexOf(a))return d.substring(a.length,d.length)}return null};\r\nthis.set=function(a,c){var b=\"\",b=new Date;b.setTime(b.getTime()+6048E5);b=\"; expires=\"+b.toGMTString();document.cookie=a+\"=\"+c+b+\"; path=/; \"};\r\nthis.check=function(){var a=this.get(f);if(a)a=a.split(\":\");else if(100!=e)\"v\"==h&&(e=Math.random()>=e/100?0:100),a=[h,e,0],this.set(f,a.join(\":\"));else return!0;var c=a[1];if(100==c)return!0;switch(a[0]){case \"v\":return!1;case \"r\":return c=a[2]%Math.floor(100/c),a[2]++,this.set(f,a.join(\":\")),!c}return!0};\r\nthis.go=function(){if(this.check()){var a=document.createElement(\"script\");a.type=\"text/javascript\";a.src=g;document.body&&document.body.appendChild(a)}};\r\nthis.start=function(){var t=this;\"complete\"!==document.readyState?window.addEventListener?window.addEventListener(\"load\",function(){t.go()},!1):window.attachEvent&&window.attachEvent(\"onload\",function(){t.go()}):t.go()};};\r\ntry{(new g(100,\"r\",\"QSI_S_ZN_5o5yqpvMVjgDOuN\",\"https://zn5o5yqpvmvjgdoun-wiley.siteintercept.qualtrics.com/SIE/?Q_ZID=ZN_5o5yqpvMVjgDOuN\")).start()}catch(i){}})();\r\n</script><div id='ZN_5o5yqpvMVjgDOuN'><!--DO NOT REMOVE-CONTENTS PLACED HERE--></div>\r\n<!--END WEBSITE FEEDBACK SNIPPET-->","enabled":false},{"pages":["all"],"location":"header","script":"<!-- Hotjar Tracking Code for http://www.dummies.com -->\r\n<script>\r\n (function(h,o,t,j,a,r){\r\n h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};\r\n h._hjSettings={hjid:257151,hjsv:6};\r\n a=o.getElementsByTagName('head')[0];\r\n r=o.createElement('script');r.async=1;\r\n r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;\r\n a.appendChild(r);\r\n })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');\r\n</script>","enabled":false},{"pages":["article"],"location":"header","script":"<!-- //Connect Container: dummies --> <script src=\"//get.s-onetag.com/bffe21a1-6bb8-4928-9449-7beadb468dae/tag.min.js\" async defer></script>","enabled":true},{"pages":["homepage"],"location":"header","script":"<meta name=\"facebook-domain-verification\" content=\"irk8y0irxf718trg3uwwuexg6xpva0\" />","enabled":true},{"pages":["homepage","article","category","search"],"location":"footer","script":"<!-- Facebook Pixel Code -->\r\n<noscript>\r\n<img height=\"1\" width=\"1\" src=\"https://www.facebook.com/tr?id=256338321977984&ev=PageView&noscript=1\"/>\r\n</noscript>\r\n<!-- End Facebook Pixel Code -->","enabled":true}]}},"pageScriptsLoadedStatus":"success"},"navigationState":{"navigationCollections":[{"collectionId":287568,"title":"BYOB (Be Your Own Boss)","hasSubCategories":false,"url":"/collection/for-the-entry-level-entrepreneur-287568"},{"collectionId":293237,"title":"Be a Rad Dad","hasSubCategories":false,"url":"/collection/be-the-best-dad-293237"},{"collectionId":295890,"title":"Career Shifting","hasSubCategories":false,"url":"/collection/career-shifting-295890"},{"collectionId":294090,"title":"Contemplating the Cosmos","hasSubCategories":false,"url":"/collection/theres-something-about-space-294090"},{"collectionId":287563,"title":"For Those Seeking Peace of Mind","hasSubCategories":false,"url":"/collection/for-those-seeking-peace-of-mind-287563"},{"collectionId":287570,"title":"For the Aspiring Aficionado","hasSubCategories":false,"url":"/collection/for-the-bougielicious-287570"},{"collectionId":291903,"title":"For the Budding Cannabis Enthusiast","hasSubCategories":false,"url":"/collection/for-the-budding-cannabis-enthusiast-291903"},{"collectionId":299891,"title":"For the College Bound","hasSubCategories":false,"url":"/collection/for-the-college-bound-299891"},{"collectionId":291934,"title":"For the Exam-Season Crammer","hasSubCategories":false,"url":"/collection/for-the-exam-season-crammer-291934"},{"collectionId":301547,"title":"For the Game Day Prepper","hasSubCategories":false,"url":"/collection/big-game-day-prep-made-easy-301547"}],"navigationCollectionsLoadedStatus":"success","navigationCategories":{"books":{"0":{"data":[{"categoryId":33512,"title":"Technology","hasSubCategories":true,"url":"/category/books/technology-33512"},{"categoryId":33662,"title":"Academics & The Arts","hasSubCategories":true,"url":"/category/books/academics-the-arts-33662"},{"categoryId":33809,"title":"Home, Auto, & Hobbies","hasSubCategories":true,"url":"/category/books/home-auto-hobbies-33809"},{"categoryId":34038,"title":"Body, Mind, & Spirit","hasSubCategories":true,"url":"/category/books/body-mind-spirit-34038"},{"categoryId":34224,"title":"Business, Careers, & Money","hasSubCategories":true,"url":"/category/books/business-careers-money-34224"}],"breadcrumbs":[],"categoryTitle":"Level 0 Category","mainCategoryUrl":"/category/books/level-0-category-0"}},"articles":{"0":{"data":[{"categoryId":33512,"title":"Technology","hasSubCategories":true,"url":"/category/articles/technology-33512"},{"categoryId":33662,"title":"Academics & The Arts","hasSubCategories":true,"url":"/category/articles/academics-the-arts-33662"},{"categoryId":33809,"title":"Home, Auto, & Hobbies","hasSubCategories":true,"url":"/category/articles/home-auto-hobbies-33809"},{"categoryId":34038,"title":"Body, Mind, & Spirit","hasSubCategories":true,"url":"/category/articles/body-mind-spirit-34038"},{"categoryId":34224,"title":"Business, Careers, & Money","hasSubCategories":true,"url":"/category/articles/business-careers-money-34224"}],"breadcrumbs":[],"categoryTitle":"Level 0 Category","mainCategoryUrl":"/category/articles/level-0-category-0"}}},"navigationCategoriesLoadedStatus":"success"},"searchState":{"searchList":[],"searchStatus":"initial","relatedArticlesList":[],"relatedArticlesStatus":"initial"},"routeState":{"name":"ArticleCategory","path":"/category/articles/hardware-33516/","hash":"","query":{},"params":{"category":"hardware-33516"},"fullPath":"/category/articles/hardware-33516/","meta":{"routeType":"category","breadcrumbInfo":{"suffix":"Articles","baseRoute":"/category/articles"},"prerenderWithAsyncData":true},"from":{"name":null,"path":"/","hash":"","query":{},"params":{},"fullPath":"/","meta":{}}},"profileState":{"auth":{},"userOptions":{},"status":"success"}}
Logo
  • Articles Open Article Categories
  • Books Open Book Categories
  • Collections Open Collections list
  • Custom Solutions

Article Categories

Book Categories

Collections

Explore all collections
BYOB (Be Your Own Boss)
Be a Rad Dad
Career Shifting
Contemplating the Cosmos
For Those Seeking Peace of Mind
For the Aspiring Aficionado
For the Budding Cannabis Enthusiast
For the College Bound
For the Exam-Season Crammer
For the Game Day Prepper
Log In
  • Home
  • Technology Articles
  • Computers Articles
  • Hardware Articles

Hardware Articles

Want to dive into the nuts and bolts of computer hardware? You're in the right place. Check out these helpful articles on the physical side of computing.

Browse By Category

Arduino

BeagleBone

Raspberry Pi

General Hardware

Previous slideNext slide

Arduino

BeagleBone

Raspberry Pi

General Hardware

Articles From Hardware

page 1
page 2
page 3
page 4
page 5
page 6
page 7
page 8
page 9
page 10
page 11

Filter Results

104 results
104 results
Arduino How to Complete Your First Arduino Sketch

Article / Updated 08-16-2022

Once you have the basics, you can now complete your first sketch. In front of you now should be an Arduino Uno R3, a USB cable, and a computer running your choice of operating system (Windows, Mac OS, or Linux). Find the Blink Sketch To make sure that the Arduino software is talking to the hardware, you upload a sketch. What is a sketch, you ask? Arduino was created as a device that allows people to quickly prototype and test ideas using little bits of code that demonstrate the idea — kind of like how you might sketch out an idea on paper. For this reason, programs written for Arduino are referred to as sketches. Although a device for quick prototyping was its starting point, Arduino devices are being used for increasingly complex operations. So don't infer from the name sketch that an Arduino program is trivial in any way. The specific sketch you want to use here is called Blink. It's about the most basic sketch you can write, a sort of “Hello, world!” for Arduino. Click in the Arduino window. From the menu bar, choose File→Examples→01.Basics→Blink. A new window opens in front of your blank sketch. Identify your board Before you can upload the sketch, you need to check a few things. First you should confirm which board you have. You can choose from a variety of Arduino devices and several variations on the USB board. The latest generation of USB boards is the Uno R3. If you bought your device new, you can be fairly certain that this is the type of board you have. To make doubly sure, check the back of the board. You should see details about the board's model. Also worth checking is the ATMEL chip on the Arduino. The ATMEL chip is the brains of the Arduino and is similar to the processor in your computer. Because the Uno and earlier boards allow you to replace the chip, there is always a chance, especially with a used board, that the chip has been replaced with a different one. Although the ATMEL chip looks quite distinctive on an individual board, if you compare it to an older Arduino, telling them apart at first glance would be difficult. The important distinguishing feature is written on the surface of the chip. In this case, you are looking for ATmega328P-PU. Configure the software After you confirm the type of board you are using, you have to provide that information to the software. From the Arduino main menu bar (at the top of the Arduino window on Windows and at the top of the screen on Mac OS X), choose Tools→Board. You should see a list of the different kinds of boards supported by the Arduino software. Select your board from the list. Next, you need to select the serial port. The serial port is the connection that enables your computer and the Arduino device to communicate. Serial describes the way that data is sent, one bit of data (0 or 1) at a time. The port the physical interface, in this case a USB socket. To determine the serial port, choose Tools→Serial Port. A list displays of devices connected to your computer. This list contains any device that can talk in serial, but for the moment, you're only interested in finding the Arduino. If you've just installed Arduino and plugged it in, it should be at the top of the list. For OS X users, this is shown as /dev/tty.usbmodemXXXXXX (where XXXXXX is a randomly signed number). On Windows, the same is true, but the serial ports are named COM1, COM2, COM3, and so on. The highest number is usually the most recent device. After you find your serial port, select it. It should appear in the bottom right of the Arduino GUI, along with the board you selected. Upload the sketch Now that you have told the Arduino software what kind of board you are communicating with and which serial port connection it is using, you can upload the Blink sketch. First click the Verify button. Verify checks the code to make sure it makes sense. This doesn't necessarily mean your code will do what you are anticipating, but it verifies that the syntax is written in a way Arduino can understand. You should see a progress bar and the text Compiling Sketch for a few seconds, followed by the text Done compiling after the process has finished. If the sketch compiled successfully, you can click the Upload button next to the verify button. A progress bar appears, and you see lots of activity on your board from the two LEDs marked RX and TX. These show that the Arduino is sending and receiving data. After a few seconds, the RX and TX LEDs stop blinking, and a Done Uploading message appears at the bottom of the window. You should see the LED marked L blinking away reassuringly: on for a second, off for a second. If that is the case, give yourself a pat on the back. You've just uploaded your first piece of Arduino code and entered the world of physical computing! If you don't see the blinking L, review the preceding steps. Make sure you have installed Arduino properly and then give it one more go. If you still don't see the blinking L, check out the excellent troubleshooting page on the official Arduino site. Without breaking a sweat you've just uploaded your first sketch to an Arduino.

View Article
Arduino Finding and Browsing Arduino Libraries

Article / Updated 07-20-2022

Basic Arduino sketches can get you quite a long way, but when you become more advanced you need to know about libraries. Libraries provide extra functionality to your Arduino sketch, either to use specific hardware or to incorporate more complex functions in software. In the same way that you’d go to a physical library to learn something new, you include libraries in your code to teach your Arduino something new. By including a library in a sketch, you can quickly and easily access functions to help you achieve your goals. Getting started with complex hardware or software can be difficult. Luckily, a lot of people have taken the time to document their progress and have released libraries, often with examples, that you can easily integrate into your own Arduino sketches. From this, it’s possible to get something working and gain a better understanding of it. This learn-by-doing approach of Arduino allows you to make a lot of progress quickly and easily with hardware or software that would otherwise be a huge challenge. Standard Arduino libraries Standard Arduino libraries refers to a selection of the libraries included in the current release of Arduino at the time of writing (1.8.5). The standard libraries cover a wide range of subject areas and are usually popular topics that have been heavily documented. You can find these libraries by choosing Sketch →   Include Library →   Manage Libraries. Choosing a library includes one line at the top of your current sketch, such as #include <EEPROM.h>. Before you attempt to understand a library, you should try an example of it. You'll find examples at the bottom of the menu that appears at when you choose File →   Examples. Here is a brief description of what each Arduino library does: EEPROM: Your Arduino has electronically erasable programmable read-only memory (EEPROM), which is permanent storage similar to the hard drive in a computer. Data stored in this location stays there even if your Arduino is powered down. Using the EEPROM library, you can read from and write to this memory. Ethernet: After you have your Ethernet shield, the Ethernet library allows you to quickly and easily start talking to the Internet. When you use this library, your Arduino can act either as a server that is accessible to other devices or as a client that requests data. Firmata: Firmata is one way to control your Arduino from software on a computer. It is a standard communication protocol, so you can use the library to allow easy communication between hardware and software rather than write your own communication software. LiquidCrystal: The LiquidCrystal library helps your Arduino talk to most liquid crystal displays (LCDs). The library is based on the Hitachi HD44780 driver, and you can usually identify these displays by their 16-pin interface. SD: The SD library allows you to read from and write to SD and microSD cards connected to your Arduino. SD cards need to use SPI to transfer data quickly, which happens on pins 11, 12, and 13. You also need to have another pin to select the SD card when it’s needed. Servo: The Servo library allows you to control up to 12 servo motors on the Uno R3 (and up to 48 on the Mega). Most hobby servos turn 180 degrees, and using this library, you can specify the degree that you want your servo(s) to turn to. SPI: The Serial Peripheral Interface (SPI) is a method of communication that allows your Arduino to communicate very quickly with one or more devices over a short distance. Example of this communication include receiving data from sensors, talking to peripherals such as an SD card reader, and communicating with another microcontroller. SoftwareSerial: The SoftwareSerial library allows you to use any digital pins to send and receive serial messages instead of, or in addition to, the usual hardware pins (0 and 1). This capability is great if you want to keep the hardware pins free for communication to a computer, allowing you to have a permanent debug connection to your project while still being able to upload new sketches or to send duplicate data to multiple serial devices. Stepper: The Stepper library allows you to control stepper motors from your Arduino. This code also requires the appropriate hardware to work, so make sure to read Tom Igoe’s notes on the subject. Wi-Fi: The WiFi library is based on the Ethernet library listed previously, but with alterations specific to the Wi-Fi shield to allow you to wirelessly connect to the Internet. The WiFi library also works well with the SD library, allowing you to store data on the shield. Wire: The Wire library allows your Arduino to communicate with I2C devices (also known as TWI, or two-wire interface). Such devices could be addressable LEDs or a Wii Nunchuk, for example. Additional Arduino libraries Many libraries aren’t included in the Arduino software by default. Some libraries are for unique applications such as specific hardware or functions; others are refinements or adaptations of existing libraries. Luckily, Arduino makes including these easy, so you can quickly try them all to see which are right for your needs. Most libraries are easily installed by choosing Sketch →   Include Library →   Manage Libraries from the Arduino IDE menu. The Library Manager dialog box displays an easily searchable list of libraries submitted to the Arduino servers and approved for release. Libraries may also be distributed as ZIP files that have the same name as the library; for example, the capacitive sensing library CapSense should be distributed as CapSense.zip and should contain a folder of the same name when unzipped. Inside the folder there are files ending in .h and .cpp, such as CapPin.h and CapPin.cpp, and maybe even an Examples folder. If your .zip file contains only loose .h and .cpp files, you should place them in a folder with a library name. Sometimes you may find many .h and .cpp files that all perform different functions in the library, so make sure they're all inside the folder. In the latest release of Arduino (1.8.5 at the time of this writing), it’s easy to include libraries distributed as ZIP files. Simply choose Sketch →   Include Library →   Add .ZIP Library and select the ZIP file containing the library. After the library is installed, restart Arduino and choose Sketch →   Include Library to check that your library is in the list. If the library has an Examples folder, you should also be able to see the examples by choosing File →   Examples and then choosing the name of the library. That’s all there is to installing a library. Removing a library is as simple: just take the library folder out of the Arduino Sketch folder. Contributed Arduino libraries A long list of community-contributed libraries appears on the Arduino libraries page and an exhaustive list appears on the Arduino Playground. To become familiar with contributed libraries, start with CapSense and TimerOne, two commonly used and helpful libraries: CapSense: The CapSense library allows you to make one or many pins on your Arduino into capacitive sensors. This feature allows you to make simple touch, pressure, or presence detection sensors quickly and easily with little hardware. The Arduino Playground page has a lot of useful information, but a more recent version of the code can be found on GitHub. TimerOne: TimerOne (also called Timer1) uses a hardware timer on your Arduino to perform timed events at regular intervals. It’s a great library for reading sensor data regularly without interrupting what’s going on in the main loop. You can find a TimerOne page on the Arduino Playground and an up-to-date version of the library on Google Code. If you’re keen to understand libraries more and maybe even write your own, check out the introduction to writing your own libraries on the Arduino GitHub page.

View Article
Arduino Arduino Boards that Aren’t the Arduino Uno

Article / Updated 07-19-2022

You can us the standard USB Arduino board, but you should be aware that many others exist, all designed with different needs in mind. Some Arduino boards offer more functionality, and others are designed to be more minimal, but generally they follow a design similar to that of the Arduino Uno. The Arduino Uno is a great board, but here are some other options if you feel like venturing out. Official Arduino boards Although Arduino is open source, it is also a trademarked brand, so to guarantee the quality and consistency of its products, the Arduino team must properly approve new boards before they are officially recognized and can bear the name Arduino. You can recognize official boards first by the name — Arduino Pro, Arduino Fio, or Arduino LilyPad, for example. Other nonofficial boards often include Arduino compatible or for Arduino in the name. The other way to recognize an official Arduino, made by the Arduino team, is by the branding (in the most recent versions): They are turquoise and display the infinity symbol somewhere on the board, along with a link to Arduino’s site. Some other companies also have their boards accepted as official boards, so you may find other company names printed on them, such as Adafruit Industries and SparkFun. Because the schematics for the Arduino board are open source, unofficial Arduino boards have a lot of variation, which people have made for their own needs. These boards are usually based on the same microcontroller chips to remain compatible with the Arduino software, but they require extra consideration and reading to be sure that they will work as expected. The Seeeduino v4.2 (by Seeed Studio), for example, is based on the Arduino Uno and is 100 percent compatible but adds various extra connections, switches, and sockets, which may be of more use to you than an official Arduino board in certain situations. Official boards are the safe option for beginners to choose because the majority of Arduino examples online are based on these boards. Because of this, official boards are more widely used, and because of that, any errors or bugs in the board design are likely to be remedied with the next revision or at least well documented. Arduino Leonardo The Leonardo has the same footprint (shape of circuit board), but the microcontroller used is different and can be recognized as a keyboard or mouse by a computer. In the “Hacking Other Hardware” bonus chapter of Arduino For Dummies, 2nd Edition, you can find more detail about the differences between this board and the Uno and how to use it. Arduino Mega 2560 R3 As the name suggests, the Arduino Mega 2560 R3 is a bigger board than the Arduino Uno R3. It is for people who want more: more inputs, more outputs, and more processing power! The Mega has 54 digital pins and 16 analog pins whereas the Uno has a measly 15 digital and 6 analog pins. Arduino Mega ADK The Arduino Mega ADK is essentially the same board as the Mega 2560 Arduino but is designed to interface with Android phones. This means you can share data between your Android mobile or tablet and an Arduino to broaden the range of either. Arduino Nano 3.0 The Arduino Nano 3.0 is a condensed Arduino that measures just 0.70″ x 1.70″. This size is perfect for making your project smaller. The Nano has all the power of an Arduino Uno (both use the same ATmega328 microcontroller), but it's a fraction of the size. The Nano also handily fits into a breadboard, making it ideal for prototyping as well. Arduino Mini R5 Despite what the names suggest, the Arduino Mini R5 is smaller than the Nano. This board also uses the same ATmega328 microcontroller chip but is condensed further, removing all header pins and the Mini-USB connector of the Nano. The Mini board is great if space is at a premium, but it does require great care when connecting because an incorrect connection can easily destroy the board. Arduino 101 The Arduino 101 uses the Intel Curie module to provide a board that’s as easy to use as Arduino but with the latest Bluetooth low energy technology. It also features a six-axis accelerometer to detect movement, making it a great companion for any wearable technology projects or for talking to other Bluetooth devices. Arduino MKR1000 The Arduino MKR1000 is a simple but powerful board, combining a 32-bit processor with a Wi-Fi module. It’s perfect for linking sensors and actuators to the Internet or prototyping your next Internet of Things (IoT) project. Along with its small form factor, it has a handy battery connector to allow you to take your project on the move. Contributed (approved) Arduinos Many Arduino boards are now standardized and designed by the Arduino team. However, some have been contributed by other companies, such as Adafruit Industries and SparkFun, and are recognized as official boards. LilyPad Arduino USB The LilyPad Arduino USB was made for projects in which technology is combined with textiles to aid in the development of e-textiles or wearable electronics projects. The LilyPad and its accompanying breakout boards (printed circuit board that make it easy to integrate various components without the need to build your own boards) can be sewn together using conductive thread instead of conventional wire. This board was designed and developed by Leah Buechley of MIT and SparkFun Electronics. If you’re interested in e-textiles or wearable electronics, check out the excellent tutorial on SparkFun’s site that introduces the latest version of the board and the ProtoSnap kit. Arduino Pro The Arduino Pro is a minimal and super skinny Arduino, by SparkFun Electronics, based on the same microcontroller as those used in the Uno. It comes without any of the normal headers or sockets but has all the same capabilities of an Uno. It’s ideal when height is at a short supply. In addition, it has a battery socket, which allows you to easily make your project portable. Arduino Pro Mini The Pro Mini is another SparkFun product; this one pushes the minimalism of the Arduino Pro to new limits. In the scale of Arduinos, the Pro Mini sits neatly between the Nano and the Mini. It has none of the header pins or the Mini-USB port of the Nano, and is slightly more spread out than the Arduino Mini. The Pro Mini has none of the safety features of the Uno, so take great care when wiring because a wrong connection can easily destroy the board.

View Article
Arduino An Overview of Arduino Shields

Article / Updated 07-19-2022

Shields are pieces of hardware that sit on top of your Arduino, often to give it a specific purpose. For example, you can use a shield to make it easier to connect and control motors or even to turn your Arduino into something as complex as a mobile phone. A shield may start out as an interesting bit of hardware that an enthusiast has been experimenting with and wants to share with the community. Or an enterprising individual (or company) may design a shield to make an application easier based on demand from the Arduino community. Shields can be simple or complex. They are sold preassembled or as kits. Kits allow you more freedom to assemble the Arduino shield as you need it to be. Some kits require you to assemble the circuitry of the boards, although more complex shields may already be largely assembled, needing only header pins. Shields enable you to use your Arduino for more than one purpose and to change that purpose easily. They neatly package the electronics for that circuit in the same footprint as an Arduino, and are stackable to combine different functionalities. But they all have to use the same pins on the Arduino, so if you stack shields, watch out for those that need to use the same pins. They always connect the GND pins, too, because any communication by your Arduino and another device needs a common GND. Arduino shield combinations In theory, shields could be stacked on top of each other forever, but you should take some points into consideration before combining them: Physical size: Some shields just don’t fit on top of one another. Components that are higher than the header sockets may touch the underside of any board on top of it. This situation, which can cause short circuits if a connection is made that shouldn’t be, can seriously damage your boards. Obstruction of inputs and outputs: If an input or output is obstructed by another shield, it becomes redundant. For example, there’s no point having a joystick shield or an LCD shield under another shield because no more than one can be used. Power requirements: Some hardware requires a lot of power. Although it is all right for shields to use the same power and ground pins, there is a limit to the amount of current that can flow through the other input/output (I/O) pins: 40mA per pin and 200mA max between all I/O pins. Exceed this, and you run the risk of seriously damaging your board and any other attached shield. In most cases, you can easily remedy this problem by powering your Arduino and shields from an external power supply so that the current isn’t passed through the Arduino. Make sure to use a common GND if you’re communicating between a board using I2C, SPI, or serial. Pins: Some shields require the use of certain pins. It’s important to make sure that shields aren’t doubling up on the same pins. In the best case, the hardware will just be confused; in the worst case, you can send voltage to the wrong place and damage your board. Software: Some of these shields need specific libraries to work. There can be conflicts in libraries calling on the same functions, so make sure to read up on what’s required for your shield. Interference with radio/Wi-Fi/GPS/GSM: Wireless devices need space to work. Move antennas or aerials away from the board to get a clear signal. If an antenna is mounted on the board, it’s generally a bad idea to cover it. Always try to place wireless shields at the top of the stack. Arduino shield reviews To give you an idea of available shields, check out some of the most interesting and useful Arduino shields on the market and shows you where to look for more information. The prices listed are subject to change so always do you research before making a purchase decision. A lot of feedback on all of these products is available online, so always read the comments and forums to get a good understanding of what you’re buying. This range of shields covers a vast number of different uses and the huge potential of Arduino projects. For many projects, a shield is all you need, but a shield is also an excellent stepping-stone for proving a concept before refining or miniaturizing your project. Prices provided are from a range of distributors to show the approximate value of the items. If you are a savvy shopper or are looking to buy in bulk, you may be able to reduce the cost. Proto shield kit Rev3 Made by: Arduino Price: $9.90 from Arduino Store Pins used: None The Proto shield is a platform for building custom circuits on your Arduino. Many Arduino shields add a specific function to your Arduino, but with a Proto Shield, you can decide how to use it. Take your existing breadboard layouts and solder them to the surface of the Proto shield to make your project more durable. Proto shields also come in a larger size to match the Arduino Mega’s footprint. Another handy feature of these shields is the space to attach SMD parts, which can be difficult to do otherwise. The Proto shield is sold either fully assembled or as a kit that requires soldering. You can find details about the shield on the Arduino product page. ProtoScrew shield Made by: WingShield Industries Price: $14.95 from Adafruit Pins used: None ProtoScrew shield is similar to the regular Proto shield but has large screw terminals connected to the pins as well. This feature is great for applications that have lots of inputs that may need changing or swapping, or just for easier assembly and disassembly. Changing a piece of wire is much easier with screw terminals than with soldering, so bear this in mind when planning your next project. ProtoScrew shield is sold as a kit and requires soldering. You can find more details on the Adafruit product page. Adafruit Wave shield v1.1 Made by: Adafruit Price: $22.00 from Adafruit Pins used: 13, 12, 11, 10, 5, 4, 3, 2 on the Uno R3 The Wave shield is a relatively cheap kit that allows you to play sounds or music with your Arduino. The Wave shield allows you to play WAV files directly from an SD card, making it easy to upload and change the sound files from your computer. To use the shield, you need the WaveHC library, which is available from the product page and Google Code. The Wave shield is sold as a kit and requires soldering. The SD card reader must use pins 13, 12, and 11 because they support a high-speed Serial Peripheral Interface (SPI), which is a protocol needed to transfer data quickly. Pin 10 is used to communicate with the SD card reader, and pins 5, 4, 3, and 2 are used to talk to the digital-to-analog converter (DAC), which converts a digital music signal into an analog voltage. For more details, visit the product page on Adafruit’s website. MP3 player shield Made by: SparkFun Price: $24.95 from SparkFun Pins used: 13, 12, 11, 9, 8, 7, 6, 5, 4, 3, 2 on the Uno R3 Turn your Arduino into an MP3 player with the easy-to-assemble MP3 player shield from SparkFun! Not only can it decode MP3 files, it’s also capable of decoding Ogg Vorbis, AAC, WMA, and MIDI. The MP3 shield also has a microSD card reader for ease of uploading files, and it has a 3.5mm mini jack that you can connect to most speaker systems. The MP3 player shield is assembled but requires minor soldering to attach the header pins or header sockets. The SD card reader uses pins 13, 12, and 11. You use pin 9 to talk with the SD card reader. Use pins 8, 7, 6, and 2 talk to MP3 audio decoder VS1053B, and use pins 4 and 3 for additional MIDI functionality. For more details, visit the SparkFun products page. Also see the tutorial page. The comments below the tutorial address many of the issues with this guide. One user has even written a library to make your life easier — a great example of the Arduino community supporting existing products. Always read the comments and forum entries on products and kits. These comments often contain a lot of detail on the ease of (or difficulty with) a product. This is also the place to voice your own problems. Just be sure that you’re not repeating something that’s solved further down the page; otherwise, you’ll be advised to read the manual! MIDI shield Made by: SparkFun Price: $19.95 from SparkFun Pins used: Uses pins 2, 3, 4, 6, 7, A1, A0 on the Uno R3 MIDI (Music Instrument Digital Interface) revolutionized the music industry in the 1980s and is still widely used now to connect instruments, computer, stage effects, and other hardware. With the MIDI shield, you can interface with anything that can send or receive MIDI data and incorporate it into your Arduino project. The MIDI shield is sold as a kit and requires soldering. For more details, visit the SparkFun product page. You can find some excellent general tutorials on MIDI on Arduino’s site and a lot of excellent reference material at tigoe.net and Hinton Instruments. RGB LCD shield with 16 x 2 character display Made by: Adafruit Price: $24.95 from Adafruit Pins used: Uses pins A4 and A5 on the Uno R3 This handy LCD (liquid crystal display) shield packages everything you need onto one board. LCDs are found in older mobile phones and Nintendo GameBoys (wow, that sounds old). They use a film that sits over a solid-colored, usually backlit surface. The pixels of this film can be turned on or off to make shapes, text, or graphics, and this is what you control with your Arduino. At the center of the shield is an RGB LCD display, so instead of being stuck with just one color, you can choose from any RGB color. The RGB backlight is controlled directly from your Arduino. The display is a 16 x 2 character display (no graphics), which means you can write two rows of 16 characters. You can choose from two displays: colored text on a dark background (negative) or dark text on a colored background (positive). A variety of LCD character displays with various backlighting and dimensions is available, so be sure to shop around. The RGB LCD shield is sold as a kit and requires soldering. Instead of using nine pins or more, the LCD, backlight, and buttons together use just two. By using the I2C to communicate with the shield, you can use only analog pin 4, which is the data (SDA) line, and analog pin 5, which is the clock (SCL) line. This protocol is used in many devices, so it is extremely useful to know about it. For more details on I2C, check John Boxall’s excellent tutorial. Shields are also available that use the same technology but don’t limit you to letters and numbers. If you’re looking to display your own graphics, you might want to use the SparkFun color LCD shield, which uses a Nokia 6100 screen, or the larger TFT touch shield. 2.8” TFT touch shield with capacitive touch Made by: Adafruit Price: $44.95 from Adafruit Pins used: 4, 8, 9, 10, 11, 12, 13, A4, A5 If an LCD display isn’t enough for you, try the TFT touch shield to add full color and touch input to your project. This display is a TFT LCD screen — a variation on a standard LCD screen that uses thin-film transistor (TFT) technology to improve the image quality — with a resolution of 240 x 320 pixels and 18-bit colors, giving you 262,144 shades. The screen is also fitted with a resistive touchscreen to register finger presses anywhere on the surface of the screen. The TFT touch shield is sold fully assembled and requires no soldering, so you can simply plug it on top of your Arduino. The touch shield needs a lot of pins to function and leaves you with only digital pins 2 and 3 and analog pins 4 and 5. Pin 12 is also available if you're not using the microSD reader. Check out Adafruit’s products page. Adafruit has also kindly written a complete library for the TFT to draw pixels, shapes, and text and a library for the touchscreen that detects x, y, and z horizontal movement, vertical movement, and pressure. Joystick shield Made by: SparkFun Price: $12.95 from SparkFun Pins used: 2, 3, 4, 5, 6, A0, A1 The joystick shield has all the functions of a modern game controller on a single Arduino-compatible board. It provides not only four pushbuttons to assign to various functions but also a hidden button in the control stick itself. With the ergonomic control stick, you can smoothly transition between x and y axes to perform movements with great accuracy. The joystick shield is sold as a kit and requires soldering. It uses only five digital pins and two analog pins, leaving many other Arduino pins free for other uses. It has five pushbuttons, using digital pins 2 to 6. The movement of the joystick is measured using two potentiometers: analog 0 maps the x, or horizontal, movement; analog 1 maps the y, or vertical, movement. You can find more details on the SparkFun product page. Adafruit motor/stepper/servo shield kit v2.3 Made by: Adafruit Price: $19.95 from Adafruit Pins used: 9, 10, A4, A5 Love motors? Want to try them all? Then the Adafruit motor/stepper/servo shield is the one for you. The shield is aptly named, enabling you to run all those motors you love. You can connect up to two 5V hobby servos, two stepper motors, or four bidirectional DC motors. The screw terminals make attaching and switching motors easy. When dealing with motors, it’s always important to make sure that you have enough current to drive them all, so a handy screw terminal on the shield allows you to power your motors independently of your Arduino. The Adafruit motor/stepper/servo shield is sold as a kit and requires soldering. Pins A4 and A5 control any connected DC or stepper motors, and pins 9 and 10 control any connected servos. This leaves you with a lot of pins free to be used for other inputs or outputs. You can find many details on the Adafruit product page and in the in-depth tutorial. Be aware of how much load is on the motor because the shield is designed to provide up to 600 mA per motor, with 1.2A peak current. If you’re approaching 1A, include a heat sink on the motor driver to dissipate the heat. Also, the nice people at Adafruit provide an easy-to-use library for your motor project. Happy motoring! LiPower shield Made by: SparkFun Price: $29.95 from SparkFun Pins used: 3 If you want to make your Arduino project more mobile, batteries are the answer. Rather than use bulky AA or AAA battery packs, the LiPower shield allows you to use rechargeable lithium batteries instead. Although lithium batteries are rated as only 3.7V, some clever hardware steps them up to 5V to make them sufficient to power your Arduino. The LiPower shield is assembled but requires minor soldering to attach the header pins or header sockets. Because the LiPower shield is there to provide power and not consume it, only one pin is in use. Pin 3 can be configured as an alert interrupt pin to signal whenever the battery drops to 32 percent or lower. For more details, check out the SparkFun product page. You find interesting notes on the hardware regarding the difficulties with charging lithium batteries, so make sure to read all the comments below the product description. Many other smaller lithium breakout boards are available that supply the standard 3.7V, such as the SparkFun USB LiPoly charger and the Adafruit micro Lipo. These breakout boards are perfect when paired with an appropriate low-voltage Arduino, such as the Arduino MKR1000. Boards such as the Arduino MRK1000 are useful when trying to reduce the size of your Arduino project. Adafruit Ultimate GPS logger shield Made by: Adafruit Price: $44.95 from Adafruit Pins used: 7, 8, 10, 11, 12, 13, A4, A5 The Adafruit Ultimate GPS logger shield lets you track and store location information using the Global Positioning System. You can find your location within a few meters. Use it to create GPS art or to map all your movements over the month. It’s also great for giving you an extremely accurate time. Data is stored on a microSD card as a TXT file, which can then be overlaid onto Google Maps or visualized in some other way. With the ever-increasing storage capacity of SD cards, you can store much more data on an SD card than your Arduino can on its own internal memory. This extra capacity is especially useful because it keeps your data-logging device mobile without the need for a computer, so you can leave that bulky laptop at home and send your GPS device out into the world! The Adafruit Ultimate GPS logger shield is sold without attached header pins and requires soldering. Pins 10, 11, 12, and 13 are used for communication with the SD card. The GPS module uses either the hardware serial connection (pins 0 and 1) or two pins for a software serial connection (pins 7 and 8). You can enable other optional functions, such as a signaling LED to indicate when data is logged, a pin to monitor the pulse from the GPS synchronization clock, and a pin to detect when an SD card is in the slot. Get the shield and more information on Adafruit. You can view an in-depth tutorial on Adafruit’s site, which details everything from construction of the kit to the Arduino code, along with uses for the GPS data. Adafruit FONA 800 shield Made by: Adafruit Price: $39.95 from Adafruit Pin requirements: 2, 3, 4 The Adafruit FONA 800 shield turns your modest Arduino into a functional mobile phone. With this shield, you can send and receive calls, text messages, and even data. All you need is a prepaid SIM card and an antenna, and you’re ready to communicate with the world. By using serial commands you can send codes to talk to the SIM800L module. The Adafruit FONA 800 shield is sold without attached header pins. You also need to purchase an antenna with an SMA connector; Adafruit offers a Slim Sticker-type GSM/Cellular quad-band antenna. The Arduino talks with the SIM800L via pins 2 and 3 using the SoftwareSerial library. The SIM card should have enough credit to perform the actions you’re trying to do. Those offering unlimited text messages are especially useful. Other optional extras are a mic and a speaker; without them, you won't be able to do anything more than call and hang up. You can view an in-depth tutorial on Adafruit’s site. Geiger counter – radiation sensor board shield Made by: Liberium Price: $170 from Cooking Hacks Pin requirements: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 The radiation sensor board is probably one of the most impressive Arduino shields. It allows you to monitor radiation levels in the environment. This board was made to help the people of Japan monitor radiation levels following the radiation leakages in Fukushima in March 2011. The Geiger counter can use various Geiger tubes to detect different types and levels of radiation. There is also an LCD display, an LED, and a piezo speaker for feedback. This shield uses Geiger tubes that operate at dangerously high voltages (400V–1000V), so it requires extreme care. It is best to keep the radiation sensor board in an enclosure to keep it out of human contact. Radiation is dangerous, but so is electricity. If you don’t know what you’re doing, don’t mess around. The piezo speaker and LED are connected to pin 2, which triggers an interrupt with every pulse that the Geiger tube generates. Depending on the tube used and the number of pulses or counts per minute (cpm), you can determine the radiation level in Sieverts per hour. Pins 3 to 8 are used for the LCD display to generate the sensor readings in detail. Pins 9 to 13 are used for the LED bar to give clear visual feedback of the radiation level. The first three LEDs are green. The last two are red, showing that a high and potentially dangerous level of radiation is being approached. More details on this project can be found on the Cooking Hacks product page

View Article
Arduino 10 Awesome Arduino Resources

Article / Updated 07-19-2022

If this is your first step into the world of Arduino, you will be relieved to know that you have an abundance of resources available on the Internet. You can find new Arduino-compatible hardware, projects, tutorials, and even inspiration. Check out these ten resources to learn more about Arduino Arduino blog The Arduino blog is a great source of all Arduino-related news. You can find news on the latest official hardware and software as well as on other interesting projects. Also found here are talks that the Arduino team wants to share with the community. Hack a Day Hack a Day is an excellent resource for all sorts of technological magic. In addition to presenting a lot of Arduino-related projects and posts, the site offers equal amounts of just about any other category of technology that you can think of. This site contains an excellent collection of posts and information to fuel the imagination. SparkFun SparkFun manufactures and sells all sorts of products to make your projects possible, and many of these involve Arduino. SparkFun has an excellent and well-maintained newsfeed that always has some sort of interesting new product or kit to show off. The company also provides excellent videos that explain its kits and document events that the SparkFun team hosts or attends. MAKE MAKE is hobbyist magazine that celebrates all kinds of technology. Its blog covers interesting do-it-yourself (DIY) technology and projects for inspiration. Arduino is so important to this community that it has its own subsection in the blog. Adafruit Adafruit is an online shop, repository, and forum for all kinds of kits to help you make your projects work. Its blog announces the ever-growing selection of available Adafruit products as well as other interesting tech news. Instructables Instructables is a web-based documentation platform that allows people to share their projects and step-by-step instructions. Instructables isn’t just about Arduino or even technology, so you can find a whole world of interesting material there. YouTube YouTube is a great place to kill time, but rather than watching cats do funny things, why not enter Arduino in the site’s search box to discover new projects that people are sharing. YouTube videos won’t always be the most reliable source for well-documented projects, but the videos provide a broad look at Arduino projects in action. Watching videos is especially useful for seeing the proper result of projects. Hackerspaces Hackerspaces are physical spaces where artists, designers, makers, hackers, coders, engineers, or anyone else can meet to learn, socialize, and collaborate on projects. Hackerspaces are found in a loose network all over the world. Forum The Arduino Forum is a great place to get answers to specific Arduino questions. You often find that other people are working through the same problems that you are, so you’re likely to find the answer to almost any problem with some thorough searching. Friends, colleagues, and workshops Starting out in the world of Arduino can be difficult on your own. You can find many sources on the Internet, but one of the best ways to learn is with friends and colleagues, because learning together teaches you much more than learning on your own can. Even better is to go to workshops and meet other people. You may find that they have the same interests, allowing you to pool what you know; or they may have different interests, providing an opportunity to show you something new. Arduino workshops are taking place all over the world, so with some careful searching in the Arduino Forum, Hackerspace forums, and Google, you should be able to find a workshop near you.

View Article
BeagleBone BeagleBone For Dummies Cheat Sheet

Cheat Sheet / Updated 04-14-2022

BeagleBone is an exciting tiny board that brings your electronics and software projects to life. Its affordability and ease of use make it popular among hardware enthusiasts and programmers. The following articles help you get started using this powerful board.

View Cheat Sheet
Raspberry Pi Raspberry Pi For Dummies Cheat Sheet

Cheat Sheet / Updated 03-14-2022

The Raspberry Pi is perhaps the most inspiring computer available today. It comes with the tools you need to start making your own software, and you can connect your own electronic inventions to it. These tips show you how to discover and install great free software on your Raspberry Pi and how to program in Scratch.

View Cheat Sheet
General Hardware Build Your Own PC Do-It-Yourself For Dummies Cheat Sheet

Cheat Sheet / Updated 02-25-2022

Whether you want to build a basic, mid-range, or high-end PC, make sure you have the necessary components and follow some general commonsense rules for easy assembly of your PC. Once you have your PC together, get to know the beep codes your computer will make and what they mean.

View Cheat Sheet
Arduino Arduino For Dummies Cheat Sheet

Cheat Sheet / Updated 02-17-2022

Arduino can help you build robots or electronic devices. But you have a lot to learn about Arduino because it encompasses the worlds of both hardware and software. The following sections contain nuggets of information about using resistors, gathering the tools you'll need, and system shortcuts to help you on your way to becoming an Arduino aficionado.

View Cheat Sheet
Arduino What You Should Know about Arduino Sensors: Using Capacitive Sensors

Article / Updated 12-21-2018

You can make use of capacitive sensors in your Arduino project. Capacitive sensors detect changes in electromagnetic fields. Every living thing — even you — has an electromagnetic field. Capacitive sensors are extremely useful because they can detect human contact and ignore other environmental factors. You're probably familiar with high-end capacitive sensors because they are present in nearly all smartphones, but they have been around since the late 1920s. You can find Arduino kits with capacitive sensors that you can hook up easily, such as capacitive touch keypads. But it's just as easy to make your own capacitive sensors with an Arduino and an antenna. Consider the following when you are planning a sensor for your Arduino project: Complexity: Because all that is required is an antenna, you can be creative with what the antenna is and where it is placed. Short pieces of wire or copper tape are great for simple touch sensors. The piece of copper tape suddenly becomes a touch switch, meaning that you don’t even need a pushbutton to get the same functionality. You could even connect the antenna to a bigger metal object such as a lamp, turning it into a touch lamp. If the antenna is made from a reel of wire or a piece of foil, you can extend the range of the sensor beyond touch, which is known as a projected capacitive sensor. Using a capacitive sensor you can detect a person’s hand a few inches away from the antenna, which creates a lot of new possibilities for hiding sensors behind other materials. These discreet capacitive sensors are now commonly seen in many recent consumer electronics to remove physical buttons and maintain the sleek shape of the product. The electronics can also be placed under layers of other material, protected from the outside world. Capacitive touch sensors are easy to make. The difficulty with projected field sensors to determine the range of the field. The best way to determine this range is by experimentation, testing to see whether the field that you're generating is far-reaching enough. Cost: A capacitive touch kit designed for a specific purpose costs around $15 to $25. The kit should perform its job well, but it will be limited to the design of the interface. A capacitive sensor breakout board from SparkFun for around $10 lets you control up to 12 capacitive sensors. You have to wire your own touchpads, but you’re free to design an interface that suits your purpose. The cheapest option is to use the CapSense library for Arduino, which allows you to make a capacitive sensor with an antenna and no additional hardware! You can spend a few cents for an antenna or repurpose an old one. Location: Capacitive touch sensors can work with any conductive metal, so if you can design an attractive metal exterior, the only work will be to connect that exterior to your Arduino. If you’re looking for something more discreet, you may want to experiment with different layers of wood or plastic to hide your metal antenna. A thin layer of plywood allows the metal to be close to the surface, able to trigger the sensor. By covering the antenna with a non-conductive surface, you also give it a seemingly magical property, ensuring that people are left guessing at how it works. The easiest way to make a capacitive sensor is to use the CapSense library by Paul Badger. By using the CapSense library, you can replace the mechanical switches with highly robust capacitive touch sensors or capacitive presence detectors. Getting the CapSense Arduino library The CapSense library is available from GitHub, an online repository of software that manages different versions and allows you to see who has updated the software, and how. It’s an excellent system for sharing and collaborating on code projects. You can find the Arduino platform on GitHub; check it out if you’re curious about any changes. To get the library: Point your web browser to the GitHub CapSense page. On the CapSense page, click the Clone button or download and then click Download ZIP. The latest version of the library is downloaded to your downloads folder or a folder you specify. Rename the folder CapSense. Inside the folder, you should see a number of files ending in .h and .cpp as well as an Examples folder. Move the entire folder to your Arduino libraries directory. This directory should be the same as the one that your sketches are saved to, for example: Username/Documents/Arduino/libraries. If you don't have a libraries directory, create one. Your can find your Arduino Save directory by choosing Arduino →   Preferences from the Arduino menu bar. After the CapSense library is inside this folder, it will be available the next time you run Arduino. Start or restart Arduino and go to Sketch →   Include Library in the Arduino menu. Look for CapSense under the Contributed libraries section. If you don’t find it, check your directories and spelling and then restart Arduino. Implementing the CapPinSketch sketch For this project, you need the following: An Arduino Uno A wire antenna Crocodile clips (optional) As you can see below, little work is needed. You can simply have a wire antenna connected to pin 5, and you can enlarge your antenna by connecting it to any other conductive surface. Crocodile clips are useful to latch onto different antennas quickly and easily. Build the CapSense circuit, and choose File →   Examples →   CapSense →   Examples →   CapPinSketch from the Arduino menu to load the sketch. #include /* CapPin * Capacitive Library CapPin Demo Sketch * Paul Badger 2011 * This class uses the built-in pullup resistors read the capacitance * on a pin. * The pin is set to input and then the pullup is set, * A loop times how long the pin takes to go HIGH. * The readPin method is fast and can be read 1000 times in under 10 mS. * By reading the pin repeated you can sense "hand pressure" * at close range with a small sensor. A larger sensor (piece of foil/metal) * will yield * larger return values and be able to sense at more distance. For * a more sensitive method of sensing pins see CapTouch * Hook up a wire with or without a piece of foil attached to the pin. * I suggest covering the sensor with mylar, packing tape, paper or other * insulator to avoid having users directly touch the pin. */ CapPin cPin_5 = CapPin(5); // read pin 5 float smoothed; void setup() { Serial.begin(115200); Serial.println("start"); // slider_2_7.calibrateSlider(); } void loop() { delay(1); long total1 = 0; long start = millis(); long total = cPin_5.readPin(2000); // simple lowpass filter to take out some of the jitter // change parameter (0 is min, .99 is max) or eliminate to suit smoothed = smooth(total, .8, smoothed); Serial.print( millis() - start); // time to execute in mS Serial.print("\t"); Serial.print(total); // raw total Serial.print("\t"); Serial.println((int) smoothed); // smoothed delay(5); } // simple lowpass filter // requires recycling the output in the "smoothedVal" param int smooth(int data, float filterVal, float smoothedVal){ if (filterVal > 1){ // check to make sure param's are within range filterVal = .999999; } else if (filterVal <= 0){ filterVal = 0; } smoothedVal = (data * (1 - filterVal)) + (smoothedVal * filterVal); return (int)smoothedVal; } Press the Compile button to check your code. Compiling highlights any grammatical errors, which light up in red. If the sketch compiles correctly, click Upload to send the sketch to your board. When it has finished uploading, open the serial monitor, set the baud rate to 115200, and touch or approach the antenna. You should see two values racing down the screen. On the left is the raw value being read; on the right is the same reading after smoothing. If nothing happens, double-check your wiring: Make sure that you’re using the correct pin number. Check the connections on the breadboard. If the jump wires or components are not connected using the correct rows in the breadboard, they will not work. Understanding the CapPinSketch Arduino sketch At the start of the CapPinSketch sketch in the declarations, a new CapPin object is named. Note that cPin_5 is the name and it is assigned to pin 5 using CapPin(5): CapPin cPin_5 = CapPin(5); // read pin 5 A float named smoothed is declared to store the processed value of the sensor: <strong>float</strong> smoothed; In setup, serial communication is started on a baud rate of 115200, and the message start is sent to indicate to you that the serial port is connected: <strong>void setup</strong>() { <strong>Serial.begin</strong>(115200); <strong>Serial.println</strong>(<strong>"start"</strong>); This commented line is not used in this sketch but is referenced in some of the other CapSense examples. It can be uncommented to include further calibration functions that are in the library but is not be covered in this example: // slider_2_7.calibrateSlider(); } In this sketch, many variables are declared locally. Because they're not needed outside the loop, they're removed after each loop and redeclared at the start of the next loop. First, a one-millisecond delay occurs to help improve the stability of the reading: <strong>void loop</strong>() { <strong>delay</strong>(1); Next, the long variable total1 is declared. This variable can look confusing because the lowercase L and the numeral 1 look the same in most fonts. Incidentally, this variable is not used in this sketch. It may well be left over from a previous version: <strong> long</strong> total1 = 0; The next long variable is set to the current millis () value. Because this variable is local, the value is reset on each loop: <strong> long</strong> start = <strong>millis</strong>(); The specific function .readPin() reads your capacitive pin: <strong> long</strong> total = cPin_5.readPin(2000); If you want to explore in more depth what's happening, look at CapPin.cpp in the CapSense library. At first, the CapPin.cpp file looks baffling, but by reading the line that follows, you can see that the value relates to the number of samples that the Arduino is taking of the capacitance reading: strong>long CapPin::readPin(<strong>unsigned</strong> <strong>int</strong> samples) Editing the inner workings of libraries is not advised for beginners, but it is good to have a look at them to know what’s happening in your code and try to gain a better understanding of them. A smoothing function is also included in the sketch. This function takes the raw reading from the sensor, the smoothing value, and then the output variable. At present, the smoothing value is set to 0.8, but go ahead and experiment with this value to find the appropriate amount of smoothing for your application. This amount is dependent on how fast the loop is completed and how many readings are made in that time, so bear that in mind if you expect to add a lot of other controls or outputs: // simple lowpass filter to take out some of the jitter // change parameter (0 is min, .99 is max) or eliminate to suit smoothed = smooth(total, .8, smoothed); Finally, the values are printed to the serial port to be monitored. millis() – start gives the time that is taken to carry out the reading. If more samples are taken or any delays are added to the code, these activities increase the time to complete the loop and, therefore, the reaction time of the sensor: <strong>Serial.print</strong>( <strong>millis</strong>() - start); // time to execute in mS Tabs are used to neatly space the values. The total and smoothed values are both printed for comparison. You may notice a slight delay in the response time of the smoothed value. This delay shows you that your Arduino is reading many more values to do the smoothing, which takes time. This delay is barely noticeable when the sensor is in use because the baud rate is so high: <strong>Serial.print</strong>(<strong>"\t"</strong>); <strong>Serial.print</strong>(total); // raw total <strong>Serial.print</strong>(<strong>"\t"</strong>); <strong>Serial.println</strong>((<strong>int</strong>) smoothed); // smoothed <strong>delay</strong>(5); } At the bottom of the sketch outside the main loop is an additional function, referred to as a lowpass filter, which gives you the smoothed result. You can see that rather than starting with void, as is the case in setup () and loop (), the function starts with int, which means that an integer value is returned. Starting with int indicates that this function returns an integer value rather than a floating-point value. // simple lowpass filter // requires recycling the output in the "smoothedVal" param int smooth(int data, float filterVal, float smoothedVal){ if (filterVal > 1){ // check to make sure param's are within range filterVal = .999999; } else if (filterVal <= 0){ filterVal = 0; } smoothedVal = (data * (1 - filterVal)) + (smoothedVal * filterVal); return (int)smoothedVal; }

View Article
page 1
page 2
page 3
page 4
page 5
page 6
page 7
page 8
page 9
page 10
page 11

Quick Links

  • About For Dummies
  • Contact Us
  • Activate Online Content

Connect

About Dummies

Dummies has always stood for taking on complex concepts and making them easy to understand. Dummies helps everyone be more knowledgeable and confident in applying what they know. Whether it's to pass that big test, qualify for that big promotion or even master that cooking technique; people who rely on dummies, rely on it to learn the critical skills and relevant information necessary for success.

Copyright @ 2000-2024 by John Wiley & Sons, Inc., or related companies. All rights reserved, including rights for text and data mining and training of artificial technologies or similar technologies.

Terms of Use
Privacy Policy
Cookies Settings
Do Not Sell My Personal Info - CA Only