To get started you'll need the following equipment:
- AZ-Envy Board with ESP8266-12F Microcontroller
- FT232-AZ USB Mini to Serial Adapter
- 6 Female to Female connection wires
- Mini USB to USB cable
- Micro USB power adapter
Download and install the Arduino IDE from here.
After installing the Arduino IDE you must set the following Board Management URL http://arduino.esp8266.com/stable/package_esp8266com_index.json under Preferences
Connect the 6 pins of the ESP8266-12F to FT232-AZ
Pin | Description |
---|---|
GND | Power Supply (-) |
CTS | Clear to send |
VCC | Power Supply (+) |
TX | Transmitt |
RX | Receive |
DTR | Data Terminal Ready |
- Copy the hello-world_esp8266.ino code to your Arduino IDE.
- Connect the FT232-AZ Serial Adapter with Mini-USB to your computer USB port.
- Connect the Micro-USB power adapter to AZ-Envy Micro-USB port
- Select the Board in the Arduino IDE (Board Generic ESP8266)
- First press button (1) to check if your code compiles.
- Then press button (2) to start flashing the ESP8266
- Only pressing the FLASH key while uploading will not be successful. The trick is: The FLASH key must be pressed when the power supply is established. Therefore first press the RESET button, then the FLASH button, then release RESET and finally release FLASH.