ESP32 One is a development board powered by ESP32-D0WDQ6-V3, which features 802.11 b/g/m and BLE4.2.
The ESP32 One integrates power circuits, users can power the board by USB adapter or 4.2V batteries pack. The ESP32 One can be used for image recognition, voice processing, and more...
The ESP32 One Kit has an OV2640 Camera, and the ESP32 One doesn't.
- OV2640 camera (optional) and digital microphone, supports applications like image recognition, voice processing...
- Standard 40PIN GPIO header, compatible with Raspberry Pi HATs for sorts of IoT applications.
- Integrated Li-ion battery boost charging manager, supports battery charging/discharging, and can also be powered from the USB connection.
- Compatible with Arduino and ESP-IDF software SDK, seamlessly connecting with ESP-WHO applications.
- Onboard 8MB PSRAM, 4MB FLASH storage, supports SD extension as well.
- CP2102 USB to UART converter, for serial debugging/programming.
- 4x LED indicators, make it easy to check the operating status.
|Bluetooth||Bluetooth 4.2, including traditional BR/EDR, and BLE low-energy|
|Processor||Xtensa LX6 dual-core processor @240MHz|
|Camera||OV2640 (UXGA 1622×1200) (optional)|
|Input Voltage||3.3V ~ 5V||Operating Voltage||3.3V|
|Charge Current||[email protected]||Overall Consumption||[email protected] (ESP32 under deep sleep)|
|Dimension||65mm x 30.5mm||Operating Temperature||-40℃ ~ 85℃|
The environment setting is carried out in the Windows 10 system. Users can choose to use one of the ESP-IDF libraries or Arduino libraries to develop. Considering that there are many ESP32 library files, it is convenient to use Visual Studio Code as the IDE to complete the code jump file (this function is not available in Arduino IDE). For Mac/Linux operating systems, please refer to the ESPRESSIF guides.
Download and Install ESP IDF tools.
Install the ESP IDF and keep the default setting. (It will automatically install Python3.7, Git tools and configure the environment parameters). The path of ESP-IDF is placed elsewhere, as shown in Figure 1 below:
Download and Install VS Code.
Open The VS_Code, Press Ctrl+P, and search esp-idf-extension to install the package.
- In VSCode, you can press F1 and input Configure ESP-IDF extension to configure the package. You should select USE EXISTING SETUP in the configuration page.
Download and install Arduino IDE, please use the default setting.
- Arduino IDE installs the ESP32 library. The detailed installation process is as follows. For related information, please click Reference.
- Open VSCode, and install Arduino and C/C++ plug-ins (please use Microsoft Publisher) as shown below:
After installing Arduino tools, press F1 and input Preferences Open Settings (UI)m Press Enter and find the setting of Arduino tools.
Press F1 and input Arduino Board Config, Press Enter to configure board programming parameters.
ESP IDF Examples
- 1. blink example
1.1. Open VS Code,Press F1 and input ESP IDF Show Examples Projects.
1.2. The LED of ESP32 One is mapped to Pin21, you need to first modify the pins and press Ctrl + E and B keys to build the project.
1.3 After building, connect the ESP32 One board to the PC, press F1, and input Preference Open Settings (UI), select the correct COM Port COM8 (You need to select the correct one by checking the Device Manager of your PC). Select UART and press Ctrl + E and F keys to program the ESP32 One.
1.4 Press F1 and input Tasks Run Task, Enter and Select Monitor: Start the Monitor -> Continue without scanning the task output.
- 2. face recognition solution Examples
2.1 Use git tool to install esp-who software, run the Git Bash (You can right-click the Bash shortcut) software, and input the follow the following commands:
mkdir ~/Documents/GitHub/ cd ~/Documents/GitHub/ git clone --recursive https://github.com/espressif/esp-who.git
2.2 The size of esp-who software is a little big, please be patient. Select S Code->File->Open Folder open esp-who\eaxmples\single_chip\face_recognition_solution after installing.
2.3 Press F1, input Add vscode configuration folder, and Enter.
2.4 Press Ctrl+E and B to build. Press Ctrl+E and F to program. Press Ctrl + E and M to monitor the serial port.
2.5 Say Hi, lexin to the onboard Microphone (on the backside) to wake the device up.
2.6 You can use Mobilephone and connect to the esp-eye-xxx WiFi. Open 192.168.4.1/face_stream with the browser to test the example.
3. For more examples, you can refer to ESP-IDF Manual.
Open Arduino IDE, choose ESP32 Dev Module, File -> Examples -> ESP32 -> Camera -> CameraWebServer. You need to fill in the local WiFi account and password when the demo driver OV2640 accesses the device in the LAN.
Pay attention to correctly selecting the size of the firmware partition and enable PSRAM, compile and download the demo, wait for the download to complete, open the Serial Monitor of the Arduino IDE to view the access address printed by the ESP32 One Kit, and use other device browsers in the LAN to access the address of the ESP32 One Kit.
For hardware connection, please refer to the following diagram, note that the e-Paper-Driver-HAT is connected to the ESP32 One, the DIP switch is selected by default.
Download the e-Paper ESP32 Driver Board Examples, open the DEV_Config.h file and modify the pins as below table.
PIN ESP32 Description VCC VCC Power(3.3V input) GND GND GND SCK 13 SCLK pin of SPI interface, clock input DIN 14 MOSI pin of SPI interface, data input CS 5 Chip select, low active BUSY 4 Busy status output pin (High for busy) RST 19 Reset pin, low for active DC 0 Data/Command pin, Low for command and High for data.
After modification, enter examples\ directory, copy the esp32-waveshare-epd folder to \hardware\espressif\esp32\libraries, which should be under the installation directory.
Connect the e-Paper Driver HAT to the ESP32 One, and connect the e-Paper to the HAT. Open VS Code as administrator. Open the e-Paper project (Choose the one according to the type of your e-Paper)
Choose programmer, board, COM Port:
- Press Ctrl+Alt+U to build and program ESP32 One.
- For more information about the examples, please refer to e-Paper ESP32 Driver Board.
Waiting for update...
- Technical Documents of espressif
- Arduino ESP32 Support Reference
- ESP32 Arduino Core's documentation
If you require technical support, please go to the Support page and open a ticket.