Line 16: Line 16:
 
* Now go ahead and open the Arduino IDE, select the board from the '''tools Menu''' like so.,
 
* Now go ahead and open the Arduino IDE, select the board from the '''tools Menu''' like so.,
 
[[File:esp32-select-board.jpg]]
 
[[File:esp32-select-board.jpg]]
 +
* The Hornbill Series of ESP32 boards use '''CP2102''' as the USB to serial converter chip.  Install the drivers for it with the [[Cp2102_Usb-to-Serial_Driver_Installation| help of this tutorial]] and note down the '''COM''' port number.
 +
* Upload any of the example codes. Hornbill ESP32 Dev has a LED on pin 13, so I did a blinky.
 +
[[File:0_esp32_upload_example.JPG]]

Revision as of 11:12, 17 January 2017

After the brief overview of Esp32, its time to setup the arduino for ESP32 and run some sample examples. This will install support Horbill ESP32 Dev, Hornbill ESP32 Minima and other ESP32 boards as well.

Windows

  • Download and install the latest version of Arduino IDE.
  • Download/Clone the latest esp32 files from the espressif repo.
  • Create a directory/folder named espressif under Documents/Arduino/Hardware and extract the contents of files downloaded. It should like so:
Esp32-extract-repo.jpg
  • The setup uses python for various things like uploading the binary file to the board. So we download and install python 2.7.x next. Get it from python.org
  • During installation remember to add Python to the PATH variable. This will enable python to be run from any directory on your computer.
  • Open the command prompt and change the directory cd Documents\Arduino\hardware\espressif\esp32\tools. and hit the command python get.py

Esp32-get-toolchain.jpg


This will download and install the tool chain required to compile the code. If you get an error stating "command python not found". Ensure that the you've added python to the path. If not sure what this means, do comment below.

  • Now go ahead and open the Arduino IDE, select the board from the tools Menu like so.,

Esp32-select-board.jpg

  • The Hornbill Series of ESP32 boards use CP2102 as the USB to serial converter chip. Install the drivers for it with the help of this tutorial and note down the COM port number.
  • Upload any of the example codes. Hornbill ESP32 Dev has a LED on pin 13, so I did a blinky.

0 esp32 upload example.JPG