MEAM.Design - NodeMCU - Getting Started
Install Arduino IDE
Download and install the latest Arduino IDE. Arduino.cc e.g. version (1.8.3) or later.
- Open the program.
- Go to: File -> Preferences.
- Into the ‘Additional Board Manager URLs’ box paste or type: http://arduino.esp8266.com/stable/package_esp8266com_index.json
- Click OK.
Extra Step for Mac OSX: Mac's need the silabs usb to uart driver
- Go to: http://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
- Download the driver
- Install the driver
Configure Arduino for ESP8266
- Go to: Tools -> Board -> Board Manager…
- Search esp8266
- Select ESP8266 Community
- Click Install
Set up Arduino communications with board.
- Close and restart the Arduino IDE
- Plug in your microcontroller
- Tools -> Board -> NodeMCU 1.0 (ESP-12E Module).
- Tools -> CPU Frequency: -> 80MHz
- Tools -> Upload Speed: -. 115200
- Tools -> Port -> /dev/cu.SLAB_USBtoUART (or this may default to the correct COM Port, check your device manager).
Compile and Download Example
- File -> Examples -> ESP8266 -> Blink
- Plug in your microcontroller to your computer
- Confirm the Port
- Click the ‘check’ <Verify> to compile the code
- Click the ‘arrow’ <Upload> to Flash the Blink code to the memory of your microcontroller
- View the results on the microcontroller (blinking LED)