Skip to content

Environment_setup

Stefano Zenaro edited this page Apr 22, 2019 · 1 revision

Environment setup

  1. Download Arduino IDE (> 1.8.7 ) Here
  2. Install USB drivers, download Here
  3. Add this to the “Additional Boards Manager URLs” in the Arduino IDE
http://arduino.esp8266.com/stable/package_esp8266com_index.json
  1. Restart the Arduino IDE
  2. Go to Tools -> Board -> Boards Manager and install the esp8266 package by ESP8266 Community
  3. Restart the Arduino IDE
  4. Change the current board to Generic ESP8266 Module under the tools menu
  5. Under tools, make sure this settings are selected:
  • Flash Mode = QIO
  • Flash Frequency = 40MHz
  • CPU Frequency = 80MHz
  • Flash Size = 4M 1M SPIFFS
  • Reset Method = nodemcu
  • Upload Speed = 115200
  1. Download these libraries from Sketch -> Include Library -> Libraries Manager
  • Adafruit Unified Sensor by Adafruit
  • DHT Sensor Library by Adafruit
  1. Select the correct port under the Tools menu
  2. Change the variables values to your liking and upload the sketch to the board