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.
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.
- 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
- 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
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.
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.