ESP32 Quiz by azka.xdlabin QuizMarch 3, 2025 ESP32 Quiz 1 / 60 What function is used to set the mode of a GPIO pin in ESP32? pinMode() gpioMode() setPinMode() definePin() 2 / 60 Which USB driver is usually required for ESP32 on Windows? FTDI FT232R CH340 or CP210x USB to UART driver GPIO bridge driver Arduino AVR driver 3 / 60 Which ESP32 function sets the duty cycle for PWM output? digitalWrite(pin, HIGH) pwmSet(pin, value) setDutyCycle(pin, value) analogWrite(pin, value) 4 / 60 What is the resolution of the ADC in ESP32 by default? 8-bit 16-bit 12-bit 10-bit 5 / 60 What function is used to disconnect from Wi-Fi in ESP32? WiFi.shutdown() WiFi.end() WiFi.stop() WiFi.disconnect() 6 / 60 What is the function of the CP2102 chip in ESP32 development boards? It controls GPIO pins It converts 5V to 3.3V It provides USB-to-Serial communication It manages Wi-Fi connectivity 7 / 60 What tool is used for professional development with ESP32 (official SDK)? PlatformIO Core ESP-IDF Arduino Core ESP-Terminal 8 / 60 How many ADC channels are available on the ESP32? 2 32 3 10 to 18(depends on chip variant) 9 / 60 What is the correct baud rate commonly used for ESP32 serial communication? 9600 115200 4800 250000 10 / 60 Which function turns an output pin HIGH or LOW in Arduino-style code for ESP32? digitalWrite() writePin() pinOutput() setPin() 11 / 60 What is the purpose of delay(1000); in ESP32 Arduino code? Waits for 1000 milliseconds Waits for user input Reads pin 1000 Turns off power for 1000 ms 12 / 60 Which of the following can ESP32 act as? Both A and B Wi-Fi Station Neither A nor B Wi-Fi Access Point 13 / 60 Which pins on the ESP32 can be used for touch sensing? GPIO 0 to 10 GPIO 32 to 39 Touch-capable GPIOs (e.g., T0 to T9) Only GPIO 13 14 / 60 Which library is used in Arduino IDE to connect ESP32 to Wi-Fi? Ethernet.h WiFiClient.h WiFi.h ESP32WiFi.h 15 / 60 What function is used to connect ESP32 to a Wi-Fi network? WiFi.connect() WiFi.begin() WiFi.link() WiFi.attach() 16 / 60 What is the role of a "BLE Server" on ESP32? It connects to Wi-Fi networks It stores data in flash It connects to other devices and receives data It advertises services and sends data to clients 17 / 60 What peripheral is used to convert analog input to digital values? SPI DAC PWM ADC 18 / 60 How can you install ESP32 board support in Arduino IDE? Using the Board Manager URL By downloading an EXE installer Through Tools > Manage Libraries It is built-in automatically 19 / 60 Which pins should be avoided during boot because they affect the boot process? GPIO 18, 19 GPIO 21, 22 GPIO 6 to GPIO 11 GPIO 2, 4, 5 20 / 60 In BLE, what is the purpose of a "Characteristic"? Used to identify the device Transfers data between server and client Stores Wi-Fi credentials Assigns power levels 21 / 60 On Windows, where can you check if the CP2102 driver is installed correctly? Task Manager Device Manager Registry Editor File Explorer 22 / 60 What constant indicates a successful connection in WiFi.status()? WL_CONNECTED CONNECTED ONLINE OK 23 / 60 Which function is used to generate PWM signals on a GPIO pin in Arduino? analogWrite() pwmOut() digitalPWM() setPWM() 24 / 60 What is the default Wi-Fi mode of ESP32 when it powers up? AP mode OFF STA mode AP+STA mode 25 / 60 Which function checks if ESP32 is connected to Wi-Fi? WiFi.signal() WiFi.connected() WiFi.check() WiFi.status() 26 / 60 Which file is used to configure board settings in Arduino IDE for ESP32? setup.ini board_config.json platform.ini boards.txt 27 / 60 What is the maximum number of BLE connections ESP32 can typically support as a server? 1 7 3 4 28 / 60 What keyword is used to define a constant pin number? static pinDef define const int 29 / 60 What is the function to create a Wi-Fi access point? WiFi.apBegin() WiFi.apStart() WiFi.startAP() WiFi.softAP() 30 / 60 Which company manufactures the ESP32 chip? Microchip Intel Atmel Espressif Systems 31 / 60 How do you print text to the Serial Monitor in ESP32 Arduino code? console.log("text") print("text") monitor.write("text") Serial.println("text") 32 / 60 What is the typical range of BLE communication for ESP32? 5–10 meters 100–200 meters 10–30 meters 500 meters 33 / 60 Which app is commonly used to test BLE communication on a smartphone? Arduino Bluetooth Serial Monitor nRF Connect ESP BLE Controller 34 / 60 What is the purpose of setup() in ESP32 Arduino code? Runs the main loop repeatedly Delays execution Initializes code and runs once Sets up the display 35 / 60 What is the maximum voltage ESP32 GPIO pins can tolerate? 3.3V 1.8V 5V 12V 36 / 60 What is the purpose of the "Boot" button on ESP32 boards? It resets Wi-Fi settings It enters firmware upload mode It opens the serial monitor It opens a menu 37 / 60 Which library is used to implement BLE on ESP32? BLESerial.h BluetoothLowEnergy.h BLEDevice.h ESPBLE.h 38 / 60 Which command reads the value of a digital input pin? inputRead() digitalRead() getPinValue() readInput() 39 / 60 What is the purpose of a DAC in ESP32? Convert digital to analog signals Digital signal amplification Reset pin values Data access control 40 / 60 Which IDE is most commonly used by beginners for ESP32 development? VS Code Arduino IDE Code::Blocks Eclipse 41 / 60 What types of Bluetooth are supported by ESP32? BLE only Classic only None Both Classic and BLE 42 / 60 What is the maximum clock speed of the ESP32-WROOM-32? 80 MHz 120 MHz 240 MHz 160 MHz 43 / 60 Which library is commonly used for Classic Bluetooth in Arduino IDE? BluetoothSerial.h BLEDevice.h BluetoothClassic.h WiFiSerial.h 44 / 60 What problem can occur if the CP2102 driver is not installed on a computer? The ESP32 will overheat The Wi-Fi module will not work The ESP32 will not be recognized by the computer ESP32 will not power on 45 / 60 What UUIDs are used for in BLE communication? Identify devices on Wi-Fi Create random values Set device frequency Define services and characteristics 46 / 60 Which platform is used to manage ESP32 code with a modern interface and multiple boards? PlatformIO Notepad++ Tinkercad GitHub 47 / 60 What data type is commonly used to store HIGH or LOW? bool byte int boolean 48 / 60 What must be installed in Arduino IDE to program the ESP32? ESP32 Board Support Package Bluetooth driver Java SDK Python interpreter 49 / 60 If the ESP32 board is not detected on Linux, which command can help check connected USB devices? dmesg | grep serial Both A and C lsusb usbconfig 50 / 60 What does BLE stand for? Basic Low Energy Bluetooth Light Edition Bluetooth Low Energy Bluetooth Long-range Extension 51 / 60 What is the typical range of Wi-Fi for ESP32 in open space? 200–300 meters 50–100 meters 10–20 meters 1 km 52 / 60 How many GPIO pins are typically available on the ESP32 DevKit board? 20 54 34 10 53 / 60 Which driver is required for the CP2102 chip on Windows systems? CH340 Driver CP210x USB to UART Bridge VCP Driver Arduino USB Driver FTDI Driver 54 / 60 Which function initializes the serial communication? Serial.read() Serial.init() Serial.begin() Serial.start() 55 / 60 Which communication interfaces does ESP32-WROOM-32 support? SPI, RS485, Ethernet USB, RS232, VGA UART, HDMI, PCIe UART, SPI, I2C 56 / 60 Which company manufactures the ESP32-WROOM-32 module? Espressif Systems Texas Instruments Atmel Microchip 57 / 60 What is the default operating voltage of the ESP32-WROOM-32 module? 1.8V 5V 3.3V 12V 58 / 60 What is the core processor used in ESP32-WROOM-32? Xtensa LX6 ARM Cortex-M3 RISC-V AVR 59 / 60 How do you get the IP address of ESP32 after connecting to Wi-Fi? WiFi.myIP() WiFi.IP() WiFi.getIP() WiFi.localIP() 60 / 60 What does the loop() function do? Declares variables Uploads code Executes only once Repeats code continuously Your score isThe average score is 63% 0% Restart quiz