Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Cardputer: Examples, Pinouts, and Specs

Image of Cardputer
Cirkit Designer LogoDesign with Cardputer in Cirkit Designer

Introduction

The Cardputer by M5Stack is a compact computing device that integrates a microcontroller with various input/output (I/O) interfaces. Designed for embedded applications, the Cardputer is ideal for portable or low-power scenarios. Its small form factor and versatile functionality make it a popular choice for developers working on IoT, robotics, and other embedded systems projects.

Explore Projects Built with Cardputer

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino UNO-Based Card Counter with IR Sensor and LCD Display
Image of card counter: A project utilizing Cardputer in a practical application
This circuit is a card counting system that uses an Arduino UNO to control two motors via an L298N motor driver, an IR sensor to detect cards, and an I2C LCD to display the count. The system includes pushbuttons for power, start/stop, and reset functions, and is powered by a 12V battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Multifunctional Security System with RFID and Fingerprint Authentication
Image of Research Internal Design: A project utilizing Cardputer in a practical application
This circuit features an Arduino UNO microcontroller interfaced with multiple peripheral devices for data collection and user interaction. It includes an RFID-RC522 module for RFID communication, a Micro SD Card Module for data storage, a fingerprint scanner for biometric input, and an LCD display for user feedback. Additional components include a piezo buzzer for audio signaling, a potentiometer for analog input, and an LED with a current-limiting resistor for visual indication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Access Control System with Data Logging
Image of Research Internal Design (2): A project utilizing Cardputer in a practical application
This circuit features an Arduino UNO microcontroller as the central processing unit, interfacing with a variety of peripherals. It includes a red LED, a buzzer, an I2C LCD screen, a fingerprint scanner, a thermal printer, a real-time clock (RTC) module, and a micro SD card module. The Arduino controls these components to create a multifunctional system capable of user interaction, data logging, timekeeping, and biometric input processing.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Mega 2560-Based Access Control Panel with RFID and Keypad
Image of Expo Project Wire Diagram: A project utilizing Cardputer in a practical application
This circuit is designed to interact with users through a keypad and display information on an LCD screen, control two stepper motors, read RFID tags, and provide audio feedback with a buzzer. It is powered by a breadboard power supply module and the contrast of the LCD can be adjusted with a potentiometer. The Arduino Mega 2560 serves as the central controller, although the user code for operation is not yet provided.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Cardputer

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of card counter: A project utilizing Cardputer in a practical application
Arduino UNO-Based Card Counter with IR Sensor and LCD Display
This circuit is a card counting system that uses an Arduino UNO to control two motors via an L298N motor driver, an IR sensor to detect cards, and an I2C LCD to display the count. The system includes pushbuttons for power, start/stop, and reset functions, and is powered by a 12V battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Research Internal Design: A project utilizing Cardputer in a practical application
Arduino UNO-Based Multifunctional Security System with RFID and Fingerprint Authentication
This circuit features an Arduino UNO microcontroller interfaced with multiple peripheral devices for data collection and user interaction. It includes an RFID-RC522 module for RFID communication, a Micro SD Card Module for data storage, a fingerprint scanner for biometric input, and an LCD display for user feedback. Additional components include a piezo buzzer for audio signaling, a potentiometer for analog input, and an LED with a current-limiting resistor for visual indication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Research Internal Design (2): A project utilizing Cardputer in a practical application
Arduino UNO-Based Access Control System with Data Logging
This circuit features an Arduino UNO microcontroller as the central processing unit, interfacing with a variety of peripherals. It includes a red LED, a buzzer, an I2C LCD screen, a fingerprint scanner, a thermal printer, a real-time clock (RTC) module, and a micro SD card module. The Arduino controls these components to create a multifunctional system capable of user interaction, data logging, timekeeping, and biometric input processing.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Expo Project Wire Diagram: A project utilizing Cardputer in a practical application
Arduino Mega 2560-Based Access Control Panel with RFID and Keypad
This circuit is designed to interact with users through a keypad and display information on an LCD screen, control two stepper motors, read RFID tags, and provide audio feedback with a buzzer. It is powered by a breadboard power supply module and the contrast of the LCD can be adjusted with a potentiometer. The Arduino Mega 2560 serves as the central controller, although the user code for operation is not yet provided.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Portable IoT devices
  • Data logging and monitoring
  • Wearable technology
  • Robotics control systems
  • Educational projects and prototyping
  • Low-power computing applications

