Code Monkey home page Code Monkey logo

a-pico-christmas's Introduction

A Pico Christmas

Overview

This is a Christmas-themed project that features 18 flowing LEDs, an LCD display, and four buzzers playing three classic Christmas tunes; all done on the Raspberry Pi Pico. Credit for the "buzzer_music.py" code goes to james1236 via the buzzer_music repository. Check out https://github.com/james1236/buzzer_music for more information. Credit for the "lcd_api.py" and "pico_l2c_lcd.py" programs goes to Tom's Hardware and can be found at https://www.tomshardware.com/how-to/lcd-display-raspberry-pi-pico

image image image image

Components

  1. 1 Raspberry Pi Pico
  2. 2 solderless breadboards
  3. 1 solderless mini-breadboard
  4. 18 LEDs (6 reds, 6 greens, 6 whites)
  5. 18 330 Ω resistors
  6. 4 buzzers (active or passive)
  7. 1 I2C LCD 1602

Instructions

  1. Design the circuit based on the provided breadboard image and schematic below:

Pico_Christmas_bb Pico_Christmas_schem

  1. Download and install Thonny. (https://thonny.org/)
  2. Open Thonny and install Micropython on the Pico.
  3. Copy the files in this repository to the Pico.
  4. Open A_Pico_Christmas.py
  5. Find some holiday-themed music on onlinesequencer.net, click edit, select all notes with CTRL + A, and then copy them with CTRL + C.
  6. Paste the string in place of the one in the example file, making sure to remove the "Online Sequencer:120233:" from the start and the ";:" from the end.
  7. Run the code.
  8. Enjoy the music and lights and have a wonderful Happy Holidays!

a-pico-christmas's People

Contributors

james1236 avatar mvinza34 avatar vertexi avatar michaelachrisco avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.