Skip to the content
2 layers139.8 × 86.5 mmAdvent calendar, the printed circuit board in 3D

After opening Thonny, go to Run -> Configure Interpreter From the Interpreter Menu Select MicroPython (Raspberry Pi Pico) and click on Install or update MicroPython Copy the following settings to install the Pi Pico…

Size
139.8 × 86.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
108
Nets
74
Pads
224
Tracks, vias
331, 0
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
31 Oct 2024
Updated
23 Jan 2025

Overview

Advent calendar is an open-source printed circuit board by KylerM-23, from the KylerM-23/Pico-Advent-Calendar repository on GitHub. It is a 2-layer board of 139.8 × 86.5 mm with 108 parts on 74 nets, routed with 331 tracks and 0 vias.

It is built around the B3F-4055 and PT01-D125D-B103. Its parts include 18 resistors, 11 diodes, 9 connectors, 6 switches and 3 ICs.

Main components

2

README

README.md

Pico-Advent-Calendar

Introduction

The 25 Days of Makermas is a Raspberry Pi Pico kit consiting of 25 projects that serve as an introduction to programming and controlling devices with a Raspberry Pi Pico.

Booklet WIP


Parts Included:

ItemQuantityItemQuantity
Pi Pico1Large Button3
Makermas PCB1Large Button Caps3
Wire M-F1Slide Switch3
Wire F-F1Common Anode RGB LED3
Wire M-M1White LED10
10k Potentiometer2Green LED10
180 Degree Servo Motor1HC-SR04 Ultrasonic Sensor1
2.2K Resistors20PIR Motion Sensor HC-SR5011
10k Resistors4TMP1075 I2C Module1
10k Photoresistor21602 I2C LCD1
10k Thermistor2Capacitive Touch Sensor Module1
Common Anode 7-Segment Display216 Pin IC Sockets3
220 Ohm Resistor Array42 Pin Male Header2
SN74HC595 IC32 Pin Jumper2
0.1uF Capacitor43 Pin Male Header4
Passive (Transducer) Buzzer2Popsicle Stick3
Active (Indicator) Buzzer2Rubber Band3
Small Button10Micro USB Cable1
3 Pin Female Header24 Pin Male Header3
4 Pin Female Header35 Pin Female Header3
20 Pin Female Header35 Pin Female Header5
Nylon Standoffs M3 x 20MM5

Table of Contents

Day 1: Setup [blocked]

  1. Thonny IDE
    1. Install Thonny
    2. Download Pi Pico Firmware
    3. Run Test Program
  2. The Pi Pico Pinout
    1. Pinout
    2. Identify GPIO pin for LED
  3. Controlling the onboard LED

Thonny IDE [blocked]

Go to the Thonny website and download the free IDE. Thonny was chosen because it has features that make it easier to program with the pico and installing the firmware.

After opening Thonny, go to Run -> Configure Interpreter

From the Interpreter Menu Select MicroPython (Raspberry Pi Pico) and click on Install or update MicroPython

Copy the following settings to install the Pi Pico Firmware. If you have a different Pico model, choose the proper variant.

The Pico should be ready to go.

We can now use the shell and write the hardest line of code ever.

Pico Pinout [blocked]

Microcontrollers have multiple pins that have multiple functions on each. Most pins are general purpose input outpute (GPIO) pins that can be configure to output signals/data or input (recieve) signals/data. The other pins are power pins or serve special functions.

  • The power pins are VBUS (5V from the USB), 3V3 (3.3V), and GND. The other pins are power input or other functons.

Many of the GPIO pins have multiple functions that can only be used on that pin. For example Pin 32 has GP27, ADC1, and I2C1 SDA for its functions. Programmers can choose which function they want to use on each pin. How you use each pin will vary on what pin functions you need.

  • For example if you need a lot of ADC functions, it may be better to use another pin's I2C function and dedicate Pin 32 to ADC.

The image below shows all the pins on the pico with their respective features.

Controlling the onboard LED [blocked]

Day1.py toggles the onboard LED and you can vary the speed at which the LED blinks. If you make the time fast enough the LED will appear constantly illuminated and you cannot see it turning off.


Day 2: Soldering [blocked]

