Cucumber ESP32-S2 Development Board Comes with USB OTG Port, Optional Sensors

Yesterday, I wrote about LilyGO TTGO ESP32-S2 WiFi IoT board, but one commenter mentioned it missed one of the key features of ESP32-S2 chip: a USB OTG port. While USB OTG  is accessible through the header pins, it’s not the most convenient to use.

I also quickly mentioned Cucumber ESP32-S2 development board in that post, but I did not expand too much since I thought it should only ship within Thailand. But the board does include two USB Type-C ports, one for the usual USB UART connector, and the other for USB OTG, and I found out the board is available worldwide.

Cucumber ESP32-S2 USB OTG Development Board
Click to Enlarge

The board is available in multiple variants with or without sensors and PSRAM, and with external IPEX antenna or PCB antenna using ESP32-S2-WROVER(-I) or ESP32-S2-WROOM(-I) module.

Cucumber specifications:

  • Wireless Module (one of the other):
    • ESP32-S2-WROVER with ESP32-S2, 4MB flash, 2MB PSRAM, on-board PCB antenna
    • ESP32-S2-WROVER-I with ESP32-S2, 4MB flash, 2MB PSRAM, IPEX / u.FL antenna
    • ESP32-S2-WROOM with ESP32-S2, 4MB flash, on-board PCB antenna
    • ESP32-S2-WROOM-I with ESP32-S2, 4MB flash, IPEX / u.FL antenna
  • Connectivity – 2.4 GHz 802.11b/g/n WiFi 4 with ToF (Time of Flight) support
  • USB
    • 1x USB Type C port for power and programming via FTDI chip
    • 1x USB OTG Type-C port
  • Sensors (“S” versions only)
    • HS221 Temperature & Humidity sensor
    • MPU-6050 3-axis Accelerometer & 3-axis Gyroscope
    • BMP280 Pressure sensor
  • Expansion – 2x 21-pin header (color-coded) with GPIO, UART, SPI, I2C, ADC, DAC, Touch, USB OTG, 5V, 3.3V, and GND
  • Misc – Boot and reset buttons; RGB LED; power, user (IO2) and UART LEDs
  • Power Supply – 5V via USB-C port
  • Dimensions – 68.33 x 26 mm
Cucumber Board: Sensor, PSRAM, Antenna
Click to Enlarge

The naming convention is fairly easy to figure out with “R” being for WROVER module (PSRAM) and “M” for WROOM module. If “S” is present that means all three sensors are included and adding “I” means you’ll get an external IPEX antenna instead of an on-board PCB antenna.

Cucumber ESP32-S2 Pinout Diagram
Click to Enlarge

The board can be programmed with ESP-IDF framework, and it’s also possible to use it with the recently announced ESP RainMaker providing easy access to sensor data and I/Os within an Android or iOS mobile app. bellmustachecat explains how to get started with ESP-IDF and sensors on Medium (Thai language, but screenshots in English).  The company ported Arduino Core for ESP32 to the board with the code available on Github.

Cucumber development board is sold worldwide on for $13.75 to $21.25 plus shipping. If you are based in Thailand, you should probably purchase it from GravitechThai instead.

Share this:

Support CNX Software! Donate via cryptocurrencies or become a Patron on Patreon

ROCK Pi 4C Plus
Notify of
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
Weller PCB manufacturer