www.flickr.com
tres frijoles' photos More of tres frijoles' photos
You are here: tearsoffire.org > Projects Web > ElectronicsProjects > ArmProjects > JuiceBox > JuiceBoxPictureFrame r1 - 25 Jun 2007 - 22:24 - ChristopherPepe


Start of topic | Skip to actions

JuiceBoxPictureFrame



about

Pretty much the least novel project. There are at least a dozen other JuiceBox picture frame projects out there but its better than just leaving at the bottom of a box in the closet right? I got my juicebox for like $20 back when I was getting into more serious hardware hacking. Since I'm a fulltime embedded linux dev now I haven't looked at my jb for months. I have also included my utility to convert images into a juicebox friendly format.

utility

The juicebox forums had a thread about the process. Since there are commandline tools used in the entire process it was easy to script in python. The script takes a path to a directory from the commandline and produces JuiceBox 'jbp' files for the picture frame. You do have to copy all of the 'jbp' to an SD card still.

The SD card has to be formatted with a FAT12 or FAT16 filesystem as that is all the JuiceBox supports. Also the 'jbp' files are 240x160 12bit RGB files in case you were wondering. This information is all on the aforementioned thread.

Requirements

  • ImageMagick: technically just the 'convert' utility that is part of ImageMagick
  • 24to12.c: 24bit to 12bit color conversion utility
  • jbImageConverter.py: Utility to generate 'jbp' files from your images

Its kinda dumb but to get the help to print you have to specify '-h 1' rather than the typical '-h'. This is due to the way I am getting commandline arguments and since I realized the issue late in the game, and given the simplicity of this script, I decided to hack it rather than fix it. Not to mention the help is shown here anyway:

    Simple Juicebox Image converter
    This utility will create Juicebox formatted image files from
    standard images.  Just point the script at any directory and
    it will create Juicebox 'jbp' files from the originals.  The
    original images will remain unchanged.  The Juicebox images
    will be created in the working directory when the script is
    run.

    Example:
    cd /home/juicy/jbSD
    python jbImageConverter.py -p /home/juicy/images/

    In this example Juicebox formatted 'jbp' files would
    be created in '/home/juicy/jbSD' from the images
    in '/home/juicy/images/'

Options:
-p: path to image directory

Frame

There isn't much to the frame. Its just a repackaged JuiceBox made from plexiglas. I've cut the acrylic to size, blacked out the non-LCD area and glued the JuiceBox to the front of the frame. The SD card is left poking out the side for easy access

624823008_10f7b04ac6_m.jpg I've just started to layout the frame. Here I am sizing the glass.

There is more to come in the aesthetics of the frame itself but I wanted to get the conversion script up here in case anyone else was build a Juicebox frame. To name a few here are some other projects using the JuiceBox

-- ChristopherPepe - 25 Jun 2007

toggleopenShow attachmentstogglecloseHide attachments
Topic attachments
I Attachment Action Size Date Who Comment
txttxt jbImageConverter.py.txt manage 4.3 K 25 Jun 2007 - 21:49 ChristopherPepe Utility to generate 'jbp' files from your images
cc 24to12.c manage 0.7 K 25 Jun 2007 - 21:43 ChristopherPepe 24bit to 12bit color conversion utility
Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding tearsoffire.org? Send feedback