Cover image for Pico Birthday Card

Video

Watch the associated video here:


Overview

Are you tired of giving boring, generic birthday cards? Want to give a personalized and interactive card that will impress your loved ones? Look no further! In this tutorial, we’ll show you how to create a unique and special birthday card with the power of Raspberry Pi Pico.

Raspberry Pi Pico is a microcontroller board that offers a simple and low-cost way to interact with the physical world. With its easy-to-learn programming language and some extra components, Raspberry Pi Pico is perfect for creating fun and creative DIY projects. In this tutorial, we’ll show you how to use Raspberry Pi Pico to build an ultimate DIY birthday card.

I’ve not heard of any using a Raspberry Pi Pico to power a birthday card before, so maybe I’m the first to do this!


Here are a couple of images of the construction process.

Card example Card example Card example Card example Card example Card example


Bill of Materials

Item Description Qty Price
Pico Raspberry Pi Pico 1 £3.90
Touch Sensor TTP223 Capacitive Touch 1 £1.00
5x5 Display 5x5 RGB Matrix Breakout 1 9.90
Buzzer Piezo Transducer (Passive Buzzer) 1 £0.90
Lipo Battery Galleon 400mAh Hard Case LiPo Battery 1 £7.50
Lipo Charger LiPo Amigo (LiPo/LiIon Battery Charger) 1 £8.40

About the project

In this tutorial, we will guide you through the process of building an ultimate DIY birthday card using Raspberry Pi Pico. In the accompanying video you can see the card’s exciting features, including a touch sensor, a 5x5 RGB LED display, and a speaker that plays the Happy Birthday tune.

Before starting the project, Kevin introduces the necessary materials and components needed for the card.

Next, Kevin leads us through the assembly process. He shows us how to connect the Raspberry Pi Pico to the touch sensor, LED display, and speaker. He explains how to place all components in the enclosure, and gives us tips on how to secure everything in place.


Wiring

Wiring Diagram

Wiring the Pico to the components may look complicated, however it is actually straight forward.

Component Pin Pico GPIO
Touch Sensor GPIO 00
Touch Sensor GND GND
Touch Sensor VCC 3.3v
5x5 Display - SDA GPIO 02
5x5 Display - SCL GPIO 03
5x5 Display - VCC 3.3v
5x5 Display - GND GND
Buzzer + or signal GPIO 09
Buzzer - or GND GND

Assembly

Print out 3d printbale cart insert, below. The parts will fit into the card insert and can be attached to the card with either hot-glue or blutac.

You can design a foldable card using the online graphics creation tool, Canva. Its free to use, and is very simple to create amazing designs.


MicroPython code

After completing the assembly process, it’s time to code. Kevin walks us through the coding process using MicroPython, a programming language perfect for microcontrollers. He explains the different sections of the code, and how to adjust the settings to personalize the card.

There are a couple of programs:

  • buzzer_demo.py - plays the happy birthday tune
  • cake.py - Shows the cake image on the 5x5 display
  • font.py - This file contains all jonny five font thats specifically designed for the 5x5 display
  • touch.py - displays touched or not touched using the touch sensor
  • scroll.py - displays scrolling text on the 5x5 display
  • happy_birthday.py - bring all the programs above together so that when you touch the sensor it shows the cake, plays the music, and then displays the message

3d printed enclosure

You can download the 3d printable enclosure here:


Summary

This tutorial provides a fun and engaging way to create an ultimate DIY birthday card using Raspberry Pi Pico. With the easy-to-follow instructions, you can impress your loved ones with a personalized and interactive card that they will cherish.


So, what are you waiting for? Grab your Raspberry Pi Pico, follow the steps in the video, and create an ultimate DIY birthday card that your loved ones will never forget!



Did you find this content useful?


If you found this high quality content useful please consider supporting my work, so I can continue to create more content for you.

I give away all my content for free: Weekly video content on YouTube, 3d Printable designs, Programs and Code, Reviews and Project write-ups, but 98% of visitors don't give back, they simply read/watch, download and go. If everyone who reads or watches my content, who likes it, helps fund it just a little, my future would be more secure for years to come. A price of a cup of coffee is all I ask.

There are a couple of ways you can support my work financially:


If you can't afford to provide any financial support, you can also help me grow my influence by doing the following:


Thank you again for your support and helping me grow my hobby into a business I can sustain.
- Kevin McAleer