{"id":1866,"date":"2017-12-08T02:26:06","date_gmt":"2017-12-08T02:26:06","guid":{"rendered":"http:\/\/www.richa1.com\/RichardAlbritton\/?p=1866"},"modified":"2019-12-12T15:57:12","modified_gmt":"2019-12-12T15:57:12","slug":"adding-esp8266-support-to-arduino-ide","status":"publish","type":"post","link":"https:\/\/www.richa1.com\/RichardAlbritton\/adding-esp8266-support-to-arduino-ide\/","title":{"rendered":"Adding ESP8266 support to Arduino IDE"},"content":{"rendered":"<p>This will help you to add hardware support for programming devices that use the ESP8266 WiFi connected micro controllers.<!--more--><\/p>\n<ol>\n<li>Ensure that you have the latest version of the Arduino IDE installed*.<\/li>\n<li>Open the <strong>Arduino<\/strong> IDE.<\/li>\n<li>Go to <strong>File<\/strong> then click <strong>Preferences<\/strong>.<\/li>\n<li>Look for the <strong>Additional Boards Manager URLs<\/strong> field and enter the following:\n<ul>\n<li><span style=\"color: #0000ff;\"><em>http:\/\/arduino.esp8266.com\/stable\/package_esp8266com_index.json<\/em><\/span><\/li>\n<li><em><span style=\"color: #000000;\">Note: Use a comma to separate additional URLs if needed.<\/span><\/em><\/li>\n<\/ul>\n<\/li>\n<li>Click the OK button to save and close the Preferences window.<\/li>\n<li>Next, go to the Tools menu.<\/li>\n<li>Select <strong>Board: &#8230;<\/strong> and click on <strong>Boards Manager&#8230;<\/strong><\/li>\n<li>Type <strong>ESP<\/strong> into the search bar at the top of the <strong>Boards Manager\u00a0<\/strong>window.<\/li>\n<li>Click on the entry for <strong>esp8266<\/strong>, then click the <strong>Install<\/strong> button.\n<ul>\n<li>This can take a few minutes to download the support files from the ESP8266 Community site.<\/li>\n<\/ul>\n<\/li>\n<li>Once finished, click the <strong>Close<\/strong> button for the\u00a0<strong>Boards Manager\u00a0<\/strong>window.<\/li>\n<\/ol>\n<h2>Test the connection<\/h2>\n<p>Now lets test out the connection. Some of this may be different, but for the most part just select the ESP8266 development board that you are using. For this tutorial, we will be connecting the NodeMCU from Amica<\/p>\n<ol>\n<li>First, go to the <strong>Tools<\/strong> menu.<\/li>\n<li>Select\u00a0<strong>Board: &#8230;<\/strong>\u00a0and click on\u00a0<strong>NodeMCU 1.0 (ESP-12E Module)<\/strong><\/li>\n<li>Connect your NodeMCU microcontroller to the computer using a micro USB cable.<\/li>\n<li>It may take a moment to install drivers if you have never connected before.<\/li>\n<li>Go back to the <strong>Tools<\/strong> menu.<\/li>\n<li>Select <strong>Port<\/strong> and click on the new <strong>COM<\/strong> port that appears.<\/li>\n<li>Open a new Sketch.<\/li>\n<li>Click the Upload button.<\/li>\n<li>After a few seconds you should see the blue LED on the NodeMCU blink very fast. This means that it is uploading the code. You should also see a bunch of orange dots filling up the bottom panel of your Sketch window.<\/li>\n<li>If all was successful, you should see the Done uploading message near the bottom of your code window.<\/li>\n<\/ol>\n<h2>If things are not working&#8230;<\/h2>\n<p>You may need to install a driver or script to allow your computer to recognize the microcontroller.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/www.silabs.com\/products\/development-tools\/software\/usb-to-uart-bridge-vcp-drivers\" target=\"_blank\">NodeMCU Drivers<\/a><\/p>\n<p>*This guide was tested using Arduino version 1.8.1<\/p>\n<p><em>The tutorial is a based on information provided by\u00a0Todd Treece and lady ada from their\u00a0<a href=\"https:\/\/learn.adafruit.com\/adafruit-io-basics-esp8266-arduino\/using-arduino-ide\" target=\"_blank\">Adafruit IO Basics: ESP8266 + Arduino<\/a> guide.<\/em><\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-print\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-print sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/adding-esp8266-support-to-arduino-ide\/\" target=\"_blank\" title=\"Click to print\"><span>Print<\/span><\/a><\/li><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/adding-esp8266-support-to-arduino-ide\/?share=email\" target=\"_blank\" title=\"Click to email this to a friend\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-1866\" class=\"share-facebook sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/adding-esp8266-support-to-arduino-ide\/?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\"><span>Facebook<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-1866\" class=\"share-twitter sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/adding-esp8266-support-to-arduino-ide\/?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\"><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>This will help you to add hardware support for programming devices that use the ESP8266 WiFi connected micro controllers.<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-print\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-print sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/adding-esp8266-support-to-arduino-ide\/\" target=\"_blank\" title=\"Click to print\"><span>Print<\/span><\/a><\/li><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/adding-esp8266-support-to-arduino-ide\/?share=email\" target=\"_blank\" title=\"Click to email this to a friend\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-1866\" class=\"share-facebook sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/adding-esp8266-support-to-arduino-ide\/?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\"><span>Facebook<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-1866\" class=\"share-twitter sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/adding-esp8266-support-to-arduino-ide\/?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\"><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"aside","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[122,131,79],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5AhH6-u6","_links":{"self":[{"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/posts\/1866"}],"collection":[{"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/comments?post=1866"}],"version-history":[{"count":4,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/posts\/1866\/revisions"}],"predecessor-version":[{"id":1872,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/posts\/1866\/revisions\/1872"}],"wp:attachment":[{"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/media?parent=1866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/categories?post=1866"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/tags?post=1866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}