This is an old revision of the document!
By Podeanu Marius-Bogdan 1222A
LED Slot Machine este un mini joc distractiv in care 3 LED-uri se aprind intr-o culoare la intamplare. Scopul jocului este de a avea toate LED-urile aprinse in aceeasi culoare. In momentul in care castigi, muzica incepe sa cante iar pe ecranul LCD iti apare un mesaj.
Ideea a pornit de la varianta clasica de slot, dar facuta in asa fel incat sa fie cat se poate de fair.
Components List:
Electrical Schematic:
After many tries, I made it so that the game works. Now, when you press the button, the RGB's turn on into a random color.
If all 3 RGB's have the same color, the buzzer will start singing and the LCD will display a different message.
Soon, I will put it to use and make my friends pay in order to play with it.
The project was very interesting. I learned alot of new things, how to use arduino, and how to search things better on the internet.
After this project, I wish to do more arduino projects in the near future.
I started by doing the project in Tinkercad, so that I can do trial and error there.
I started thinking how should I arrange it so that it's not messy and I found the solution.
The code:
led_slot_machine.rar
The libraries:
liquidcrystal_i2c.rar
Link for buzzer melody:
Buzzer Song
Link for random RGB inspiration:
Random RGB
Download a PDF of this page:
Export to PDF