How to start with ESP-12F 32-bit WiFi MCU




This page include everything what you need to Start easy with your new WiFi based Development Board. We will install NodeMCU Firmware and see the answer from the board in ESPlorer IDE.

What Hardware you will need ?


1. ESP-12F 32-bit WiFi Microcontroller

Description:

ESP8266EX Based board used for integration in other devices. It's support several programing languages. Great choice for first development board to program microcontrollers and be part of Internet of Things (IoT). Cheaper than NodeMCU but you will need external voltage regulator and USB to TTL programmer.


2. CP2102 USB to TTL Programmer

Description:

This is used for serial communication with Microcontrollers which hasn't an integrated USB to TTL Programmer. It uses CP2102 chip to transform usb signals. Also has two separated power lines on 3.3 V and 5 V.


3. 3.3 V Voltage Regulator

Description:

You must use outer power supply on 3.3 V, bacause you can't use the power lines on TTL Programmer.


Schematics:



Pin on ESP-12F Connect to
RX (blue/синя wire) TX
TX (yellow/жълта wire) RX
GPIO0 (pink/розова wire) GND
GPIO15 GND
GND GND
VCC + 3.3 V
EN/CH_PD + 3.3 V

How to Install NodeMCU Firmware?


Flasing New Firmaware by Windows Operating Systems

To flash the firmware you need special flags.
• Connect the Schematics above
• Check everything before switch On your power supply
• Use OUTER POWER SUPPLY, do NOT USE POWER LINES FROM Programmer !
• Plug the TTL Programmer to your computer
• Install CP2102 driver for your Operating System
• Get the appropriate NodeMCU firmware
• Install NodeMCU Flasher, choose for 64-bit or 32-bit version
• Hold down the "FLASH" button on the device and hit the "RST" button while doing so.
• Open NodeMCU Flasher and do this several steps:
1. Go to “Config” section and choose your firmware.
2. Go to “Advanced” section and choose options (Baudrate:115200,Flash size: 4Mbyte, Flash speed: 40MHz, SPI Mode: DIO).
3. Go to “Operation” section and choose COM port.
4. Click on “Flash(F)” button.
!WARNING! If you don’t see the READY NODEMCU text and GREEN Checkbox on the bottom, you must re-flash the firmware but choose lower Baudrate:9600
REMOVE GPIO0 from GND and restart your power supply!
• Install ESPlorer IDE
• Open the ESPlorer IDE

Flasing New Firmaware by Mac OS X and Linux Operating Systems

To flash the firmware you need special flags.
• Connect the Schematics above
• Check everything before switch On your power supply
• Use OUTER POWER SUPPLY, do NOT USE POWER LINES FROM Programmer !
• Plug the TTL Programmer to your computer
• Install CP2102 driver for your Operating System
• Get the appropriate NodeMCU firmware
• Install esptool:
1. git clone https://github.com/themadinventor/esptool.git
2. cd esptool
3. sudo python ./setup.py install
• Hold down the "FLASH" button on the device and hit the "RST" button while doing so.
• Open a terminal window and choose you optionse before run this:
1. python ./esptool.py --port=/dev/USBtoUART write_flash -fm=dio -fs=32m 0x00000 ../your_firmware.bin
REMOVE GPIO0 from GND and restart your power supply!
• Install ESPlorer IDE
• Open the ESPlorer IDE

FOLLOW DEmbryo


Email: support@dembryo.com
Telephone: +359 883473681

Copyright © 2016 - 2017 DEmbryo.com All Rights Reserved


Skype: dembryo.com
Sofia, Bulgaria