DIY pixel art frame, inspired by Game Frame.
mario.mp4
hk.mp4
The brain is Adafruit MatrixPortal M4, an ESP32-based controller. You'll need to follow Adafruit's documentation to install CircuitPython. Then you can copy the code (don't forget to create src/settings.py).
Files you'll need to copy to your MatrixPortal are:
Rename src/settings_example.py
to src/settings.py
. If you want the frame to connect to the internet in order to fetch the correct time, add your network name, password, and set skip_connection=False
.
Then copy the following files and folders:
code.py
andsrc/*.py
(seecopy.bat|sh
)firmware/[current_version]/lib
tolib
assets
(which includes splash screen and digital clock sprite)gif
(pick and choose animations you like)
There are four apps:
- Gif player (runs each animation for 5 minutes then switches to the next one)
- Digital clock (needs internet connection to get time)
- Analogue clock (needs internet connection to get time)
- Blank - used to preserve power during the night
By default, the display will switch to the digital clock at 23:30, to blank at midnight, and to gif player at 8:30 in the morning. Check src/settings_example.py, copy it to src/settings.py, and update it to your preferences.
Tilting the display left and right will cycle between the apps (button up will do the same).
Tilting the display back and forward will (button down will do the same):
- Gif app - switch between gifs
- Digital clock - switch between 12 and 24 hours clock modes
Digital Clock | Analogue Clock |
---|---|
This is a list of all of the main parts with the links to the ones we used.
- Adafruit MatrixPortal M4 https://www.adafruit.com/product/4745
- 64x64 RGB LED Matrix - 2.5mm Pitch - 1/32 Scan - https://www.adafruit.com/product/3649 or https://www.aliexpress.com/item/32816409052.html
- LED diffuser - https://www.adafruit.com/product/4594
- USB C charger - I had one lying around
- The display fits into the IKEA SANNAHED picture frame. But check frame-v2.png for a custom frame blueprints.
- USB C cable - https://www.aliexpress.com/item/1005002105030431.html
- You can control the display by tilting it, but if you want to add buttons, I used these in the first version - https://www.aliexpress.com/item/4000043687021.html
- 3D printed hooks for the rubber band that presses the display against the diffuser. Code for generating the model is here.
There is a few similar projects you might want to check out:
If I included your art and you want it removed, I'm sorry, just open an issue and I'll take care of it. The only reason I included your work in the first place is because it is awesome and it makes me happy.
- Bear
- Bunny
- Dog
- Dota emojis (diretide, giff, es)
- Earth and Moon - generated using wonderful PixelPlanets
- Ember Spirit
- Firepit
- Fox
- Hollow Knight
- Jim
- Link
- Madeline
- Mario chase
- Mario jumping
- Mega Man
- Nyan cat
- Ori
- Rafael
- Robin
- Spinning skull
- The One Ring
- Tears of the Kingdom
- WC2 Footman