

The Cardputer by M5Stack is a compact computing device that integrates a microcontroller and various peripherals into a single, card-sized form factor. Designed for embedded systems and IoT applications, the Cardputer offers a versatile platform for developers to create innovative solutions. Its small size, combined with powerful features, makes it ideal for portable devices, smart home systems, industrial automation, and rapid prototyping.








The Cardputer is equipped with a range of features to support diverse applications. Below are its key technical specifications:
| Feature | Specification |
|---|---|
| Microcontroller | ESP32 (dual-core, 240 MHz) |
| Flash Memory | 16 MB |
| RAM | 8 MB |
| Display | 1.14-inch TFT LCD (135x240 resolution) |
| Connectivity | Wi-Fi 802.11 b/g/n, Bluetooth 4.2 |
| Power Supply | 3.7V LiPo battery or USB-C (5V) |
| Dimensions | 85mm x 54mm x 6mm |
The Cardputer features a GPIO header for external connections. Below is the pinout and description:
| Pin Number | Pin Name | Function |
|---|---|---|
| 1 | GND | Ground |
| 2 | 3V3 | 3.3V Power Output |
| 3 | GPIO21 | I2C SDA / General Purpose I/O |
| 4 | GPIO22 | I2C SCL / General Purpose I/O |
| 5 | GPIO23 | SPI MOSI / General Purpose I/O |
| 6 | GPIO19 | SPI MISO / General Purpose I/O |
| 7 | GPIO18 | SPI SCK / General Purpose I/O |
| 8 | GPIO5 | PWM / General Purpose I/O |
| 9 | GPIO16 | UART RX / General Purpose I/O |
| 10 | GPIO17 | UART TX / General Purpose I/O |
The Cardputer can communicate with an Arduino UNO via UART. Below is an example Arduino sketch to send data to the Cardputer:
// Example Arduino code to send data to the Cardputer via UART
void setup() {
Serial.begin(115200); // Initialize serial communication at 115200 baud
delay(1000); // Wait for the Cardputer to initialize
}
void loop() {
Serial.println("Hello, Cardputer!"); // Send a message to the Cardputer
delay(1000); // Wait 1 second before sending again
}
Cardputer Not Powering On:
Unable to Upload Code:
Wi-Fi or Bluetooth Not Working:
Peripherals Not Responding:
Q: Can the Cardputer be powered directly from a 5V source?
A: Yes, the Cardputer can be powered via the USB-C port using a 5V source.
Q: Is the Cardputer compatible with MicroPython?
A: Yes, the Cardputer supports MicroPython, making it a versatile choice for developers.
Q: What is the maximum current output of the 3.3V pin?
A: The 3.3V pin can supply up to 500mA, depending on the power source.
Q: Can I use the Cardputer for battery-powered applications?
A: Yes, the Cardputer is designed for battery-powered applications and includes a LiPo battery connector.
By following this documentation, you can effectively integrate the Cardputer into your projects and troubleshoot common issues with ease.