Day 2 introduces the main PCB and the header pins, and LED Checker/ Status Light are soldered in.


Day 3: Controlling an External LED [blocked]

Day 3 invovles controlling an LED with the GPIO pins and explaining GPIO pins in a little more detail in addition to the various methods to control the LED.


Day 4: Reading Inputs From a Button [blocked]

Day 4 continues the basics of GPIO inputs covering digital logic levels and reading inputs from a push button.


Day 5: Slide Switch [blocked]

Day 5 introduces slide switches and using internal pull-up/down resistors.


Day 6: Active Buzzer [blocked]

Day 6 introduces buzzers and how they create sound.


Day 7: Capacitive Touch Sensor [blocked]

Day 7 introduces capacitive touch sensors and uses them to create a tapping game. Interrupts are introduced here.


Day 8: RGB LED [blocked]

Day 8 introduces RGB LEDs and LED configurations like common anode. The first class is created here.


Day 9: Button Matrix [blocked]

Day 9 sees the creation of a class to handle reading the inputs of 4 buttons.


Day 10: Simon Says [blocked]

Day 10 is the first big system lesson that has the button matrix, RGB LED, and buzzer used to create a game of simon says!


Day 11: Analog Inputs With a Potentiometer [blocked]

Day 11 introduces analog inputs and reading them with the ADC on the pico. A potentiometer is measured as an example.


Day 12: PWM [blocked]

Day 12 introduces PWM and how to creates an effective analog voltage for us to control devices like an LED.


Day 13: Rainbow RGB LED [blocked]

Day 13 sees PWM used with the RGB LED to create various colors and sweep through the visible color spectrum.


Day 14: Servo Motor [blocked]

Day 14 utilizes PWM to control a servo motor and walks through the process of creating the code needed to control PWM devices.


Day 15: Passive Buzzer [blocked]

Day 15 sees the user creating a music by using PWM to produce different pitched notes.


Day 16: PIR Motion Sensor [blocked]

Day 16 introduces a PIR motion sensor and uses it to detect motion nearby.


Day 17: Ultrasonic Sensor [blocked]

Day 17 introduces the ultrasonic distance sensor.


Day 18: Proimity Gate [blocked]

Day 18 allows the user to create an arm gate that opens when the ultrasonic sensor and or motion sensor detect someone approaching it. Day 18 comes with a popsicle stick and rubber band to create the "arm".


Day 19: Photoresistor [blocked]

Day 19 introduces the photoresistor and how to estimate the amount of light to control other devices.


Day 20: Thermistor [blocked]

Day 20 introduces the thermistor and how to measure the ambient temperature.


Day 21: Snowflake Display [blocked]

Day 21 introduces the 74HC595 shift register to control multiple LEDs (snowflake display) with less pins.


Day 22: 7-Segment Display [blocked]

Day 22 has the user daisy chain shift registers to control multiple LED displays. The LED display for ths lesson is a 7-segment display.


Day 23: TMP1075 [blocked]

Day 23 introduces I2C devices and uses the TMP1075 to measure temperature.


Day 24: 1602 LCD [blocked]

Day 24 introduces the 1602 LCD and using multiple I2C devices on the same bus.


Day 25: Spread Holiday Cheer [blocked]

On Day 25 you must express your holiday cheer. How you do so is left to you. You have plenty of tools. Good luck!
To give you a place to start. One idea is to have a light show with the snowflake display while Christmas music plays on the buzzer (you can also control both buzzers).


#Thanks This project is ongoing and will likely continue to change. Thanks for checking it out.

Parts

