








{"id":54,"date":"2020-10-11T20:14:07","date_gmt":"2020-10-11T20:14:07","guid":{"rendered":"https:\/\/osoyoo.info\/?p=54"},"modified":"2020-10-13T21:44:45","modified_gmt":"2020-10-13T21:44:45","slug":"arduino-basic-lesson-4-download-and-install-arduino-ide","status":"publish","type":"post","link":"https:\/\/osoyoo.info\/index.php\/2020\/10\/11\/arduino-basic-lesson-4-download-and-install-arduino-ide\/","title":{"rendered":"Hardware Programming with Arduino IDE &#8211; Lesson 4: Download and Install Arduino IDE"},"content":{"rendered":"<p><a href=\"https:\/\/osoyoo.info\/index.php\/2020\/10\/11\/arduino-basic-lesson-3-osoyoo-magic-i-o-shield-for-arduino\/\"><img loading=\"lazy\" class=\"alignnone\" src=\"https:\/\/osoyoo.com\/picture\/Arduino_Graphical_Programming_Kit\/Previous.png\" alt=\"\" width=\"206\" height=\"59\" \/><\/a> \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <a href=\"https:\/\/osoyoo.info\/index.php\/2020\/10\/11\/arduino-basic-tutorial-directory\/\"><img loading=\"lazy\" class=\"alignnone\" src=\"https:\/\/osoyoo.com\/picture\/Arduino_Graphical_Programming_Kit\/Tutorial.png\" alt=\"\" width=\"206\" height=\"59\" \/><\/a> \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <a href=\"https:\/\/osoyoo.info\/index.php\/2020\/10\/11\/arduino-basic-lesson-5-what-is-a-sketch-and-how-does-it-work\/\"><img loading=\"lazy\" class=\"alignright\" src=\"https:\/\/osoyoo.com\/picture\/Arduino_Graphical_Programming_Kit\/Next.png\" alt=\"\" width=\"206\" height=\"59\" \/><\/a><\/p>\n<div align=\"center\">\n<div align=\"center\"><img class=\"aligncenter\" src=\"https:\/\/osoyoo.com\/picture\/icon\/authorized_retailers.png\" \/><\/div>\n<div align=\"center\"><\/div>\n<table>\n<tbody>\n<tr>\n<td>Buy from US<\/td>\n<td>Buy from UK<\/td>\n<td>Buy from DE<\/td>\n<td>Buy from IT<\/td>\n<td>Buy from FR<\/td>\n<td>Buy from ES<\/td>\n<td>Buy from JP<\/td>\n<\/tr>\n<tr>\n<td><img loading=\"lazy\" class=\"alignnone size-large\" src=\"https:\/\/osoyoo.com\/picture\/icon\/us_buy_now.png\" width=\"150\" height=\"30\" \/><\/td>\n<td><img loading=\"lazy\" class=\"alignnone\" src=\"https:\/\/osoyoo.com\/picture\/icon\/uk_buy_now.png\" alt=\"\" width=\"150\" height=\"30\" \/><\/td>\n<td><img loading=\"lazy\" class=\"alignnone size-large\" src=\"https:\/\/osoyoo.com\/picture\/icon\/de_buy_now.png\" width=\"150\" height=\"30\" \/><\/td>\n<td><img loading=\"lazy\" class=\"alignnone size-large\" src=\"https:\/\/osoyoo.com\/picture\/icon\/it_buy_now.png\" width=\"150\" height=\"30\" \/><\/td>\n<td><img loading=\"lazy\" class=\"alignnone size-large\" src=\"https:\/\/osoyoo.com\/picture\/icon\/fr_buy_now.png\" width=\"150\" height=\"30\" \/><\/td>\n<td><img loading=\"lazy\" class=\"alignnone size-large\" src=\"https:\/\/osoyoo.com\/picture\/icon\/es_buy_now.png\" width=\"150\" height=\"30\" \/><\/td>\n<td><img loading=\"lazy\" class=\"alignnone size-large\" src=\"https:\/\/osoyoo.com\/picture\/icon\/jp_buy_now.png\" width=\"150\" height=\"30\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2><\/h2>\n<h1>Content<\/h1>\n<ul>\n<li><strong><a href=\"#1\">Introdution<\/a><\/strong><\/li>\n<li><strong><a href=\"#2\">Preparation<\/a><\/strong><\/li>\n<li><strong><a href=\"#3\">Extending Reading<\/a><\/strong><\/li>\n<li><strong><a href=\"#4\">Install the Arduino Software (IDE) on Windows PC<\/a><\/strong><\/li>\n<li><strong><a href=\"#5\">Install the Arduino Software (IDE) on MAC OS X<\/a><\/strong><\/li>\n<li><strong><a href=\"#6\">Install the Arduino Software (IDE) on on Linux<\/a><\/strong><\/li>\n<\/ul>\n<h3 id=\"1\">Introduction<\/h3>\n<p>This lesson will walk you through downloading, installing, and testing the Arduino IDE (short for Arduino Integrated Development Environment).Before you jump to the page for your operating system, make sure you\u2019ve got every thing prepared.<\/p>\n<h3 id=\"2\">Preparation:<\/h3>\n<ul>\n<li>A computer (Windows, Mac, or Linux)<\/li>\n<li>An Arduino-compatible microcontroller(<a href=\"https:\/\/osoyoo.com\/2017\/05\/03\/nodemcu\/\" target=\"_blank\" rel=\"noopener noreferrer\">Osoyoo NodeMCU<\/a> here)<\/li>\n<li>A <a href=\"https:\/\/osoyoo.com\/2017\/05\/04\/usb-cable-amicrob-0-5m\/\" target=\"_blank\" rel=\"noopener noreferrer\">USB A-to-B cable<\/a>, or another appropriate way to connect your Arduino-compatible microcontroller to your computer (check out this <a href=\"https:\/\/osoyoo.com\/2017\/05\/08\/usb-buying-guide\/\">USB buying guide<\/a> if you\u2019re not sure which cable to get).<\/li>\n<\/ul>\n<h3 id=\"3\">Extended Reading<\/h3>\n<p>If you are new to Arduino general,check below links and you will be more familiar with it:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.arduino.cc\/en\/Guide\/Introduction\" target=\"_blank\" rel=\"noopener noreferrer\">What is Arduino and why we want to use it<\/a><\/li>\n<li><a href=\"https:\/\/www.arduino.cc\/en\/Guide\/Environment\" target=\"_blank\" rel=\"noopener noreferrer\">Introduction of Arduino IDE<\/a><\/li>\n<\/ul>\n<p>If you\u2019re ready to get started, click on the link in the column on the left that matches up with your operating system, or you can jump to your operating system here.<\/p>\n<ul>\n<li><a href=\"#4\">Windows<\/a><\/li>\n<li><a href=\"#5\">Mac<\/a><\/li>\n<li><a href=\"#6\">Linux<\/a><\/li>\n<\/ul>\n<h2 id=\"4\">Install the Arduino Software (IDE) on Windows <span class=\"wikiword\">PC<\/span><\/h2>\n<h3>Download the Arduino Software (IDE)<\/h3>\n<p>Get the latest version from the <a class=\"wikilink\" href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\">download page<\/a>. You can choose between the Installer (.exe) and the Zip packages. We suggest you use the first one that installs directly everything you need to use the Arduino Software (IDE), including the drivers. With the Zip package you need to install the drivers manually. The Zip file is also useful if you want to create a <a class=\"wikilink\" href=\"https:\/\/www.arduino.cc\/en\/Guide\/PortableIDE\">portable installation<\/a>.<\/p>\n<p>When the download finishes, proceed with the installation and please allow the driver installation process when you get a warning from the operating system.<\/p>\n<div><img class=\"aligncenter\" title=\"\" src=\"https:\/\/www.arduino.cc\/en\/uploads\/Guide\/DRV_Capture1.png\" alt=\"\" \/><\/div>\n<p>Choose the components to install<\/p>\n<div><img class=\"aligncenter\" title=\"\" src=\"https:\/\/www.arduino.cc\/en\/uploads\/Guide\/DRV_Capture2.png\" alt=\"\" \/><\/div>\n<p>Choose the installation directory (we suggest to keep the default one)<\/p>\n<div><img class=\"aligncenter\" title=\"\" src=\"https:\/\/www.arduino.cc\/en\/uploads\/Guide\/DRV_Capture3.png\" alt=\"\" \/><\/div>\n<p>The process will extract and install all the required files to execute properly the Arduino Software (IDE)<\/p>\n<h3>Proceed with board specific instructions<\/h3>\n<p>When the Arduino Software (IDE) is properly installed you can go back to the <a class=\"wikilink\" href=\"https:\/\/www.arduino.cc\/en\/Guide\/HomePage\">Getting Started Home<\/a> and choose your board from the list on the right of the page.<\/p>\n<h2 id=\"5\">Install the Arduino Software (IDE) on MAC OS X<\/h2>\n<h3>Download the Arduino Software (IDE)<\/h3>\n<p>Get the latest version from the <a class=\"wikilink\" href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\">download page<\/a>. The file is in Zip format; if you use Safari it will be automatically expanded. If you use a different browser you may need to extract it manually.<\/p>\n<div><img class=\"aligncenter\" title=\"\" src=\"https:\/\/www.arduino.cc\/en\/uploads\/Guide\/Mac_Download.jpg\" alt=\"\" \/><\/div>\n<p>Copy the Arduino application into the Applications folder (or elsewhere on your computer).<\/p>\n<div><img class=\"aligncenter\" title=\"\" src=\"https:\/\/www.arduino.cc\/en\/uploads\/Guide\/MAC_App.jpg\" alt=\"\" \/><\/div>\n<h3>Proceed with board specific instructions<\/h3>\n<p>When the Arduino Software (IDE) is properly installed you can go back to the <a class=\"wikilink\" href=\"https:\/\/www.arduino.cc\/en\/Guide\/HomePage\">Getting Started Home<\/a> and choose your board from the list on the right of the page.<\/p>\n<h2 id=\"6\">Install the Arduino Software (IDE) on on Linux<\/h2>\n<h3>Quick Start<\/h3>\n<p>The Linux build of the Arduino Software (IDE) is now a package that doesn&#8217;t require ansy specific procedure for the various distributions availabe of Linux. The only relevant information is the 32 or 64 bit version of the OS.<\/p>\n<h4>Download the Arduino Software (IDE)<\/h4>\n<p>Get the latest version from the <a class=\"wikilink\" href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\">download page<\/a>. You can choose between the 32, 64 and ARM versions. It is very important that you choose the right version for your Linux distro. Clicking on the chosen version brings you to the donation page and then you can either open or save the file. Please save it on your computer.<\/p>\n<div><img class=\"aligncenter\" title=\"\" src=\"https:\/\/www.arduino.cc\/en\/uploads\/Guide\/Linux_Download.jpg\" alt=\"\" \/><\/div>\n<h4>Extract the package<\/h4>\n<p>The file is compressed and you have to extract it in a suitable folder, remembering that it will be executed from there.<\/p>\n<div><img class=\"aligncenter\" title=\"\" src=\"https:\/\/www.arduino.cc\/en\/uploads\/Guide\/Linux_Extract.jpg\" alt=\"\" \/><\/div>\n<h4>Run the install script<\/h4>\n<p>Open the <strong>arduino-1.6.x<\/strong> folder just created by the extraction process and spot the <strong>install.sh<\/strong> file. Right click on it and choose <strong>Run in Terminal<\/strong> from the contextual menu. The installation process will quickly end and you should find a new icon on your desktop.<\/p>\n<p>If you don\u2019t find the option to run the script from the contextual menu, you have to open a Terminal window and move into the <strong>arduino-1.6.x<\/strong> folder. Type the command <strong>.\/install.sh<\/strong> and wait for the process to finish. You should find a new icon on your desktop.<\/p>\n<div><img class=\"aligncenter\" title=\"\" src=\"https:\/\/www.arduino.cc\/en\/uploads\/Guide\/Linux_Install_2.jpg\" alt=\"\" \/><a id=\"toc5\" name=\"toc5\"><\/a><\/div>\n<h3>Proceed with board specific instructions<\/h3>\n<p>When the Arduino Software (IDE) is properly installed you can go back to the <a class=\"wikilink\" href=\"https:\/\/www.arduino.cc\/en\/Guide\/HomePage\">Getting Started Home<\/a> and choose your board from the list on the right of the page.<\/p>\n<h3>Please Read&#8230;<\/h3>\n<p>It might hapen that when you upload a sketch &#8211; after you have selected your board and serial port -, you get an error<em>Error opening serial port &#8230;<\/em> If you get this error, you need to set serial port permission.<\/p>\n<p>Open Terminal and type:<\/p>\n<p><code>ls -l \/dev\/ttyACM*<\/code><\/p>\n<p>you will get something like:<\/p>\n<p><code>crw-rw---- 1 root dialout 188, 0 5 apr 23.01 ttyACM0<\/code><\/p>\n<p>The &#8220;0&#8221; at the end of ACM might be a different number, or multiple entries might be returned. The data we need is &#8220;dialout&#8221; (is the group owner of the file).<\/p>\n<p>Now we just need to add our user to the group:<\/p>\n<p><code>sudo usermod -a -G dialout <\/code><\/p>\n<p>where is your linux user name. <strong>You will need to log out and log in again for this change to take effect.<\/strong><\/p>\n<div><img class=\"aligncenter\" title=\"\" src=\"https:\/\/www.arduino.cc\/en\/uploads\/Guide\/Ubuntu_Serial.jpg\" alt=\"\" \/><\/div>\n<p>This is the procedure to access the serial port from the Arduino Software (IDE) if you get an error<\/p>\n<p>After this procedure, you should be able to proceed normally and upload the sketch to your board or use the Serial Monitor.<\/p>\n<address><em> The text of the Arduino getting started guide is licensed under a <a class=\"urllink\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/3.0\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Creative Commons Attribution-ShareAlike 3.0 License<\/a>. Code samples in the guide are released into the public domain.<\/em><\/address>\n<address><em>This paper is from:<a href=\"https:\/\/www.arduino.cc\/en\/Guide\/HomePage\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.arduino.cc\/en\/Guide\/HomePage<\/a>,more info please click:<a href=\"https:\/\/www.arduino.cc\/en\/Guide\/Environment\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.arduino.cc\/en\/Guide\/Environment<\/a><\/em><\/address>\n<address><a href=\"https:\/\/osoyoo.info\/index.php\/2020\/10\/11\/arduino-basic-lesson-3-osoyoo-magic-i-o-shield-for-arduino\/\"><img loading=\"lazy\" class=\"alignnone\" src=\"https:\/\/osoyoo.com\/picture\/Arduino_Graphical_Programming_Kit\/Previous.png\" alt=\"\" width=\"206\" height=\"59\" \/><\/a> \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <a href=\"https:\/\/osoyoo.info\/index.php\/2020\/10\/11\/arduino-basic-tutorial-directory\/\"><img loading=\"lazy\" class=\"alignnone\" src=\"https:\/\/osoyoo.com\/picture\/Arduino_Graphical_Programming_Kit\/Tutorial.png\" alt=\"\" width=\"206\" height=\"59\" \/><\/a> \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <a href=\"https:\/\/osoyoo.info\/index.php\/2020\/10\/11\/arduino-basic-lesson-5-what-is-a-sketch-and-how-does-it-work\/\"><img loading=\"lazy\" class=\"alignright\" src=\"https:\/\/osoyoo.com\/picture\/Arduino_Graphical_Programming_Kit\/Next.png\" alt=\"\" width=\"206\" height=\"59\" \/><\/a><\/p>\n<div align=\"center\">\n<div align=\"center\"><\/div>\n<\/div>\n<\/address>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Buy from US Buy from UK Buy from DE Buy from IT Buy from FR Buy from ES Buy from JP Content Introdution Preparation Extending Reading Install [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":146,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/osoyoo.info\/index.php\/wp-json\/wp\/v2\/posts\/54"}],"collection":[{"href":"https:\/\/osoyoo.info\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/osoyoo.info\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/osoyoo.info\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/osoyoo.info\/index.php\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":3,"href":"https:\/\/osoyoo.info\/index.php\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":60,"href":"https:\/\/osoyoo.info\/index.php\/wp-json\/wp\/v2\/posts\/54\/revisions\/60"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/osoyoo.info\/index.php\/wp-json\/wp\/v2\/media\/146"}],"wp:attachment":[{"href":"https:\/\/osoyoo.info\/index.php\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/osoyoo.info\/index.php\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/osoyoo.info\/index.php\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}