Skip to the content
2 layersCalculator, the printed circuit board in 3D

This is a button matrix schematic that uses RP2040 to connect to GPIO pins in an efficient manner.

Copper layers
2
Thickness
1.6 mm
Parts
57
Nets
79
Pads
248
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 8.0 (file 20240108)
Created
23 Aug 2024
Updated
4 Sep 2024

Overview

Calculator is an open-source printed circuit board by JubilantMarmot, from the JubilantMarmot/HC-pcbcalc repository on GitHub. It is a 2-layer board with 57 parts on 79 nets.

It is built around the RP2040 and ABM8-272-T3. Its parts include 25 switches, 24 diodes, 3 resistors, 2 capacitors and 1 IC. It belongs with the RP2040 boards of this library.

Main components

2

README

README.md

Button Matrix & Calculator Firmware

This is a button matrix schematic that uses RP2040 to connect to GPIO pins in an efficient manner.

As an example, I also implemented a calculator with Reverse Polish Notation (RPN) using the GPIO pins.

I originally was going to make this into an actual project, but I failed with the schematic as I am not experienced enough. Nevertheless, this is done really well and the button matrix can be easily copy-pasted into your project..

The code is in the firmware folder and has a really good example of how to use those GPIO pins in something like a calculator. I added arithmetic operations and basic functions such as sin cos and tan.

Images

Parts

57
QtyValueFootprintReferences
24DDiode_SMD:D_0201_0603MetricD1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +8
24SW_MEC_5GButton_Switch_SMD:SW_DIP_SPSTx01_Slide_6.7x4.1mm_W6.73mm_P2.54mm_LowProfile_JPinSW2, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23, SW24 +8
215pFCapacitor_SMD:C_0201_0603MetricC1, C2
110kConnector_USB:USB_A_Stewart_SS-52100-001_HorizontalR1
11KConnector_USB:USB_A_Molex_48037-2200_HorizontalR3
1ABM8-272-T3custom:ABM8-272-T3_ABRX1
1RConnector_USB:USB_A_Molex_105057_VerticalR2
1RP2040Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mmU1
1SW_PushButton_Switch_SMD:SW_DIP_SPSTx01_Slide_6.7x4.1mm_W6.73mm_P2.54mm_LowProfile_JPinSW1
1USB_AConnector_USB:USB_A_Receptacle_GCT_USB1046J1

Similar boards

  • 4 layers70 × 72 mmSPINC AA Charger, the printed circuit board in 3D

    SPINC AA Charger

    CoretechR/SPINC

    DIY Automatic Battery Charger Using RP2040

    101 parts467GPL-3.0
  • 4 layers86 × 34 mmBsl drv v1, the printed circuit board in 3D

    Bsl drv v1

    jackw01/scanlight

    A better light source for scanning color negative film

    157 parts397CERN-OHL-W-2.0
  • 4 layers125.7 × 76.5 mmUGC Main R4K, the printed circuit board in 3D

    UGC Main R4K

    HandHeldLegend/GC-Ultimate

    The 3D shell, buttons, and other associated models are licensed under a Creative Commons Attribution 4.0 International License .

    168 parts62
  • 2 layers64 × 21.6 mmGamepad, the printed circuit board in 3D

    Gamepad

    CoretechR/DIY-Portrait-Mode-Gamepad

    A USB-C Gamepad for Portrait-Mode

    53 parts60GPL-3.0
  • 4 layers145 × 57 mmX1-expander, the printed circuit board in 3D

    X1-expander

    jwise/x1-expander

    Expander board for Bambu Lab X1 Carbon

    150 parts50
  • 4 layers277.2 × 107.5 mmKatia, the printed circuit board in 3D

    Katia

    ikajdan/katia

    A split keyboard with 6 by 3 column staggered keys and 3 thumb keys, based on the Crkbrd design

    230 parts33CERN-OHL-P-2.0
  • 4 layers51.8 × 20 mmSample target, the printed circuit board in 3D

    Sample target

    alvarop/swd2usbc

    Have you ever wanted to debug your device over USB-C? Sometimes there's not enough room for a JTAG/SWD connector, or even Tag-Connect pads!

    57 parts29CC0-1.0
  • 2 layers151 × 98 mmJolt2-left, the printed circuit board in 3D

    Jolt2-left

    tangybbq/keyboard

    Design files for my keyboards

    65 parts21

Questions

What parts does the Calculator use?

57 parts, built around the RP2040 and ABM8-272-T3. 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 Calculator KiCad files?

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

Can I use the Calculator design in my own project?

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