-
Notifications
You must be signed in to change notification settings - Fork 472
00 Terminal
The ESP32 Bit Pirate firmware supports three main modes of interaction:
- 🖥️ Serial CLI – Connect over USB to send commands via a terminal.
- 🌐 Web CLI – Access the browser-based interface through an existing Wi-Fi network or the device hotspot.
- 📟 Standalone – On-device screen and keyboard, only for the Cardputer.
All modes offer the same commands and features, but their setup differs depending on your device.
The Web Serial Terminal provides direct access to the Serial CLI from a compatible browser, without installing PuTTY, minicom, or another terminal application.
The terminal communicates directly with the device through USB and behaves like a regular serial terminal, with support for interactive commands, keyboard shortcuts, copy and paste, and ANSI terminal output.
Since the M5Stick has no built-in keyboard, you must:
- Connect to the device via Serial or Wi-Fi HotSpot (see Serial).
- Select WiFi mode and use the
connectcommand to join your Wi-Fi. - Restart the device and select WiFi Connect to use the browser-based CLI.

The M5Stack Cardputer includes a built-in keyboard and a screen, so:
- Choose Standalone mode to use it on its own, with no connection or Serial terminal required.
- Use
arrows up/downto scroll,escto scroll line by line andtabto restore previous commands. - Enter your Wi-Fi credentials directly on the device for WiFi Connect.
- Select WiFi Hotspot to create a direct Wi-Fi network for the Web CLI.
- You can also use a normal Serial connection.

These devices have no built-in screen or keyboard, so initial Wi-Fi setup must be done via Serial or WI-Fi Hotspot.
After reset, press the board button within 3 seconds:
- Short press = WiFi Connect
- Hold press = WiFi Hotspot
WiFi Connect uses the saved network credentials. WiFi Hotspot creates a direct network for the Web CLI without requiring an existing Wi-Fi network.
- 🔵 Blue – No saved Wi-Fi credentials.
- ⚪ White – Connecting.
- 🟢 Green – Connected, open the Web CLI.
- 🔴 Red – Connection failed.
⚠️ Important:
Do not hold the BOOT button while powering the device, or it may enter USB bootloader mode.
If WiFi Connect fails, use WiFi Hotspot or reconnect through Serial and run mode wifi then connect.

- Power the device and select WiFi Connect or WiFi Hotspot.
- For WiFi Connect, select your network and enter the password with the encoder.
- Open the Web CLI address shown on the screen.

- Power the device and select WiFi Connect or WiFi Hotspot.
- For WiFi Connect, select your network and enter the password with the buttons.
- Open the Web CLI address shown on the screen.
If WiFi Connect fails, use WiFi Hotspot or reconnect through Serial and run mode wifi then connect.
See the dedicated page about Serial.
For example, using a Wi-Fi disconnect command will close the Web CLI, while some USB commands will end the USB Serial connection.
💡 For features that generate a large amount of output, such as 1-Wire or I2C sniffers, use the Serial CLI to avoid missing data.
⚠️ Voltage Warning: Devices should only operate at 3.3V or 5V.
Do not connect peripherals using other voltage levels — doing so may damage your ESP32.