ESP8685WROOM04 User Manual Pre-release v0.1 Espressif Systems Copyright © 2022 www.espressif.
About This Document This user manual shows how to get started with the ESP8685-WROOM-04 module. Document Updates Please always refer to the latest version on https://www.espressif.com/en/support/download/documents. Revision History For revision history of this document, please refer to the last page. Documentation Change Notification Espressif provides email notifications to keep you updated on changes to technical documentation. Please subscribe at www.espressif.com/en/subscribe.
Contents Contents 1 Overview 4 1.1 Module Overview 4 1.2 Pin Description 5 2 Get Started on ESP8685WROOM04 7 2.1 What You Need 7 2.2 Hardware Connection 7 2.3 Set up Development Environment 8 2.3.1 Install Prerequisites 8 2.3.2 Get ESP-IDF 8 2.3.3 Set up Tools 9 2.3.4 Set up Environment Variables 9 2.4 Create Your First Project 9 2.4.1 Start a Project 9 2.4.2 Connect Your Device 9 2.4.3 Configure 9 2.4.4 Build the Project 10 2.4.
1 Overview 1 Overview 1.1 Module Overview ESP8685-WROOM-04 is a general-purpose Wi-Fi and Bluetooth LE module. The rich set of peripherals and a small size make this module an ideal choice for smart homes, industrial automation, health care, consumer electronics, etc. ESP8685-WROOM-04 comes with a PCB antenna. Table 1: ESP8685WROOM04 Specifications Categories Specifications IEEE 802.
1 Overview 1.2 Pin Description Keepout Zone IO0 1 16 TXD0 IO1 2 15 RXD0 EN 3 14 IO3 13 IO10 GND GND GND GND 17 GND GND GND GND GND IO2 4 IO4 5 12 IO9 IO5 6 11 IO8 IO6 7 10 IO7 3V3 8 9 GND Figure 1: Pin Layout (Top View) The module has 17 pins. See pin definitions in Table 2. Table 2: Pin Definitions Name No. Type1 Function IO0 1 I/O/T GPIO0�ADC1_CH0, XTAL_32K_P IO1 2 I/O/T GPIO1, ADC1_CH1, XTAL_32K_N High: on, enables the chip.
1 Overview Table 2 – cont’d from previous page 1 Name No. Type GND 9,17 P IO7 10 I/O/T GPIO7, FSPID, MTDO, LED PWM IO8 11 I/O/T GPIO8 IO9 12 I/O/T GPIO9 IO10 13 I/O/T GPIO10, FSPICS0, LED PWM IO3 14 I/O/T GPIO3, ADC1_CH3, LED PWM RXD0 15 I/O/T GPIO20, U0RXD TXD0 16 I/O/T GPIO21, U0TXD 1 Function Ground P: power supply; I: input; O: output; T: high impedance. Espressif Systems 6 ESP8685-WROOM-04 User Manual v0.
2 Get Started on ESP8685-WROOM-04 2 Get Started on ESP8685WROOM04 2.1 What You Need To develop applications for ESP8685-WROOM-04 module you need: • 1 x ESP8685-WROOM-04 module • 1 x Espressif RF testing board • 1 x USB-to-Serial board • 1 x Micro-USB cable • 1 x PC running Linux In this user guide, we take Linux operating system as an example. For more information about the configuration on Windows and macOS, please refer to ESP-IDF Programming Guide. 2.2 Hardware Connection 1.
2 Get Started on ESP8685-WROOM-04 8. Power up the RF testing board again. ESP8685-WROOM-04 will switch to working mode. The chip will read programs from flash upon initialization. Note: IO9 is internally logic high. If IO9 is set to pull-up, the Boot mode is selected. If this pin is pull-down or left floating, the Download mode is selected. For more information on ESP8685-WROOM-04, please refer to ESP8685-WROOM-04 Datasheet. 2.
2 Get Started on ESP8685-WROOM-04 2.3.3 Set up Tools Aside from the ESP-IDF, you also need to install the tools used by ESP-IDF, such as the compiler, debugger, Python packages, etc. ESP-IDF provides a script named ’install.sh’ to help set up the tools in one go. cd ~/esp/esp-idf ./install.sh 2.3.4 Set up Environment Variables The installed tools are not yet added to the PATH environment variable. To make the tools usable from the command line, some environment variables must be set.
2 Get Started on ESP8685-WROOM-04 Setting the target with ‘idf.py set-target esp8685’ should be done once, after opening a new project. If the project contains some existing builds and configuration, they will be cleared and initialized. The target may be saved in environment variable to skip this step at all. See Selecting the Target for additional information.
2 Get Started on ESP8685-WROOM-04 ../../../components/esptool_py/esptool/esptool.py -p (PORT) -b 921600 write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x10000 build/hello-world.bin build 0x1000 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin or run ’idf.py -p PORT flash’ If there are no errors, the build will finish by generating the firmware binary .bin file. 2.4.
2 Get Started on ESP8685-WROOM-04 Writing at 0x00020000... (100 %) Wrote 145520 bytes (71984 compressed) at 0x00010000 in 2.3 seconds (effective 504.4 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin... Done If everything goes well, the “hello_world” application starts running after you remove the jumper on IO0 and GND, and re-power up the testing board. 2.4.6 Monitor To check if “hello_world” is indeed running, type ‘idf.
3 U.S. FCC Statement 3 U.S. FCC Statement FCC ID: 2AC7ZESP868504 This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: • This device may not cause harmful interference. • This device must accept any interference received, including interference that may cause undesired operation. This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part15 of the FCC Rules.
3 U.S. FCC Statement Notice: In the event that these conditions cannot be met (for example certain laptop configuration or co-location with another transmitter), then the FCC authorization for this module in combination with the host equipment is no longer considered valid and the FCC ID of the module cannot be used on the final product. In these and circumstance, the OEM integrator will be responsible for re-evaluating.
4 Learning Resources 4 Learning Resources 4.1 MustRead Documents Please familiarize yourself with the following documents: • ESP-IDF Programming Guide Extensive documentation for the ESP-IDF development framework, ranging from hardware guides to API reference. • Espressif Products Ordering Information 4.2 Important Resources Here are the important ESP8685-related resources.
Revision History Revision History Date Version Release notes 2021-05-10 V0.1 Preliminary release Espressif Systems 16 ESP8685-WROOM-04 User Manual v0.
Disclaimer and Copyright Notice Information in this document, including URL references, is subject to change without notice. ALL THIRD PARTY’S INFORMATION IN THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES TO ITS AUTHENTICITY AND ACCURACY. NO WARRANTY IS PROVIDED TO THIS DOCUMENT FOR ITS MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, NOR DOES ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE.