The Dream Wisdom machine is a solution for all your sleeping and trivial fact-knowledge needs! Click a button, and be delivered an interesting fact. Click another, and be served calming music.
You will need:
- x1 Raspberry Pi
- x1 Breadboard
- x10 GPIO Wires
- x3 Buttons
- x1 Speaker
- Calming Music and Facts
Our Raspberry Pi is using Raspbian OS, so you will need to install packages via the Linux terminal. You can do this by typing the following into your terminal: sudo pip install pygame RPi.GPIO
. After this, open the main.py file and define the locations of the music files. After this, your code is ready!