DOIT ESP8285 DevKit | Getting Started & Programming | Tutorial & Project

DOIT ESP8285 DevKit | Getting Started & Programming | Tutorial & Project


DOIT ESP8285 DevKit is a microprocessor-based development board developed by It contains ESP-M2 Wi-Fi Module, which integrates an ESP8285 Wi-Fi System-on-a-Chip (SoC). The chip is embedded with Tensilica Xtensa L106, 32-bit Microprocessor, which has a 160KB of SRAM. The chip has an external 1MB SPI Flash Memory to store the user program. It runs on the clock speed of 80MHz to 160MHz. It supports IEEE 802.11b/g/n wireless networking standards and operates on 2.4GHz frequency band. It also supports WEP, WPA, and WPA2 security protocols. DOIT ESP8285 DevKit uses WCH CH340G chip, as a USB-to-Serial Convertor.

DOIT ESP8285 DevKit can be programmed or powered with the USB-to-Serial connection of 5V, via Type-Micro B USB Connector.

DOIT ESP8285 DevKit has 9 digital input/output pins, which are labeled 0, 2, 4, 5, 12, 13, 14, 15, and 16. These pins are used for general purpose input/output and can be configured by using the pinMode(), digitalRead(), and digitalWrite() functions.

DOIT ESP8285 DevKit also has 1 analog input pin, which is labeled ADC. This pin is connected to on-board 1-channel 10-bit Analog-to-Digital Converter (ADC) and is used to read the analog voltages by using the analogRead() function.

Both digital and analog pins can tolerate a maximum voltage of 3.3V and can provide or receive a maximum current of 12mA. Each of these pins has an internal pull-up resistor, which can be enabled by using the INPUT_PULLUP command.

- VIN Pin is used to power the board with an external power supply of 5V to 12V.

- 5V Pin provides a regulated 5V output from the board.

- 3.3V Pin provides a regulated 3.3V output from the board.

- GND Pins are the Ground pins.

- Digital Pin 0, 2, 4, 5, 12, 13, 14, 15, and 16 are the External Interrupts pins, which can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value by using the attachInterrupt() function.

- Digital Pin 0, 2, 4, 5, 12, 13, 14, 15, and 16 are the Pulse Width Modulation (PWM) pins, which provides 10-bit Pulse Width Modulation (PWM) output by using the analogWrite() function.

- Digital Pin 4 and 5 are SDA and SCL respectively are the Two Wire Interface (TWI) pins, which support Two Wire Interface (TWI) or I2C communication by using the Wire library.

- Digital Pin 12, 13, 14, and 15 are MISO, MOSI, SCK, and SS respectively are the Hardware Serial Peripheral Interface (SPI) pins, which support Serial Peripheral Interface (SPI) communication by using the SPI library.

- RX and TX Pin are the Serial pins, which support Serial or UART communication by receiving/transmitting TTL serial data.

- RST Pin is the Reset pin, which is used to bring the line LOW to reset the microprocessor.

- EN Pin is the Chip Enable pin, which is to be active HIGH for normal operation.

- RST Button is used to reset the microprocessor when pressed.

- FLASH Button enables us to flash the firmware into the microprocessor when pressed.

- There is a built-in LED which is connected to the Digital Pin 16.


Components that you'll required:

- 400 Tie-Points Breadboard:

- Type-A to Type-Micro B USB Cable:

Please check out the description or resources to buy these components.


DOIT ESP8285 DevKit | Getting Started & Programming | Tutorial & Project | Connections

Now, let’s see the connections.

- Connect the anode of LED to the Digital Pin 16 of DOIT ESP8285 DevKit, via a 220 Ohm Resistor.

- Connect the cathode of LED to the GND Pin of DOIT ESP8285 DevKit.


In order to program the DOIT ESP8285 DevKit, you'll need to download the software and source code from the description or resources.

Now, let’s program the DOIT ESP8285 DevKit.

- Connect the one end of USB cable to the DOIT ESP8285 DevKit, and another end to your Computer.

- Install the CH340G USB to UART driver, if not already installed.

- Open the sketch in the Arduino IDE. This program enables the DOIT ESP8285 DevKit to turn the LED on and off depending upon the value of pin connected to the LED. When the pin value is HIGH, the LED turns on and when the pin value is LOW, the LED turns off. This program doesn’t require any library.

- Open the Preferences dialog from the File menu of Arduino IDE.

- Enter the URL of the Board Package into the Additional Board Manager URLs field.

- Open the Boards Manager from the Tools menu of Arduino IDE.

- Find the “esp8266” platform and click on the Install button.

- Select the proper Board from the Tools menu of Arduino IDE.

- Select the proper Serial Port from the Tools menu of Arduino IDE.

- Click on the Upload button to upload the sketch to the DOIT ESP8285 DevKit.

- Press the FLASH button while uploading the sketch to the DOIT ESP8285 DevKit.

If the upload is successful, the message "Done uploading" will appear in the status bar of Arduino IDE. After a few seconds, you should see the LED starts blinking.


Popular posts from this blog

Heltec ESP32 LoRa DevKit | LoRa Controlled Robot Car | Tutorial & Project