NodeMcu ESP8266 First Time Setup With Arduino IDE

About: I make Twitch chat controlled projects live on stream and I wanted to start sharing what I've learned!

Hi everyone! Two months ago, I had no idea how to do any of this, and I wanted to share what I've learned along the way to make it easier for the next maker/inventor!

If you want to follow my twitch chat controlled project journey you can watch me live on Twitch https://www.twitch.tv/noycebru or watch the tutorials on YouTube at https://www.youtube.com/c/noycebru

This tutorial is how to setup Arduino IDE (1.8.9) for the first time and how to configure your Arduino IDE for a NodeMcu ESP8266 chip.

The exact chip is listed here: ESP8266 ESP-12E NodeMcu Development Board (purchase here: https://www.amazon.com/dp/B01IK9GEQG/ref=cm_sw_r_

If you already have Arduino IDE installed please skip to step 4

I hope you find this useful!

noycebru

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Download Arduino IDE

Step 2: Setting Up Arduino Installer

Open installer and make sure 'instal USB driver' and 'Associate .ino files' are selected

Step 3: Installing Arduino and Drivers

Install Arduino and instal the drivers when prompted (see attached pictures). Drivers may vary for different PCs.

Finish the instal and then open Arduino after installation.

Step 4: ESP8266 First Time Setup

The following steps are how to configure Arduino IDE to work with a ESP8266

Select File-->Preferences

Copy and paste this URL in the field 'Additional Boards Manager URLs:

http://arduino.esp8266.com/stable/package_esp8266com_index.json

Select Okay

Step 5: Adding ESP8266 Library

Select Tools-->Board-->Board Manager

Then type in ESP8266 and instal ESP8266 by ESP8266 Community (pictured)

Step 6: Plug in Your ESP8266 Board With Micro USB Cord

Step 7: ESP8266 Configuration

Select your board as pictured NodeMCU 1.0 (ESP-12E Module)

Configure the board as pictured:

Flash Size -> 4M (3M SPIFFS)

CPU Frequency -> 80 Mhz

Upload Speed -> 921600 (the screen shot shows 115200, you can probably use both,but you will probably have more luck with 921600)

Port --> Com X (X=to whatever port is associated with your ESP8266. If you are unsure, unplug your chip, go to tools-->port, and note what com ports are connected. Reconnect your chip and note the new port number, that is the com port for your chip, select that one. For reference mine was 'Com 6'

Step 8: Flashing the ESP8266

This only needs to be done once:

Download and run the 32 or 64 bit flasher*:

32 bit - https://github.com/nodemcu/nodemcu-flasher/blob/m...
64 bit- https://github.com/nodemcu/nodemcu-flasher/blob/m...

*If you don't know if your PC is 32 bit or 64 bit, type "about" in your taskbar search bar. It'll be listed under the field: 'system type'

Select the download button on github and open file once downloaded.

Select the chip port from the previous step (Com 6 for me), and then select flash (this should only have to be done once) close flash program once completed. Process is completed when you get the green checkmark in the bottom left hand corner.

Step 9: Finished

That's it! Your NodeMCU ESP8266 is now ready to receive code!

Be sure to check out https://www.twitch.tv/noycebru to see projects being made live or watch the tutorials on YouTube at https://www.twitch.tv/noycebru. I post daily to twitter @noycebru

Projects that I've made on stream that will be uploaded to YouTube:

Twitch Chat Controlled Servo

Twitch Chat Controlled Digital Relay

Twitch Chat Controlled Stepper Motors

Twitch Chat Controlled DC Motors

Arduino Pro Micro Streamdeck

Arduino Pro Micro PC Joystick

Be the First to Share

    Recommendations

    • CNC Contest

      CNC Contest
    • Make it Move

      Make it Move
    • Teacher Contest

      Teacher Contest

    Discussions