Randomrex - The Tweeting Picture Frame
About the project
A tweeting picture frame made by Rex, the floofiest member of 8 Bits and a Byte
Project info
Difficulty: Easy
Platforms: Adafruit, Raspberry Pi, Twitter
Estimated time: 1 day
License: Creative Commons Attribution-ShareAlike CC BY-SA version 4.0 or later (CC BY-SA 4+)
Items used in this project
Hardware components
Story
Overview
Below a quick overview of the content.
- Introduction and showcase video
- Picture frame
- Sticks
- Twitter account
- Photos
- Logic
- End result
Introduction & showcase video
To spread some love and happiness, Rex decided to build a tweeting picture frame to brighten up Twitter with his best pictures.
Picture frame
At first he printed one big house, but left no space for a Pi or any wiring. Instead of one big print, plan "Waggling Tail" was to use six frames and glue them together. The files with all the panels are attached.
Sticks
With the basic frame in place, the next step was to hot glue some Popsicle sticks on the outside. Makes it look nice and professional.
In order to Tweet you need two things, a Twitter account and developer access. Information about both here. Extra thanks to Raspberry Pi for this great tutorial!
Pictures
To avoid too much repetition, collecting a lot of pictures is important. Luckily we took a lot, and will keep adding new ones as we go. Just make sure they are under 5MB each, otherwise Twitter gets grumpy.
Logic
The code has to do two things:
- Every hour randomly select a picture from the set, and display it on the screen
- Once a day, at 10:00 AM, pick a random picture and Tweet it
For the full code, check the attachment "Code"
End Result
The picture frame standing on makeshift standsYou can find his Twitter account here
CAD, enclosures and custom parts
Code
Credits
8BitsAndAByte
We’re Dane & Nicole, two makers that create tremendously terrible tech, which we happily share with you on our channel! https://www.youtube.com/c/8bitsandabyte
Leave your feedback...