USER MANUAL EN ESP32 DEVELOPMENT BOARD WPB109 whadda.
Introduction To all residents of the European Union Important environmental information about this product This symbol on the device or the package indicates that disposal of the device after its lifecycle could harm the environment. Do not dispose of the unit (or batteries) as unsorted municipal waste; it should be taken to a specialized company for recycling. This device should be returned to your distributor or to a local recycling service. Respect the local environmental rules.
Product overview The Whadda WPB109 ESP32 development board is a comprehensive development platform for Espressif’s ESP32, the upgraded cousin of the popular ESP8266. Like the ESP8266, the ESP32 is a WiFi-enabled microcontroller, but to that it adds support for Bluetooth low-energy (i.e BLE, BT4.0, Bluetooth Smart), and 28 I/O pins. The ESP32’s power and versatility makes it the ideal candidate to serve as the brains of your next IoT project.
Functional overview Key Component Description ESP32-WROOM-32 A module with ESP32 at its core. EN Button Reset button Download button. Holding down Boot and then pressing EN initiates Boot Button Firmware Download mode for downloading firmware through the serial port. Converts USB into UART serial in order to USB-to-UART Bridge facilitate the communication between the ESP32 and pc USB interface.
Getting started Installing the required software 1. First, make sure you have the latest version of the Arduino IDE installed on your computer. You can download the latest version by going to www.arduino.cc/en/software. 2. Open the Arduino IDE, and open the preferences menu by going to File > Preferences. Enter the following URL into the "Additional Boards Manager URLs" field: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json , and hit “OK”. 3.
Uploading the first sketch to the board 4. Once the ESP32 core has been installed, open the tools menu and select the ESP32 Dev module board by going to: Tools > Board:"..." > ESP32 Arduino > ESP32 Dev Module 5. Connect the Whadda ESP32 module to your pc using a micro USB cable. Open the tools menu again and check if a new serial port has been added to the port list and select it (Tools > Port:”…” > ).
6. Check that the following settings have been selected in the tools board menu: 7. Select an example sketch from the “Examples for ESP32 Dev Module” in File > Examples. We recommend to run the example called “GetChipID” as a starting point, which can be found under File > Examples > ESP32 > ChipID. 8. Click the Upload button ( ), and monitor the info messages at the bottom. Once the message “Connecting…” appears, press and hold the Boot button on the ESP32 until the uploading process has finished.
9. Open the serial monitor ( ), and check that the baudrate is set to 115200 baud: 10. Press the Reset/EN button, debug messages should start appearing on the serial monitor, together with the Chip ID (If the GetChipID example was uploaded).
Having trouble? Restart the Arduino IDE and reconnect the ESP32 board. You can check if the driver has been properly installed by checking Device manager on Windows under COM Ports to see if a Silicon Labs CP210x device is recognized. Under Mac OS you can run the command ls /dev/{tty,cu}.* in the terminal to check this.
WiFi connection example The ESP32 really shines in applications where WiFi connectivity is required. The following example will harness this extra functionality by having the ESP module function as a basic webserver. 1. Open the Arduino IDE, and open the AdvancedWebServer example by going to File > Examples > WebServer > AdvancedWebServer 2. Replace YourSSIDHere with your own WiFi network name, and replace YourPSKHere with your WiFi network password.
3. Connect your ESP32 to your pc (if you haven’t already), and make sure that the correct board settings in the Tools menu are set and that the proper serial communication port has been selected. 4. Click the Upload button ( ), and monitor the info messages at the bottom. Once the message “Connecting…” appears, press and hold the Boot button on the ESP32 until the uploading process has finished.
5. Open the serial monitor ( ), and check that the baudrate is set to 115200 baud: 6. Press the Reset/EN button, debug messages should start appearing on the serial monitor, together with status info about the network connection and the IP-address. Take a note of the IP address: Is the ESP32 having trouble to connect to your WiFi network? Check that the WiFi network name and password have been set up correctly, and that the ESP32 is in range of your WiFi access point.
7. Open our web browser and try to connect to the ESP32 by entering it’s ip addresses in the address bar. You should get a webpage that shows a randomly generated graph from the ESP32 What to do next with my Whadda ESP32 board? Check out some of the other ESP32 examples that come preloaded in the Arduino IDE. You could try out the Bluetooth functionality by trying the example sketches in the ESP32 BLE Arduino folder, or try out the internal magnetic (hall) sensor test sketch (ESP32 > HallSensor).
whadda.com Modifications and typographical errors reserved - © Velleman Group nv, Legen Heirweg 33 - 9890 Gavere WPB109-26082021.