An LED Matrix that displays information such as currently playing song on Spotify, the current weather and time, and really any information that can be obtained by a public API. The purpose of this project is for fun and to learn a bit about hardware, python, and Raspberry Pi.
The start_server shell script starts the necessary APIs as well as the main server to display the information.
- Motion Sensor: implemented Kano's Motion Sensor to perform animations on the LED matrix. The sensor detects motion and writes JSON data to a serial port on the Pi which can be used to in a Python script using the open source Github repo PySerial.
- Simple game: a game that uses the 'w', 'a', 's', and 'd' keys to move a dot (the player) around to pick up various pickups before time runs out. Uses the Python library Curses to detect user input.
- Explosion animation: an animation of different colored circles that start small and grow until a certain radius and then disappear. Meant to simulate fireworks.
- Raspberry Pi 3B linked here
- Adafruit Hat to control the LED Matrix linked here
- Two LED 16x32 pixel Matrices linked here
- 5V 4A power supply linked here
- Kano Motion Sensor Kit linked here
The project currently has two API sources:
- Music - Spotify
- Weather - Dark Skies API
Jeremy Deppen