Computers
Computer Parts
Custom PC Builder
DIY/ Maker
{$smarty.capture.menu}
Activity
Categories
Discussions
Computers
Computer Parts
Custom PC Builder
DIY/ Maker
Inland ESP32 Core Board (Black and Eco-friendly) - Micro Center
<main> <article class="userContent"> <h2 data-id="inland-esp32-core-board-(black-and-eco-friendly)"><strong>Inland ESP32 Core Board (Black and Eco-friendly)</strong></h2><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/WJ7FRU4R6P2Q/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/WJ7FRU4R6P2Q/image.png" alt="image.png" height="396" width="809" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h2></h2><h2 data-id="content-guide"><strong> Content </strong>Guide</h2><ul><li>Description</li><li>Technical Details</li><li>Element and Interfaces</li><li>Detailed Using Method as follows</li><li>Step 1 | Install the Arduino IDE</li><li>Step 2 | Installing the Driver</li><li>Step 3 | Building ESP32 Environment</li><li>Step 4 | Arduino IDE Setting and Toolbar</li><li>Step 5 | Upload the Code</li><li>Resource Download</li></ul><p><br></p><div class="embedExternal embedImage display-medium float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/D5649RPJ7OML/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/D5649RPJ7OML/image.png" alt="image.png" height="240" width="379" loading="lazy" data-display-size="medium" data-float="none"></img></a> </div> </div> <h2 data-id="description%3A">Description:</h2><p>This inland 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. The ESP-WROOM-32 module is the industry's leading integrated WiFi + Bluetooth solution with less than 10 external components. It integrates antenna switch, RF balun, power amplifiers, low noise amplifiers, filters and power management modules. At the same time, it also integrates with TSMC's low-power 40nm technology, so that power performance and RF performance are safe and reliable, easy to expand to a variety of applications.</p><h2 data-id="technical-details%3A">Technical Details:</h2><ul><li>Microcontroller: ESP-WROOM-32 module </li><li>USB to Serial Port Chip: CP2102-GMR</li><li>Operating Voltage: DC 5V</li><li>Operating Current: 80mA (average)</li><li>Current Supply: 500mA (Minimum)</li><li>Operating Temperature Range: -40℃ ~ +85℃ </li><li>WiFi mode: Station/SoftAP/SoftAP+Station/P2P</li><li>WiFi protocol: 802.11 b/g/n/e/i (802.11n, speed up to 150 Mbps</li><li>WiFi frequency range: 2.4 GHz ~ 2.5 GHz</li><li>Bluetooth protocol: conform to Bluetooth v4.2 BR/EDR and BLE standards</li><li>Dimensions: 55mm*26mm*13mm</li><li>Weight: 9.3g</li></ul><h2 data-id="element-and-interfaces%3A">Element and Interfaces:</h2><p>Here is an explanation of what every element and interface of the board has:</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/SF436SK1ZJEC/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/SF436SK1ZJEC/image.png" alt="image.png" height="1182" width="1038" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h2 data-id="specialized-functions-of-some-pins%3A"><strong>Specialized Functions of Some Pins:</strong></h2><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/NROJO6ZQCF1K/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/NROJO6ZQCF1K/image.png" alt="image.png" height="825" width="417" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/QBHYWJS55LYB/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/QBHYWJS55LYB/image.png" alt="image.png" height="565" width="417" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h2 data-id="detailed-using-method-as-follows%3A">Detailed Using Method as follows:</h2><h3 data-id="step-1-install-the-arduino-ide">Step 1 | Install the Arduino IDE</h3><p>When programming the control board, first you should install the Arduino software and driver. </p><p>You can download the different versions for different systems from the link below: </p><p><a href="https://www.arduino.cc/en/Main/OldSoftwareReleases#1.5.x" rel="nofollow noreferrer ugc">https://www.arduino.cc/en/Main/OldSoftwareReleases#1.5.x</a></p><p><br></p><p>This control board is compatible with the Arduino 1.8.7 or latest version. </p><p>So next we will download the Arduino 1.8.7 software to test the keyestudio ESP32 core board.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/KADR1AB7SVXA/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/KADR1AB7SVXA/image.png" alt="image.png" height="622" width="1037" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>In this Windows system page, there are two options. One is Windows version, the other is Windows Installer. </p><p>For Windows Installer, you can download the installation file, this way you need to install the arduino IDE. </p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/5OMUGCXQQEFX/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/5OMUGCXQQEFX/image.png" alt="image.png" height="102" width="1037" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>For simple Windows version, you can download the software directly, do not need to install, just directly use the software after unzip the package.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/2TO6LH4XBSR6/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/2TO6LH4XBSR6/image.png" alt="image.png" height="102" width="1038" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>Next, we click the <strong>Windows</strong>, pop up the interface as below.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/RGWRAKX076CD/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/RGWRAKX076CD/image.png" alt="image.png" height="722" width="1038" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <ul><li>Click<strong> JUST DOWNLOAD</strong>.<strong> </strong></li></ul><p>Download the <strong>arduino-1.8.7-windows.zip</strong> package to your computer, unzip the package. Open the Arduino-1.8.7 folder, you should get it as follows.</p><div class="embedExternal embedImage display-medium float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/D8LM9BMX3XY9/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/D8LM9BMX3XY9/image.png" alt="image.png" height="261" width="245" loading="lazy" data-display-size="medium" data-float="none"></img></a> </div> </div> <div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/NC7PUIAT858J/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/NC7PUIAT858J/image.png" alt="image.png" height="795" width="1042" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>Click the icon of ARDUINO software to open. This is your Arduino.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/8SWTWYT6G201/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/8SWTWYT6G201/image.png" alt="image.png" height="1221" width="1018" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h3 data-id="step-2-installing-the-driver">Step 2 | Installing the Driver</h3><p>The USB to serial port chip of this control board is CP2102-GMR. So you need to install the driver for the chip. </p><p>You can click the driver tool download link: <a href="https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers" rel="nofollow noreferrer ugc">https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers </a></p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/GC4RED78Y5QA/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/GC4RED78Y5QA/image.png" alt="image.png" height="701" width="1041" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>It includes different drivers for different computer’s systems. Download and install the driver according to your computer’s system.</p><p>For example, we download the driver for Windows 7. Get the compression package of CP210x_Windows_Drivers</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/ANIOPFIP5PVJ/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/ANIOPFIP5PVJ/image.png" alt="image.png" height="195" width="1040" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <div class="embedExternal embedImage display-medium float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/5U6PB394AJ76/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/5U6PB394AJ76/image.png" alt="image.png" height="216" width="211" loading="lazy" data-display-size="medium" data-float="none"></img></a> </div> </div> <p>Then extract the compression package; you should see the application to install.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/OI7R9UTW1Y01/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/OI7R9UTW1Y01/image.png" alt="image.png" height="412" width="1021" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>The driver software installation is very simple. Just select the driver application as you like.</p><p>Click the<strong> .exe </strong>package to install the driver. Click<em> “Next”</em>.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/XVRLQS0DVR7G/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/XVRLQS0DVR7G/image.png" alt="image.png" height="650" width="840" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>Click to select <em>“I accept this agreement”</em> and click<em> “Next”.</em></p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/H9IBQ7SWWZKI/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/H9IBQ7SWWZKI/image.png" alt="image.png" height="650" width="840" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/HNMWLJ5DJ5W6/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/HNMWLJ5DJ5W6/image.png" alt="image.png" height="650" width="840" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>Wait for the installation complete. Finally click “Finish” to close the window.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/RCQQRCTBS21T/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/RCQQRCTBS21T/image.png" alt="image.png" height="650" width="840" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h2 data-id="-1"></h2><h3 data-id="step-3-building-esp32-environment">Step 3 | Building ESP32 Environment</h3><p>At first, open the Arduino-1.8.7 folder, you will see the hardware folder; </p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/NRQBQDP3XYUP/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/NRQBQDP3XYUP/image.png" alt="image.png" height="796" width="1026" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>Then open the hardware folder and add a new folder, remember to name it <strong>espressif </strong>shown below.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/7ZM8CA3GLGMD/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/7ZM8CA3GLGMD/image.png" alt="image.png" height="369" width="1029" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>After that, unzip the esp32 compression package we provided, and copy to the <strong>espressif </strong>folder.</p><div class="embedExternal embedImage display-small float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/P2UT6TQ3KRD4/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/P2UT6TQ3KRD4/image.png" alt="image.png" height="215" width="199" loading="lazy" data-display-size="small" data-float="none"></img></a> </div> </div> <p>So inside the <strong>espressif </strong>folder should see the esp32 folder as below. <em>Note that the folder should not name a type.</em></p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/YANWN7DD027A/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/YANWN7DD027A/image.png" alt="image.png" height="201" width="1035" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>Now, click to enter the esp32 folder and you can see the <strong>tools </strong>folder below. </p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/P635B2AT6X10/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/P635B2AT6X10/image.png" alt="image.png" height="717" width="1041" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>Enter the <strong>tools </strong>folder and click to run the <strong>get.exe</strong> application as an administrator. (But the precondition is that you have already installed the Python)</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/ZW9BHNISN1G3/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/ZW9BHNISN1G3/image.png" alt="image.png" height="883" width="1036" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>When run the <strong>get.exe</strong> application, ensure that your network is unblocked and wait for the program download. Done downloading, the following window will automatically close.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/MXCPRASZ8DCA/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/MXCPRASZ8DCA/image.png" alt="image.png" height="683" width="1038" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/FE7GJLSWNWKH/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/FE7GJLSWNWKH/image.png" alt="image.png" height="691" width="1037" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h3 data-id="step-4-arduino-ide-setting-and-toolbar">Step 4 | Arduino IDE Setting and Toolbar</h3><p>Double-click the icon of Arduino software downloaded to open the IDE.</p><div class="embedExternal embedImage display-small float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/Q0GBPD8YZRL2/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/Q0GBPD8YZRL2/image.png" alt="image.png" height="122" width="100" loading="lazy" data-display-size="small" data-float="none"></img></a> </div> </div> <p>This is your Arduino 1.8.7 interface.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/9JDH01V985K6/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/9JDH01V985K6/image.png" alt="image.png" height="1076" width="897" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>(<strong>Note: </strong>if the Arduino software loads in the wrong language, you can change it in the preferences dialog. See the environment page for details.)</p><h3 data-id="the-functions-of-each-button-on-the-toolbar-are-listed-below%3A"><strong>The functions of each button on the Toolbar are listed below: </strong></h3><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/1YNBB4S9D6F5/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/1YNBB4S9D6F5/image.png" alt="image.png" height="667" width="705" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>Attach your ESP32 core board to your computer with the USB cable.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/A1DEGATN9T48/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/A1DEGATN9T48/image.png" alt="image.png" height="310" width="413" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>Check that the “Board Type”and “Serial Port” are set correctly.</p><p>Click to open the “<strong>Tools”</strong>, for “<strong>Board”</strong>, scroll to select the ESP32 Dev Module. </p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/QOP7D6I12G51/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/QOP7D6I12G51/image.png" alt="image.png" height="918" width="948" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>Select well the correct board and then should set the detailed information as shown below.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/PVEVLU6Q0TXG/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/PVEVLU6Q0TXG/image.png" alt="image.png" height="1151" width="959" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>Pay close attention to select the proper <strong>COM </strong>port. (Arduino driver installed well, you are supposed to see the corresponding port.) </p><p>Check out the COM port in the Device Manager of your computer’s control panel. </p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/1KQDCDLTLC72/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/1KQDCDLTLC72/image.png" alt="image.png" height="693" width="1037" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>Here we can know the COM port is COM 8. Then select the Port COM 8 in the Arduino Tools.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/Z2JYC1N5D3NP/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/Z2JYC1N5D3NP/image.png" alt="image.png" height="1143" width="952" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p><br></p><h3 data-id="step-5-upload-the-code">Step 5 | Upload the Code</h3><p>Paste and copy the source code below to Arduino IDE.</p><p><strong><em>Special Note: </em></strong><em>when compile and upload the source code, hold the BOOT button on the ESP32 board until upload well the code.</em></p><pre class="code codeBlock" spellcheck="false" tabindex="0">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.begin(115200); // Set WiFi to station mode and disconnect from an AP if it was previously connected WiFi.mode(WIFI_STA); WiFi.disconnect(); delay(100); Serial.println("Setup done");}void loop(){ Serial.println("scan start"); // 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.encryptionType(i) == WIFI_AUTH_OPEN)?" ":"*"); delay(10); } } Serial.println(""); // Wait a bit before scanning again delay(5000);} </pre><p>Click verify button to check the errors. If compiling successfully, the message "Done compiling." will appear in the status bar.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/G2QN6UJNDTBL/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/G2QN6UJNDTBL/image.png" alt="image.png" height="1143" width="952" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>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. </p><p><strong><em>Special Note: </em></strong><em>if fail to upload, when upload the source code, hold the BOOT button on the ESP32 board until upload well the code.</em></p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/Q1J5Y0WJE4BB/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/Q1J5Y0WJE4BB/image.png" alt="image.png" height="1143" width="952" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>Done uploading the code to your board, open the serial monitor and set the baud rate to 115200. You should be able to see the WIFI information on the pop-up window.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/R4I8XCOYT0EU/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/R4I8XCOYT0EU/image.png" alt="image.png" height="1143" width="952" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6031942/uploads/FVNKCI0TW5S5/image.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6031942/uploads/FVNKCI0TW5S5/image.png" alt="image.png" height="639" width="1037" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h2 data-id="resource-download%3A">Resource Download:</h2><p>You can download all the data package from the link: <a href="https://drive.google.com/open?id=1qZ8MGRd-KwlD4wXACALr3P6Vc-4Xib2N" rel="nofollow noreferrer ugc">https://drive.google.com/open?id=1qZ8MGRd-KwlD4wXACALr3P6Vc-4Xib2N</a></p><p><br></p><p>Download the ARDUINO Software: <a href="https://www.arduino.cc/en/Main/OldSoftwareReleases#1.5.x" rel="nofollow noreferrer ugc">https://www.arduino.cc/en/Main/OldSoftwareReleases#1.5.x</a></p><p><br></p><p>Download the Driver: <a href="https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers" rel="nofollow noreferrer ugc">https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers</a></p> </article> </main>