Introduction: Putting Images on Your TinyScreen

Picture of Putting Images on  Your TinyScreen

Have you purchased a TinyScreen and wanted to display an image or gif on it? Look no further! Here we will explain how to do this with relative ease!

Step 1: Downloads and Materials

Picture of Downloads and Materials

Before starting, the proper drivers must be installed to detect the COM ports. These drivers must be installed before downloading any codes from the codebender plugin. The drivers needed can be found here.

Materials Needed:

  • TinyDuino Processor: link
  • TinyScreen: link
  • TinyShield USB: link
  • TinyShield MicroSD: link
  • MicroSD Card (Any size you desire)
  • MicroSD Card Adapter*

*Or some other method of interacting with your microSD card from your computer.*

Downloads Required:

  • Python 2.7.10 : link
  • PIL 1.1.7 for Python 2.7: link
  • PIL (OSX): link

When checking to see if your computer has python installed correctly, go to the command window and type in 'python' without the quotes. If it is installed you should get a response saying what version you have.

If you do not get any response when you type python in the command window, you will have to manually set a path (mainly for Windows). To set the path, follow the directions here.

Step 2: Converting the Image or .gif to a .tsv File

Picture of Converting the Image or .gif to a .tsv File

Here is the gif, and .tsv file used in the opening gif as well as an image displaying our beloved cat. You can use this .tsv to make sure everything is working properly.

The TSVconverter file needs to be placed in the file with all of your other gifs. Running the script and it will convert ALL gif files to tsv files. The TSVconverter file will only work for a .gif file so if you have a .png or .jpg you wish to convert, you will need to re-save it as a .gif. To run the script and start the conversions, simply double click on the python file in the folder.

Step 3: Programming the TinyDuino

Picture of Programming the TinyDuino

The TinyScreen Video Player is a nice little code that will look for a specified .tsv file on your microSD card. The TinyScreen Video Menu code looks through all the files on your microSD card and you can choose which file you want to be displayed. With that said, have fun!

Comments

cburnette1 (author)2015-07-26

I took the video menu to make a rudimentary OS with a BrainF*** interpreter when you open the source file. Still have to work on output because chars like \n don't work well with this screen. Also added a splash screen on boot and I'm working on init support. Also need a setting menu and select long-press menus on directories and files with basic operations like delete and edit with a simple text editor with input like on my pTerm terminal emulator for PebbleOS. These things are fun and have re-sparked my love of C/C++!

robotobor (author)2015-05-13

Is there a way to stack and code this so the TinyShield USB can be removed when it is not needed?

MrOz (author)2015-03-04

Nice.

Can't wait for mine to arrive.

About This Instructable

2,672views

34favorites

License:

More by TinyCircuits:Tiny GPS TrackerTinyFanBoatTinyHoverCraft
Add instructable to: