← All machines

The Card Machine.

A little vending machine for your greeting cards. It uses a Seeed XIAO ESP32C3 microcontroller to run the PopVend firmware, and it can accept payments via Trigr QR codes.

3D-printedXIAO ESP32C3Wi-Fi + Trigr QR payments
Card Machine NO. 002
PopVend Card Machine
Card Machine

01 / Print it

Print it

Print the parts for your machine.

Download print files

Parts to Print

Expand to load the STL parts for this machine.

02 / Build it

Build it

Follow the build video, then bring your assembled machine back here for firmware and setup.

Watch the build video

Resources coming soon.

Materials Needed

Expand to load the materials and tools for this machine.

Choose your firmware method

Arduino IDE

Upload the Firmware Yourself

Checking firmware source on GitHub…

Need the editor? Get Arduino IDE ↗

  1. Install the required libraries.

    Open Tools → Manage Libraries. Install these and their required dependencies:

    • ArduinoWebsocketsby Gil Maimon
    • ArduinoJsonselect version 7.x
    • ESP32Servo
    • Adafruit SSD1306
    • Adafruit GFX Library
  2. Upload the firmware.

    Download the matching firmware folder from GitHub and open the .ino sketch. Keep its supporting files together; let the IDE create a matching folder if asked.

    In Boards Manager, install esp32 by Espressif Systems. Missing? Use Seeed’s board setup guide ↗.

    Plug in the board. Select XIAO_ESP32C3 and its port. Set Tools → USB CDC On Boot → Enabled.

    Keep the machine idle and close other serial apps. Click Upload → and leave USB connected until it finishes.

Still tinkering with this one. Web Serial is experimental. If it gets stuck, try Arduino IDE.

Close Arduino Serial Monitor and any other app using the board.

Upload straight from here

You can use this tool to upload firmware directly from your browser, no need to install Arduino IDE.

Use desktop Chrome or Edge.

Let’s load the firmware.

Keep your board plugged in until the upload is complete.

The recommended release is selected for you.