Skip to the content
2 layers35 × 65 mmPomodoro button, the printed circuit board in 3D

A hobby electronics project

Size
35 × 65 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
10
Pads
42
Tracks, vias
36, 0
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
26 Aug 2022
Updated
26 Aug 2022

Overview

Pomodoro button is an open-source printed circuit board by duallain, from the duallain/pomodoro_clock_project repository on GitHub, published under the MIT licence. It is a 2-layer board of 35 × 65 mm with 14 parts on 10 nets, routed with 36 tracks and 0 vias.

Its parts include 4 resistors, 4 switches and 2 connectors.

README

README.md

pomodoro_clock_project

A hobby electronics project

General info

Pomodoros are a technique for trying to stay productive throught the day. You work for a bit, then take a break, alternate back and forth between those two, then take a longer break. I find it helpful to get focus during the work time, but not completely tire myself out. I couldn't find a physical clock I loved, and the 7 segment displays are so cool, I decided to try and build my own. And it seemed to turn out ok :)

button pcb

I ended up having quite a bit of trouble assembling a nice button layout on protoboards, so ended up buying 3 of the boards from osh park. The kicad files are all included in button_pcb, feel free to get some of your own manufactered.

the case

There's a case for everything I modeled with onshape, link in the readme in case_model. Also included the stl. It's not the most efficent case, but it holds the display at a nice angle, gives space for the buttons to come throw, and they can be clicked, and hides all the wires and such. This will take a good minute to print, and I found the best orientation was the top (with the button holes) down against build plate, with supports for the display.

Assembly

solder headers to pi pico

Solder the headers to the pi pico, I went 'backwards', putting the long parts facing towards the labeled side of the pico, it makes hitting the bootsel button harder, but easier to assemble later. I soldered both rows, but didn't add the headers to the 3 debug pins on the short ends.

This article has tons of good info, and there's lots of videos showing how to do it, but essentially solder the male headers, short end through the board. https://magpi.raspberrypi.com/articles/how-to-solder-gpio-pin-headers-to-raspberry-pi-pico (I use the breadboard method and it works wonderfully.)

I highly recommend having the pin out somewhere handy, either printed out or up on a computer. https://datasheets.raspberrypi.com/pico/Pico-R3-A4-Pinout.pdf

assemble the 7 segment display

Follow this guide, https://learn.adafruit.com/adafruit-led-backpack/1-2-inch-7-segment-backpack-assembly

You essentially put the backpack and display together, solder all the legs, then put in a 1x5 header, solder that in and you're done.

assemble the buttons

if you have the pcb assembly is really straight forward. On the labled side you'll snap the buttons into place. There are 4 through holes per button, plus two alignment holes. Solder those in place. I found that snapping the buttons in worked great, they have plenty of strength to be flipped over and soldered. Orientation doesn't matter, they're symmetrical. You likely don't need to clip the leads, but can if you wish. Then add the resistors. You should put these all on the non-labeled side. Solder then clip. Orientation doesn't matter here either. Add the two headers, long side on the same side as the resistors (the 'bottom' of the pcb). the short bit should be on the same side as the buttons.

the case

I used m2 screws everywhere, m2x12 to be exact, and washers and nuts. That worked for mounting both the button pcb and the display. I did this before continuing. You push the screw through the front, then put a washer/nut on it. Hold the nut with your finger, then turn the screw a bit. Do this for all 4 bolts, then go around again and tighten everything. I had to hold the nuts with a pair of needle nose pliers, but if you had a tiny little 2 mm socket that'd be ideal.

connecting things together

You can change pins if you wish, you'll just need to change the code.

You can pre make the cables, the 6 strand one is for button to pi. 5 strand is for display to pi. I'll label how many of the headers to use in each connection, but it's asymmetric, so be careful here. This is basically to save us from having to make a 2nd pcb to group pi pins together like we need.

Make all of these connections:

button pcb 1x2 header -> (with the 6 strand cable) 1 1x2 header to 2 1x1 headers -> 3.3v and gnd (GPIO 37/33). The square pad on the button pcb is the power, use a nice bright color button pcb 1x4 header -> (with the 6 strand cable) 1 1x4 header to 1 1x4 header -> any 4 gpio in a row (gpio10-13). You may need to change pins in the code, but any 4 gpio work. To use current code, and get buttons left to right as start/stop/reset/next, connect the square pad to gpio 10.

7 seg display 1x5 header -> (with 5 strand cable) 1 1x5 header to 1x3 and 1x2 -> 1x2 header to gp 21 and 20, the scl pin on the display goes to gp21, while sda goes to gp20. 1x3 connects to vbus/vsys/ground, gound is labeled on the display, and the +5v/v_io connect to the other two pins. Doesn't really matter which, but since they're in a row there's really only one way for it to all connect.

programming

I used arduino ide 2.x, installed the libraries called for in the code, and then plugged in the pi pico to my computer while holding the bootsel. Click upload and it should (if everything goes well) just work. The display should be on, with the time for the first pomodoro. Click start to start counting down. Stop to stop. Reset to start from the existing timer, and next to go to the next timer. The buttons are in that order left to right while you're looking at the display.

Parts

14
QtyValueFootprintReferences
41000Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2, R3, R4
4SW_MEC_5Eb3f-4050:SW_B3F-4050SW1, SW2, SW3, SW4
1Conn_01x02_MaleConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1
1Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2

The 10 most common of 14 parts.

Similar boards

  • 2 layers116.8 × 30 mmType d, the printed circuit board in 3D

    Type d

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    14 parts3kApache-2.0
  • 2 layers32 × 22 mmDiff driver, the printed circuit board in 3D

    Diff driver

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    14 parts990GPL-3.0
  • 2 layers34 × 45 mm2032Charger, the printed circuit board in 3D

    2032Charger

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    14 parts915
  • 2 layers34 × 109.9 mmTdisplay s3, the printed circuit board in 3D

    Tdisplay s3

    landonr/homeThing

    Wifi Smart Home Remotes that run on ESPHome

    14 parts551GPL-3.0
  • 2 layers45.3 × 42.7 mmMainPcb, the printed circuit board in 3D

    MainPcb

    adamb314/ServoProject

    Getting the most out of your hobby servo

    14 parts545
  • 2 layers42.5 × 28.8 mmC5VRX JACK DIY, the printed circuit board in 3D

    C5VRX JACK DIY

    Twotoz/C5VRX

    Ultra-minimal, zero-CPU 5.8 GHz analog FPV video receiver using ESP32-C5 Wi-Fi 6 PHY MODEM_DIAG, BitScrambler WBFM demodulation & resistor DAC CVBS

    14 parts515GPL-3.0
  • 2 layers62 × 24 mmMai button, the printed circuit board in 3D

    Mai button

    whowechina/mai_pico

    Pico controller for Maimai

    14 parts475

Questions

How big is the Pomodoro button PCB?

It measures 35 × 65 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Pomodoro button use?

14 parts. 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 Pomodoro button KiCad files?

From the duallain/pomodoro_clock_project repository on GitHub, at the commit this page was made from: the board is button_pcb/pomodoro-button.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Pomodoro button design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).