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
- 1 Raspberry Pi Pico
- 2 solderless breadboards
- 1 solderless mini-breadboard
- 18 LEDs (6 reds, 6 greens, 6 whites)
- 18 330 Ω resistors
- 4 buzzers (active or passive)
- 1 I2C LCD 1602
- Design the circuit based on the provided breadboard image and schematic below:
- Download and install Thonny. (https://thonny.org/)
- Open Thonny and install Micropython on the Pico.
- Copy the files in this repository to the Pico.
- Open A_Pico_Christmas.py
- Find some holiday-themed music on onlinesequencer.net, click edit, select all notes with CTRL + A, and then copy them with CTRL + C.
- 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.
- Run the code.
- Enjoy the music and lights and have a wonderful Happy Holidays!