XinaBox CW02
by XinaBox
ESP32 module in XinaBox ecosystem - snap-together IoT board for rapid, solderless prototyping.

On this page
Pinout
9 pins| Pin | GPIO | Labels | Status | Capabilities | Notes |
|---|---|---|---|---|---|
| 1 | 1 | TXPWM | uart | uart | |
| 2 | 3 | RXPWM | uart | uart | |
| 3 | 5 | SSPWM | strapping | spi | |
| 4 | 18 | SCKPWM | safe | spi | |
| 5 | 19 | MISOPWM | safe | spi | |
| 6 | 21 | SDAPWM | safe | i2c | |
| 7 | 22 | SCLPWM | safe | i2c | |
| 8 | 23 | MOSIPWM | safe | spi | |
| 9 | 27 | LED_BUILTINPWM | safe | - |
Start with these
6 pins with no boot or system involvementFreely assignable - no strapping, flash, USB or JTAG duties. Ideal first picks for buttons, sensors and LEDs.
Fine - with a little care
sampled at boot or shared with debug/serial| Pin | Label | What to know | Role |
|---|---|---|---|
| SS | GPIO5 | Must be HIGH during boot; if pulled LOW at reset, alters SDIO slave timing and may prevent normal boot. | Strapping |
Only if you know the tricks
wired to flash or USB - expect a fight| Pin | Label | What to know | Role |
|---|---|---|---|
| TX | U0TXD (GPIO1) | Connected to on-board USB-UART for uploading and logs; drives serial output at boot, so using as GPIO can disrupt programming or console. | USB |
| RX | U0RXD (GPIO3) | Used for receiving data from USB-UART (programming); also pulled HIGH at boot for console communication, so using as GPIO can disrupt uploads. | USB |
Pinout notes The XinaBox CW02 pinout brings out 9 GPIO pins - every one of them usable in your project. For peripherals, I²C is mapped to SDA on GPIO21 and SCL on GPIO22;…
The XinaBox CW02 pinout brings out 9 GPIO pins - every one of them usable in your project.
For peripherals, I²C is mapped to SDA on GPIO21 and SCL on GPIO22; the SPI bus (MOSI, MISO, SCK, SS) is broken out in full; TX/RX on GPIO1 and GPIO3 cover serial logging and flashing.
If you want zero surprises, SCK, MISO, SDA, SCL and 2 more are free of any such role - the safest first picks. 1 of the exposed pins carry boot-time or system duties on the ESP32 (SS).
Getting started
flash your first firmware in ~2 minutesBoard: ESP32 Dev Module Flash Size: 4MB (32Mb) Flash Mode: DIO Partition Scheme: Default 4MB with spiffs (1.2MB APP / 1.5MB SPIFFS) Upload Speed: 921600
// blink the onboard LED
void setup() {
pinMode(18, OUTPUT);
}
void loop() {
digitalWrite(18, HIGH); delay(500);
digitalWrite(18, LOW); delay(500);
}[env:cw02]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_speed = 921600esp32dev — or type it after board =.esp32:
board: esp32dev
variant: xinabox
framework:
type: esp-idf
# blink - GPIO18
output:
- platform: gpio
pin: 18
id: led_out
light:
- platform: binary
name: "LED"
output: led_outesp32dev (same ids as PlatformIO).esptool.py --chip esp32 --port /dev/ttyACM0 \
--baud 921600 write_flash 0x0 firmware.bin--port = your /dev/tty* (macOS/Linux) or COMx (Windows).Specifications
ESP32 · 32 × 32 mmAbout this board
At its core is the ESP32 - a dual-core Xtensa with both Bluetooth Classic and BLE.
Only 9 GPIO are broken out, where most ESP32 boards manage about 24 - worth checking the pinout covers what you need.
- xChip form factor with three xBUS snap-together connectors (solderless I2C)
- No onboard USB - powered and flashed through a separate USB xChip such as the IP01 (FT232R)
- Part of the XinaBox modular xChip ecosystem
- Onboard LED on GPIO27
Resources
Similar boards



