JasonDorie/TeensyFrame
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
This project is released as-is. Do with it as you will. The docs folder contains a wiring diagram and supplies list. You will need the Arduino IDE, and use the Board Manager to add Teensy board support, in order to flash the code to the Teensy 4.1. The Teensy code requires an SD card, with a folder called 'pics'. You store the pictures you wish to be randomly cycled in that folder. They MUST be in BMP format, 4bpp palettized, 1200x1600, and dithered using the FrameConverter application provided. The FrameConverter application will take JPEG, PNG, or BMP sources. The actual physical layout of the display is 1200x1600 (portrait, 3:4 aspect), so if the input image is wider than it is tall, it is rotated 90 degrees. This allows using either portrait or landscape orientation pictures, though all pictures used by the frame should be in the same orientation because it doesn't move. :) You can control how often the Frame chooses a new picture by adjusting the timer.setTimer() function call in the SnoozeWrapper.cpp file. The current code is set to change pictures every four hours, or when PIN 0 is connected to ground using the optional push button. Note that when pressing the button, it takes a moment before the display change - The button press simply wakes the Teensy, which then loads the next image from the SD card into the display, and tells the display to update. I don't have any pictures yet of the physical layout or construction. I used 2mm EVA foam behind the screen to protect it, then two layers of 6 or 8mm open cell foam with cutouts to hold the battery, wires, and step-down regulators. If you ever intend to fly with the device, be sure to construct it with plugs on the battery, so it can be disconnected and removed without risking a short. I drilled a 12mm hole in the frame for the battery charging lead, which ended up being slightly too large. I wrapped the charging lead with black tape to allow it to be held snug in the hole, while still allowing the battery to be removed in case it's ever necessary.