108
QtyValueFootprintReferences
48LOGOLogos:SnowflakeG***, G***, G***, G***, G***, G***, G***, G***, G***, G***, G***, G***, G***, G***, G***, G*** +32
11RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2, R3, R4, R5, R6, R7, R8, R11, R12, R13
10LEDLED_THT:LED_D5.0mmD1, D2, D3, D4, D5, D6, D7, D8, D9, D10
4Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ4, J5, J7, J8
4MountingHoleMountingHole:MountingHole_3mmH1, H2, H3, H4
4SW_DIP_x01Button_Switch_THT:SW_PUSH_6mmSW2, SW3, SW4, SW5
3220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR9, R10, R14
3Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ3, J6, J9
210kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR16, R17
274LS595Package_DIP:DIP-16_W7.62mmU1, U2
2BuzzerBuzzer_Beeper:Buzzer_12x9.5RM7.6BZ1, BZ2
2CCapacitor_THT:C_Rect_L4.0mm_W2.5mm_P2.50mmC1, C2
2Conn_01x20_PinConnector_PinHeader_2.54mm:PinHeader_1x20_P2.54mm_VerticalJ1, J2
2R_Pack04_SIP_SplitResistor_THT:R_Array_SIP8RN1, RN2
1B3F-4055Omron_Buttons:SW_B3F-4050_OMRSW1
1D168KDisplay_7Segment:D1X8KU5
1LED_RGBALED_THT:LED_D5.0mm-4_RGB_Wide_PinsD11
1LOGOLogo:LogoMark_9x12G***
1LOGOLogos:Pico_MakermasG***
1PT01-D125D-B103PT01_D125D_B103 (POT):TRIM_PT01-D125D-B103R18
1R_PhotoOptoDevice:R_LDR_7x6mm_P5.1mm_VerticalR15
1SW_SPDTConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalSW6
1ThermistorConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalTH1

Similar boards

  • 4 layers43 × 89 mmReflowControllerV2, the printed circuit board in 3D

    ReflowControllerV2

    walclu/smartReflow

    Repository for STM32WB55 based reflow toaster oven controller.

    99 parts15
  • 2 layers137.2 × 83.8 mmPWA REV2, the printed circuit board in 3D

    PWA REV2

    PubInv/krake

    The Krake™ is a Wi-Fi–enabled server using an MQTT broker, which means it can be controlled remotely by other devices ("clients") via the internet.

    215 parts9AGPL-3.0
  • 2 layers137.2 × 83.8 mmGeneralPurposeAlarmDevicePCB, the printed circuit board in 3D

    GeneralPurposeAlarmDevicePCB

    PubInv/general-purpose-alarm-device

    A general purpose alarm device (with software) as a module for medical devices (and others)

    140 parts7AGPL-3.0
  • 2 layers100.1 × 121.4 mmPanel, the printed circuit board in 3D

    Panel

    da-penguin-guy/Proteus

    The Proteus is a modular collection of PCBs that will be used to develop the Virgil sound Protocol

    137 parts3
  • 2 layers189.2 × 146.7 mmMFD pcb, the printed circuit board in 3D

    MFD pcb

    Apates-MFD/MFD-pcb

    kicad project and components information of pcb

    29 parts2MIT
  • 4 layers90 × 60 mmBench psu, the printed circuit board in 3D

    Bench psu

    PaulBichl/VibePCB-bench-psu

    USB-C PD (20 V) powered bench supply, 2 independent channels, 1.6-16.6 V / 3 A each, constant voltage / constant current, designed with VibePCB.

    206 parts1
  • 2 layers85 × 120 mmHome Assistant Control pad, the printed circuit board in 3D

    Home Assistant Control pad

    Pegoku/Home-Assistant-Control-pad

    This is a programmable Home Assistant Control Pad. It can control 4 Home assistant devices at a time, and has 4 togglable screens/zones (in total 16 devices).

    111 parts1GPL-3.0
  • 2 layers94 × 94.5 mmAll in one, the printed circuit board in 3D

    All in one

    anh-phi-dao/DATN_Nhung_Firmware_Raspberrypi

    abovecam=VisionESP32("http://192.168.137.235/capture","stockv19.pt","oosv12.pt",0.75,0.6,"Shelf1,22 detection","Shelf1,22 outofstock")…

    19 parts

Questions

How big is the Advent calendar PCB?

It measures 139.8 × 86.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Advent calendar use?

108 parts, built around the B3F-4055 and PT01-D125D-B103. 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 Advent calendar KiCad files?

From the KylerM-23/Pico-Advent-Calendar repository on GitHub, at the commit this page was made from: the board is Advent Calendar PCB/advent_calendar/advent_calendar.kicad_pcb and its schematic Advent Calendar PCB/advent_calendar/advent_calendar.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Advent calendar design in my own project?

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