

The ESP32D on the Goouuu Expansion Board is a versatile development platform featuring the ESP32D microcontroller, manufactured by Espressif. This board is specifically designed for Internet of Things (IoT) applications, offering built-in Wi-Fi and Bluetooth connectivity. It also provides a wide range of GPIO pins, making it suitable for prototyping and developing smart devices, home automation systems, and other connected projects.








The Goouuu Expansion Board provides easy access to the ESP32D's pins. Below is the pinout description:
| Pin Name | Type | Description |
|---|---|---|
| VIN | Power Input | Input voltage (5V) for powering the board via USB or external power supply. |
| GND | Ground | Ground connection. |
| 3V3 | Power Output | 3.3V output for powering external components. |
| GPIO0 | Digital I/O | General-purpose I/O pin; also used for boot mode selection. |
| GPIO2 | Digital I/O | General-purpose I/O pin. |
| GPIO4 | Digital I/O | General-purpose I/O pin; supports PWM, ADC, and more. |
| GPIO5 | Digital I/O | General-purpose I/O pin; supports PWM, ADC, and more. |
| GPIO12 | Digital I/O | General-purpose I/O pin; supports ADC and touch sensing. |
| GPIO13 | Digital I/O | General-purpose I/O pin; supports ADC and touch sensing. |
| GPIO14 | Digital I/O | General-purpose I/O pin; supports ADC and touch sensing. |
| GPIO15 | Digital I/O | General-purpose I/O pin; supports ADC and touch sensing. |
| GPIO16 | Digital I/O | General-purpose I/O pin; supports ADC and touch sensing. |
| GPIO17 | Digital I/O | General-purpose I/O pin; supports ADC and touch sensing. |
| TXD0 | UART TX | UART0 transmit pin. |
| RXD0 | UART RX | UART0 receive pin. |
| EN | Reset | Reset pin for the ESP32D microcontroller. |
Note: Some GPIO pins have specific functions (e.g., ADC, DAC, PWM). Refer to the ESP32D datasheet for detailed pin capabilities.
Powering the Board:
Programming the ESP32D:
Connecting Peripherals:
Uploading Code:
Below is an example of how to use the ESP32D to read a sensor value and send it over Wi-Fi:
#include <WiFi.h>
// Replace with your network credentials
const char* ssid = "Your_SSID";
const char* password = "Your_PASSWORD";
void setup() {
Serial.begin(115200); // Initialize serial communication at 115200 baud
WiFi.begin(ssid, password); // Connect to Wi-Fi network
// Wait for connection
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.println("Connecting to Wi-Fi...");
}
Serial.println("Connected to Wi-Fi");
}
void loop() {
// Example: Read a sensor value (e.g., analog pin A0)
int sensorValue = analogRead(34); // GPIO34 is an ADC pin
Serial.print("Sensor Value: ");
Serial.println(sensorValue);
delay(1000); // Wait for 1 second before reading again
}
Note: Replace
Your_SSIDandYour_PASSWORDwith your Wi-Fi network credentials.
Board Not Detected by Computer:
Code Upload Fails:
Wi-Fi Connection Issues:
Unexpected Resets:
Q: Can I power the board with a battery?
Q: How do I use Bluetooth on the ESP32D?
BluetoothSerial library in the Arduino IDE to implement Bluetooth communication.Q: Can I use the ESP32D with other IDEs?
By following this documentation, you can effectively utilize the ESP32D on the Goouuu Expansion Board for your IoT and embedded projects.