The Pumpkin PACS was constructed for the MGH Radiology Pumpkin Decorating Contest. It is a standalone DICOM workstation capable of displaying many standard types of radiology images. 
The pumpkin contains a Raspberry Pi which projects images onto a screen using a Microvision SHOWWX+ HDMI pico projector. The screen is made of tracing paper.  The application displaying the images is Aeskulap http://aeskulap.nongnu.org/.

The steps below include details of how to install the radiology workstation software and get images to the device - but the basic mechanism could be used on any project where a Raspberry Pi is projecting a mirror image so that it appears correctly when it illuminates a screen from behind.

FDA warning: this device is not for clinical or culinary use. The screen isn't bright or sharp enough to meet the guidelines of the American College of Radiology. No strictly documented engineering process was followed nor any attempt was made to adhere to the good manufacturing process outlined in the FDA's 510(k) requirements. However - it is absurd and you're reading this so it might be of some interest. 

[Added in edit: The images here belong to the patient (me, the author) are were not downloaded from the clinical servers at the hospital. It's my knee :-)]

[Jargon alert:
PACS - Picture Archive and Communication System. This is what a radiology department typically uses to accept/store/display medical images.
DICOM - Digital Imaging and Communications in Medicine. This is a computer protocol for medical images. It is widely used in Radiology and Cardiology.

Step 1: Basic Hardware and Software Installation

  1. Hardware requirements:
    1. an SD card that is at least 8GB in size.
    2. a USB hub (that's the blue box in the picture). I'm using the TrendNet TU2-700.
    3. a projector unit. I chose the Microvision SHOWWX+ HDMI projector:
      1. It's a laser projector - so focus wasn't a problem.
      2. It had generally good reviews and was compatible with the iPad 2's 30 pin connector - so I can use this for other projects.
    4. An HDMI micro-to-standard cable (the MicroVision SHOWWX+ has a micro-HDMI connector and the Raspberry Pi a standard connector)
    5. A USB mouse
    6. A USB keyboard (this is only really needed when you're configuring the device - I didn't need the keyboard when I was showing the pumpkin).
    7. A pumpkin. 
    8. A small powerstrip (two outlets needed).
    9. You may want to have a standard HDMI monitor for doing the installation and configuration on the Pi. I found it easier to read than the projection unit.
    10. A ethernet connection (or you could install an 802.11 wireless).  If you do install a wireless connection you may want to add another power source - I have power going to a USB hub and the Raspberry Pi is plugged into the hub. 
  2. Install your Raspberry Pi system onto an SD card that is at least 8GB in size.
    1. Download a Raspberry Pi image. I used the 2012-09-18-wheezy-raspbian one - I see that a newer one has been released. Install on your SD card. Follow the instructions on http://www.raspberrypi.org/downloads
    2. Expand your root partition http://raspberrypi.stackexchange.com/questions/499/how-can-i-resize-my-root-partition/946#946
    3. Insert the SD card into the Raspberry Pi; attach the keyboard, mouse, monitor, and plug it into your network.
  3. There are several installations and updates which need to be applied to the Raspberry Pi
    1. Run sudo apt-get update to get the latest code.
    2. You need to install git: sudo apt-get install git-core
    3. You need to upgrade the firmware. A very nice utility for doing this is rpi-update: https://github.com/Hexxeh/rpi-update. Follow the instructions at this link; I did need to do the step where you install new certificates. If you don't update the firmware you the display can't be 'reflected' for display on a back projection screen. 
  4. Install a DICOM viewer
    1. sudo apt-get install aeskulap
    2. That's all :-). The program is under the graphics program menu.
  5. Set the Pi to automatically log in,  launch X-Windows and launch the Aeskulap program. This means that the user doesn't have to type anything - which means that you don't need a keyboard attached to the pumpkin later.
    1. Setting up the Pi to automatically log in and launch X-windows is described here: http://elinux.org/RPi_Debian_Auto_Login
    2. To make Aeskulap load at boot time enter the following command to edit the autostart file:
      sudo nano /etc/xdg/lxsession/LXDE/autostart
      Add a line to launch aeskulap at start:
      @lxpanel --profile LXDE
      @pcmanfm --desktop --profile LXDE
      @xscreensaver -no-splash
      @aeskulap --profile LXDE
  6. Set up the display to be mirrored:
    sudo nano /boot/config.txt
    Then add the line

    The config.txt file is attached to the instructable.
<p>really no comments yet?</p><p>this is actually pretty neat.</p><p>I used to work at a farm market that has an employee and customer pumpkin contest. the last year that I was there I made pumpkin speakers. my only problem was that i couldn't really find family safe Halloween music to play, and I had one person say they looked like eyes and another person say that they looked like something more inappropriate.</p><p>my original idea was to run a power cable to the one side that had an amp and use an FM radio tuned to a transmitter 10 feet away. barring way too much interference i ended up putting my cart of goodies and electronics underneath the pumpkin display. i had a laptop computer, 2 wireless microphone receivers and a small mixer neatly tucked into a folding collapsible cart.</p><p>the idea was to say &quot;<em>vote for me</em>&quot;, I mean &quot;<strong>boo</strong>&quot; whenever somebody walked by. I ended up handing off one microphone to another employee who had a bit more fun than I did ( I was at the register that day and I couldn't really see the display all the time, he was elsewhere ). in the end I'm not sure that very many people realize that the pumpkins were playing music.</p><p>we also got to dress up and I went as a scientist with a green lab coat. there was more to that costume but it's been a few years.</p><p>I was kind of stumped at the end of that season wondering how I would top myself next year, the good thing is I didn't come back.</p>
Wow! Very cool! How long did it take you to build this?
Great job, the most unique jack o lantern I've ever seen. Nice knees also . Thanks for posting.

About This Instructable




More by seandoyle:Pumpkin PACS/Pumpkin Pi 
Add instructable to: