Diploma Project

Arduino Beeper Jukebox

The Prototype of the project using a Breadboard and an Arduino Uno
This is the Diploma Project, it is a jukebox that plays songs using a piezo beeper to play music and some LEDs to go along with the music. The final version will use an Attiny85 (or any other Attiny with 8KB+) There's a button so you can change the songs and will be powered using USB-C
A Top Down close-ish up view of the Prototype
The First Prototype Board connected to an Arduino UNO, which is the programmer

Problems and how to (maybe) solve them

The LED marked "LED3" was connected to the Reset Pin (1) on the Attiny, which blocked the whole thing from working. After cutting the trace and/or desoldering the resistor connected to LED3 fixed the issue.

The next problem was the Piezo Buzzer; uploading a code only caused it to vibrate, sounding like a vibrator. After further testing using a Breadboard, the solution was to move the Buzzer over to Pin 4. On the board, the buzzer was on Pin 3.

The Attiny has specific timers on specific pins, one that is better and one that is kinda meh The Buzzer was on the kinda meh timer and it needs to be on the good timer.

Moving the buzzer to the good timer made the audio sound better, but yet another new problem arose. The Music sounded very corruptet, it turned out it was pressing the button which had been moved to the kinda meh timer.

Moving the button to one of the regualr pins made the music and the button work.

The only problem now is getting the remaining LEDs to work

Microcontroller Structure

The Attiny85 is a CMOS Low-Power 8-Bit Microcontroller based on the AVR enhanced RISC architecture, providing the following features: An Image of the pinout of an Attiny

Programming a Microcontroller

Text

Devices used

Acer Aspire (retired): Coding and playing Piano Tutorials, replaced with ThinkPad T410

Lenovo IdeaPad 5: Managing ABA Portal and logging hours

Lenovo ThinkPad T410: Coding and playing Piano Tutorials

Apple MacBook Pro (13-inch, Mid 2014): Documentation as well as coding