www.keyestudio.
www.keyestudio.com Guide Content Description:........................................................................................................................ 3 Technical Details:...............................................................................................................3 Element and Interfaces:................................................................................................... 5 Detailed Using Method as follows:.....................................................
www.keyestudio.com Description: This keyestudio ESP32 core board is a Mini development board based on the ESP-WROOM-32 module. The board has brought out most I/O ports to pin headers of 2.54mm pitch. These provide an easy way of connecting peripherals according to your own needs. When it comes to developing and debugging with the development board, the both side standard pin headers can make your operation more simple and handy.
www.keyestudio.com Microcontroller: ESP-WROOM-32 module USB to Serial Port Chip: CP2102-GMR Operating Voltage: DC 5V Operating Current: 80mA (average) Current Supply: 500mA (Minimum) Operating Temperature Range: -40℃ ~ +85℃ WiFi mode: Station/SoftAP/SoftAP+Station/P2P WiFi protocol: 802.11 b/g/n (802.11n, speed up to 150 Mbps WiFi frequency band: 2.4 GHz Bluetooth protocol: conform to Bluetooth v4.2 BR/EDR and BLE standards Dimensions: 55mm*26mm*13mm Weight: 9.
www.keyestudio.
www.keyestudio.
www.keyestudio.
www.keyestudio.com Detailed Using Method as follows: Step1| Install the Arduino IDE When programming the control board, first you should install the Arduino software and driver. You can download the different versions for different systems from the link below: https://www.arduino.cc/en/Main/OldSoftwareReleases#1.5.x This control board is compatible with the Arduino 1.8.7 or latest version. So next we will download the Arduino 1.8.7 software to test the keyestudio ESP32 core board.
www.keyestudio.com In this Windows system page, there are two options. One is Windows version, the other is Windows Installer. For Windows Installer, you can download the installation file, this way you need to install the arduino IDE. For simple Windows version, you can download the software directly, do not need to install, just directly use the software after unzip the package. Next, we click the Windows, pop up the interface as below.
www.keyestudio.com Click JUST DOWNLOAD. Downloaded well the arduino-1.8.7-windows.zip package to your computer, you can direct to unzip the package. Open the Arduino-1.8.7 folder, you should get it as follows.
www.keyestudio.com Click the icon of ARDUINO software to open. This is your Arduino.
www.keyestudio.com Step2| Installing the Driver The USB to serial port chip of this control board is CP2102-GMR. So you need to install the driver for the chip. You can click the driver tool download link: https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers It includes different drivers for different computer’s systems. Download and install the driver according to your computer’s system. For example, we download the driver for Windows 7.
www.keyestudio.com package of CP210x_Windows_Drivers Then extract the compression package; you should see the application to install. The driver software installation is very simple. Just select the driver application as you like. Click to .exe package to install the driver. Click “Next”.
www.keyestudio.com Click to select “I accept this agreement” and click “Next”.
www.keyestudio.com Wait for the installation complete. Finally click “Finish” to close the window.
www.keyestudio.com Step3| Building ESP32 Environment At first, open the Arduino-1.8.7 folder, you will see the hardware folder; Then open the hardware folder and add a new folder, remember to name it espressif shown below.
www.keyestudio.com After that, unzip the esp32 compression package we provided, and copy to the espressif folder. So inside the espressif folder should see the esp32 folder as below. Note that the folder should not name a type. Now, click to enter the esp32 folder and you can see the tools folder below.
www.keyestudio.com Enter the tools folder and click to run the get.exe application as an administrator.
www.keyestudio.com When run the get.exe application, ensure that your network is unblocked and wait for the program download. Done downloading, the following window will automatically close.
www.keyestudio.
www.keyestudio.com Step4| Arduino IDE Setting and Toolbar Double-click the icon of Arduino software downloaded to open the IDE. This is your Arduino 1.8.7 interface.
www.keyestudio.com (Note: if the Arduino software loads in the wrong language, you can change it in the preferences dialog. See the environment page for details.
www.keyestudio.com Attach your ESP32 core board to your computer with the USB cable. Check that the “Board Type”and “Serial Port” are set correctly. Click to open the “Tools”, for “Board”, scroll to select the ESP32 Dev Module.
www.keyestudio.com Select well the correct board and then should set the detailed information as shown below. Pay close attention to select the proper COM port. (Arduino driver installed well, you are supposed to see the corresponding port.
www.keyestudio.com Check out the COM port in the Device Manager of your computer’s control panel. Here we can know the COM port is COM 8. Then select the Port COM 8 in the Arduino Tools.
www.keyestudio.
www.keyestudio.com Step5| Upload the Code Paste and copy the source code below to Arduino IDE. Special Note: when compile and upload the source code, hold the BOOT button on the ESP32 board until upload well the code. /* * This sketch demonstrates how to scan WiFi networks. * The API is almost the same as with the WiFi Shield library, * the most obvious difference being the different file you need to include: */ #include "WiFi.h" void setup() { Serial.
www.keyestudio.com // WiFi.scanNetworks will return the number of networks found int n = WiFi.scanNetworks(); Serial.println("scan done"); if (n == 0) { Serial.println("no networks found"); } else { Serial.print(n); Serial.println(" networks found"); for (int i = 0; i < n; ++i) { // Print SSID and RSSI for each network found Serial.print(i + 1); Serial.print(": "); Serial.print(WiFi.SSID(i)); Serial.print(" ("); Serial.print(WiFi.RSSI(i)); Serial.print(")"); Serial.println((WiFi.
www.keyestudio.com "Done compiling." will appear in the status bar. After that, click the “Upload” button to upload the code. If the upload is successful, the message "Done uploading." will appear in the status bar.
www.keyestudio.com Special Note: if fail to upload, when upload the source code, hold the BOOT button on the ESP32 board until upload well the code.
www.keyestudio.com rate to 115200. You should be able to see the WIFI information on the pop-up window.
www.keyestudio.
www.keyestudio.com Resource Download: You can download all the data package from the link: https://drive.google.com/open?id=1qZ8MGRd-KwlD4wXACALr3P6Vc-4Xib2N Download the ARDUINO Software: https://www.arduino.cc/en/Main/OldSoftwareReleases#1.5.x Download the Driver: https://www.silabs.com/products/development-tools/software/usb-to-uart-bridg e-vcp-drivers FCC Warning: This device complies with Part 15 of the FCC rules.