Skip to the content
2 layers62 × 67 mmCarpet, the printed circuit board in 3D

A Macropad, that drives like a car?????

Size
62 × 67 mm
Copper layers
2
Thickness
1.6 mm
Parts
16
Nets
32
Pads
91
Tracks, vias
129, 120
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
2 May 2026
Updated
27 Jun 2026

Overview

Carpet is an open-source printed circuit board by Taran-the-Idiot, from the Taran-the-Idiot/carpet repository on GitHub. It is a 2-layer board of 62 × 67 mm with 16 parts on 32 nets, routed with 129 tracks and 120 vias.

It is built around the L293D. Its parts include 6 diodes, 6 switches and 1 IC. It belongs with the keyboards and input boards of this library.

Main components

1

README

README.md

image

Driving Macropad

What if you had a macropad, that drives????

This is your average macropad by day but with the push of a button it turns into a toy car you can drive around on your desk. It has 4 cherry MX switches and 2 EC11 rotary encoders. For the drive motors it uses 2 N20 motors

It runs off a custom made RP2040 dev board and uses kmk firmware.

PCB/Electronics

imge

Schematic

image

This board runs on a custom devboard that was built for this use case that required smaller packaging.

The motors used for the drive system are N20 motors and they are powered using the L293D motor controlelr.

For the macropad side of things, this board uses a 2x3 matrix with 4 MX keys and 2 encoders.

In order to preserve size and packaging, a choice was made to avoid using a battery and instead the pad is run off of cable power direct from usb.

PCB Top Side

image

PCB Bottom Side

image

CAD

image

CAD Was made in Shapr3d. It is your basic macropad case but also includes 2 wheels that go directly on the motor shafts and are lined with TPU treads for grip.

The 2 holes on the top of the case exist for the purpose of being able to reach the boot and reset buttons on the microcontroller without having to break open the case.

There are 2 fake wheels on the lower section that exist for the purpose of reducing friction between the pad and the desk due to the lower surface area.

STLs for printing can be found at the Production/Prints directory.
A STEP assembly for editing can be found at the CAD directory

Firmware

This board uses KMK as the driving software for its functionality.

The board has 5 layers in the following format:

  • Layer Swap - Used to pick the layer you wish to use
  • Audio/Music Control - Used to control your music player
  • Keyboard Commands - Commonly used keyboard commands
  • Page Controls - Keyboard commands to open/close web pages
  • Drive Control - Control how the pad drives

On the driving aspect, you can call the following functions in order to allow the pad to drive:

forward() - Move the pad forward
backward() - Move the pad backward
turn_right() - Turn the pad right
turn_left() - Turn the pad left
stop() - Stops both motors

Currently the functions are not tuned to specific degree turns or specific distances.
However that would more than likely depend and differ between builds so I recommend tuning them yourself anyways to get the desired outcomes.

BOM

ItemCount/packQTY neededPacksCost(AUD)Shipping(AUD)Total(AUD)Total(USD)LinkNotes
PCB5114.272.16.374.54JLCpcb.com
Switches10414.7504.75source
EC11 encoder5216.2606.26source
Taranium-RP2040111N/aN/aN/aN/asourceNot Commercially available
N20 Motors1223.2706.54source
M3X5X4 Heatset Inserts50813.6103.61source
L293D5113.5903.59source
M3x16mm Screw50213.2203.22source
M3x25mm Screw5021404source
M3x6mm Screws50412.5502.55source
3D Printed Parts13N/AN/AYOUR PRINTERCost depends on filament used.
Total40.8929.2993206

Parts

16
QtyValueFootprintReferences
6D_SmallDiode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2, D3, D4, D5, D6
4SW_PushTaranium-libs:SW_Cherry_MX_1.00u_PCBSW3, SW4, SW5, SW6
2Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalM1, M2
2RotaryEncoder_SwitchRotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mmSW1, SW2
1L293DPackage_DIP:DIP-16_W7.62mmU1
1~Taranium-libs:Taranium_PicoPico1

Similar boards

  • 2 layers178 × 145 mmUltra DB X51 v1, the printed circuit board in 3D

    Ultra DB X51 v1

    ExploreEmbedded/8051_DevelopmentBoard

    Design files and sample code for 8051 development Ultra Boards

    145 parts70
  • 2 layers84.3 × 58.4 mmEnocderDriver, the printed circuit board in 3D

    EnocderDriver

    NikodemBartnik/Small-Projects

    All of smaller projects (Arduino, PCBs, electronics, code)

    35 parts55
  • 2 layers56.4 × 72.6 mmRas pi hat, the printed circuit board in 3D

    Ras pi hat

    geno543/Redropi_highway

    the project aims to detect asteroids and meteor movement using high-quality cameras and radar detection methods using an AI model for accurate analysis, and it classifies bodies be in three categories: non-meteor…

    8 parts13
  • 2 layers87.5 × 70 mmLaberinto, the printed circuit board in 3D

    Laberinto

    CRM-UAM/CRMaze

    Open source robot for maze solving + line following

    34 parts12
  • 2 layers92.5 × 62.5 mmDropGenPCB, the printed circuit board in 3D

    DropGenPCB

    harrislab-brown/DropGen

    DropGen uses a fluid reservoir and a piezoelectric buzzer to precisely and repeatably dispense small droplets on demand.

    25 parts12CC-BY-SA-4.0
  • 2 layers47.5 × 49.5 mmElectronic, the printed circuit board in 3D

    Electronic

    zosko/magspoof

    Magspoof with Arduino Pro Micro

    5 parts11
  • 2 layers120.7 × 184.1 mmBeachRover circuit, the printed circuit board in 3D

    BeachRover circuit

    wizardofrobots/roverCode

    Jetson Nano powered Arduino Rover

    11 parts10
  • 2 layers90 × 53.4 mmOpenOx, the printed circuit board in 3D

    OpenOx

    hacklabkyiv/openox-pcb

    PCB design for OpenOx - open source oxygen concentrator

    43 parts7GPL-3.0

Questions

How big is the Carpet PCB?

It measures 62 × 67 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Carpet use?

16 parts, built around the L293D. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Carpet KiCad files?

From the Taran-the-Idiot/carpet repository on GitHub, at the commit this page was made from: the board is PCB/PCB.kicad_pcb and its schematic PCB/PCB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Carpet design in my own project?

Its repository states no licence, so its author keeps all rights: ask Taran-the-Idiot before reusing the design.