Technical Specifications

The Cardputer is built to provide robust performance in a compact package. Below are its key technical specifications:

General Specifications

Parameter Value
Microcontroller ESP32 (dual-core, 240 MHz)
Flash Memory 16 MB
RAM 8 MB
Power Supply Voltage 3.7V (via LiPo battery) or 5V (via USB-C)
Display 1.14-inch TFT LCD (135x240 resolution)
Connectivity Wi-Fi 802.11 b/g/n, Bluetooth 4.2
Dimensions 54 x 86 x 6 mm
Weight 30 g

Pin Configuration and Descriptions

The Cardputer features a set of GPIO pins and other interfaces for connecting peripherals. Below is the pinout description:

Pin Name Type Description
GND Power Ground pin
3V3 Power 3.3V power output
GPIO0 Digital I/O General-purpose input/output
GPIO1 Digital I/O General-purpose input/output
GPIO2 Digital I/O General-purpose input/output
TX UART Output UART transmit pin
RX UART Input UART receive pin
I2C_SCL I2C Clock I2C clock line
I2C_SDA I2C Data I2C data line
SPI_MOSI SPI Output SPI master-out, slave-in
SPI_MISO SPI Input SPI master-in, slave-out
SPI_CLK SPI Clock SPI clock line
SPI_CS SPI Select SPI chip select

Usage Instructions

The Cardputer is designed to be user-friendly and versatile. Follow these steps to use it effectively in your projects:

Basic Setup

  1. Powering the Device:

    • Connect the Cardputer to a USB-C cable for power and programming.
    • Alternatively, use a 3.7V LiPo battery for portable applications.
  2. Programming the Cardputer:

    • Install the Arduino IDE or PlatformIO on your computer.
    • Add the ESP32 board support package to your IDE.
    • Select the appropriate board and port in the IDE settings.
  3. Connecting Peripherals:

    • Use the GPIO pins to connect sensors, actuators, or other devices.
    • Ensure proper voltage levels to avoid damaging the Cardputer.

Example: Blinking an LED

Here’s a simple example of how to blink an LED using the Cardputer and Arduino IDE:

// Define the GPIO pin connected to the LED
const int ledPin = GPIO2; // Use GPIO2 for the LED

void setup() {
  // Set the LED pin as an output
  pinMode(ledPin, OUTPUT);
}

void loop() {
  // Turn the LED on
  digitalWrite(ledPin, HIGH);
  delay(1000); // Wait for 1 second

  // Turn the LED off
  digitalWrite(ledPin, LOW);
  delay(1000); // Wait for 1 second
}

Important Considerations

  • Power Supply: Ensure the power source provides sufficient current (at least 500 mA).
  • Pin Voltage Levels: The GPIO pins operate at 3.3V. Avoid applying higher voltages.
  • Heat Management: While the Cardputer is efficient, prolonged high-load operations may cause slight heating. Ensure proper ventilation if used in enclosed spaces.

Troubleshooting and FAQs

Common Issues and Solutions

  1. The Cardputer is not detected by the computer:

    • Ensure the USB-C cable is a data cable, not just a charging cable.
    • Check that the correct COM port is selected in the IDE.
    • Install the necessary USB drivers for the ESP32.
  2. The program does not upload to the Cardputer:

    • Press and hold the "Boot" button on the Cardputer while uploading the code.
    • Verify that the correct board and port are selected in the IDE.
  3. Wi-Fi or Bluetooth is not working:

    • Ensure the correct credentials or pairing settings are used.
    • Check for interference from other devices.
  4. The device is overheating:

    • Reduce the processing load or add a heat sink if necessary.
    • Ensure the device is not exposed to high ambient temperatures.

FAQs

Q: Can I use the Cardputer with MicroPython?
A: Yes, the Cardputer supports MicroPython. You can flash the MicroPython firmware and use it for development.

Q: What is the maximum current output of the 3V3 pin?
A: The 3V3 pin can supply up to 500 mA, depending on the power source.

Q: Can I connect the Cardputer to an external display?
A: Yes, the Cardputer supports external displays via SPI or I2C interfaces.

Q: Is the Cardputer compatible with Arduino shields?
A: No, the Cardputer does not have a standard Arduino shield form factor. However, you can connect peripherals using jumper wires.

By following this documentation, you can effectively integrate the Cardputer into your projects and troubleshoot common issues. Happy building!