MEAM.Design - NodeMCU - Getting Started



Hardware/software Requirements

  1. Arduino Integrated Development Environment (IDE)
  2. ESP32 NodeMCU board
  3. MicroUSB cable
  4. WindowsPC or Mac
  5. SiLabs CP210x driver (for Mac)

Install Arduino IDE

  1. Both Mac and Windows can download Arduino IDE. Arduino.cc e.g. version (1.8.7) or later.
  2. Install according to the instructions

Windows PC Instructions

( You can use this video starting at 5:30 for a reference: https://www.youtube.com/watch?v=mJcxnaR08Dg )

  1. Go to: https://github.com/espressif/arduino-esp32
  2. Click Clone or Download→Download ZIP
  3. Extract downloaded files.
  4. Create new file path in your Arduino folder: C:\Users\ YourName \Documents\Arduino\hardware\espressif\esp32 and copy and paste the files from Step 3 here.
  5. Go to the Tools folder and run get.exe
  6. Test with the Blink Code (see below)

Mac instructions

( You may use this video starting at 1:45 for a reference: https://www.youtube.com/watch?v=-P7RD-DWVuA&t=320s )

  1. Go to: http://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
  2. Find the "Download for MacIntosh OSX", and download [v5]
  3. Plug the ESP32 into your computer
  4. Install the driver
  5. Go to: https://github.com/espressif/arduino-esp32
  6. Scroll to the ‘Installation Instructions’ section and click ‘Instructions for Mac’ and follow those instructions.
  7. Test with the Blink Code (see below)

If you are using Mac OS 10.12.6 (Sierra) and you cannot upload with the latest Mac OS VCP driver, please try the legacy v4 driver below. Note you will need to uninstall the v5 driver using uninstall.sh (in the driver package). You may or may not need Python…

Test with Blink Code

  1. Restart the Arduino IDE (be sure the NodeMCU board is connected via usb to your computer)
  2. Tools→Board→NodeMCU-32S
  3. Tools→Upload Speed →115200
  4. [On Windows] Tool→Port →COM#
  5. [On Mac] Tool→Port →/dev/cu.SLAB_USBtoUART
  6. In the Arduino IDE go to Files→Examples→01.Basics→Blink
  7. In the new window click the ‘check’ ✓ <Verify> button in upper left to compile the code
  8. Click the ‘arrow’ → <Upload> next to the ✓, to Flash the Blink code. Note: you must depress the "boot" button on the ESP32 to enable flash to occur.
  9. The LED on the NodeMCU32 should be blinking on 1 second off 1 second. The built in LED is on pin 2, otherwise you will need to connect an LED to the pin the code is using.