If you also like those cute "Mini Pig" flashlights, have a look at my other instructable Dancing Vibro Pig!
The heart of DiskoPigs is a hacked MiniPOV. I didnt want to take my original MiniPOV so I built it on a perfboard, but you can just use your MiniPOV-Kit from Ladyada to make it. Basically I substituted the LEDs with the Mini Pig Flashlights, changed the code a little bit and mounted everything on an old record disc for the disco feeling.
Unfortunally I forgot to take photos, but I'll try to recover the way I built the DiskoPigs.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Parts and Tools
- 8 Mini Pig Flashlights (Dealextreme)
- MiniPOV Kit (Adafruit)
- if you have the MiniPOV Kit with 100 ohm (brown black brown) resistors you should substitute R1 to R8 with 47 ohm (yellow purple black) resistors to get a brighter light
- old record disc or similar
- Soldering iron and solder
- small drill
- Diagonal cutters
- Hot glue gun
- optional: Handy Hands / Third hand tool
- Computer with serial port or USB/Serial converter
Step 2: Make the MiniPOV
Make the MiniPOV following the instructions at Ladyada.net, but omit the LEDs. The LEDs will be replaced by the Pig flashlights.
Step 3: Prepare the Pig Flashlights
Open the flashlights:
- Remove the keyring.
- Remove the nuzzle, now you can open the flashlight
- Take off the "heart button".
- Take out the LEDs and remove the coin cells. Save the coin cells for another project.
- Spin the leads of the LEDs together. Mind the polarity: Spin the two anodes together, then the two cathodes.
- Solder one piece of wire to the anodes
- Solder one piece of wire to the cathodes. I recomment to use different colors and make notes of it to easier differ it later.
- Replace the LEDs to the flashlight. Avoid to short-circuit the anodes and cathodes. If you want to keep save use electrical tape.
- Run the wires though the heart.
Ready for the next step!
Step 4: Prepare the Record Disk
- Virtually divide the record disc into 8 sections, one for every flashlight
- Drill two small holes to every section
- Run the wires through the holes and back through the hole in the middle of the record
- Hot glue the pig in place
- Repeat the steps 1 to 4 for every flashlight
- Solder the wires to the MiniPOV, one pair of wires replaces one LED - Mind the polarity!
- Hot glue the MiniPOV and the batterie pack to the record
Step 5: Program the DiskoPigs
- Download the code (attached file: diskopigs.c)
- Rename it to mypov.c
- Download the MiniPOV Firmware for MiniPOV from ladyada.net
- Unzip the firmware and copy the new mypov.c to the firmware directory, overwrite the existing file
- Program the MiniPOV following the instructions on ladyada.net. They give instructions for Windows, Mac and Linux. Just replace "program-minipov" with "program-mypov" in the last step.
Step 6: Custumize
Custumize the code, add a sensor to the MiniPOV to make it sound sensitive, change the patterns if you like and: Share your ideas!
I hope you enjoyed my Instructable and if you build it or something similar post your pictures in the comments! If you have any questions feel free to ask.
Attribution: DiskoPigs is based on MiniPOV3 and the MiniPOV3 Firmware from Adafruit. Its licensed under Creative Commons Attribution Share-alike License.