Vintage TV Style Photoframe

by Matt7145 in Circuits > Arduino

1024 Views, 8 Favorites, 0 Comments

Vintage TV Style Photoframe

Full_function_1.jpg
Full_function_2.jpg
Full_function_3.jpg
P_20190102_002833_vHDR_Auto_HP.jpg
Component_3.jpg
Component_2.jpg
Component_1jpg.jpg
Component_pcba_1.jpg
Component_pcba_3.jpg
Component_pcba_2.jpg
Vintage TV Style Photoframe

Covid 19 pandemic has already changed our life a lot. Do you miss the places which you visited, or your family members, friends, and pets? You can play those photos on a homemade digital photoframe beside your laptop. In this instructable, show using 2.2" TFT lcd, Arduino, micro SD card reader, and gesture sensor to build a gesture control digital photo frame. Of course, you can build your own style case if you have 3D printer or CNC.

Supplies

  • Arduino pro mini Board *1 https://www.aliexpress.com/item/32821902128.html?...
  • (Optional)Customized PCB board *1 - you can create your own pcb board like me, then don't need above arduino pro mini board, LDO 3.3V Power Module, and solder level shifter circuits on universal board.
  • Micro SD card *1
  • Mini USB connector *1
  • Mini USB cable *1
  • Tact switch * 1
  • Universal PCB Board * 1
  • 2.54mm male/female pin headers
  • Wires & Soldering iron

Enclosure

Outcase_1.jpg
Outcase_2.jpg
  • Cases for photoframe are made by CNC.
  • Photoframe stand is made by 3D printer

3D files (.stl) can be downloaded from following link:

https://www.thingiverse.com/thing:4884826

Hardware Section

Component_Assemble_2.jpg
Component_Assemble_1.jpg
Component_full.jpg
Component_full_1.jpg
Component_pcba_1.jpg
  • Install 2.2" TFT SPI LCD, Gesture sensor APDS 9960 module, and customized tact switch board on the back side of front case.
  • Install control board which includes Arduino pro mini board, SD card reader, and LDO 3.3V power board on base + back case. You can refer to attached files to solder or create your own control board.

Note: The power level of Arduino pro mini board is 5V, and the other devices's power level are 3.3V. Need to add level shifter circuits between them.

  • Following are the datasheet for reference:

a). Arduino Pro Mini Board: https://www.arduino.cc/en/pmwiki.php?n=Main/Arduin..

b). Gesture Sensor APDS 9960 Module: https://www.terraelectronica.ru/pdf/show?pdf_file=...

c). SD Card Reader: https://create.arduino.cc/projecthub/electropeak/s...

d). 2.2" TFT SPI LCD: http://www.lcdwiki.com/2.2inch_SPI_Module_ILI9341_...

e). Atmega328 schematic: https://www.arduino.cc/en/uploads/Main/arduino-uno...

Resize Your Photos to 240x320 Resolution & Store in BMP Format

Resize Photo Resolution.jpg
Rename&Store_in BMP_Format.jpg
logo.bmp
  • Using photo tools to resize your photos to 240x320 resolution & save them in BMP foramt. For me, I like to use MS/Paint.
  • Save your photos in the order in your micro SD card. Ex. 1.bmp, 2.bmp, 3.bmp,...
  • Finally, design your own logo and name it as "logo.bmp" with 240x320/BMP format. It is the first photo which is showed in your personal photoframe.

Software Section

Software_Libraries.jpg
  • In order to apply 2.2" TFT SPI LCD/Gesture Sensor APDS 9960, you have to include following libraries.

Adafruit_2.2" SPI Display: https://github.com/adafruit/Adafruit_ILI9340

Gesture Sensor APDS 9960: https://github.com/sparkfun/SparkFun_APDS-9960_Sen...

  • Following is my example code. It is not perfect, but it works. If you could make it better, please modify it and share to us. Thanks~