Milk Jug Glow Skull. Created by John Park. Last updated on :28:36 PM UTC

Similar documents
HalloWing Jump Scare Trap

The Scream: Interactive Screaming Painting

Adabot Operation Game

Stumble-Bot. Created by Dano Wall. Last updated on :04:06 AM UTC

Crickit Dancing Marionette Kit Created by Dano Wall. Last updated on :03:11 PM UTC

Crickit Powered Mini Chair Swing Ride!

Clockwork Goggles. Created by John Park. Last updated on :03:10 PM UTC

Reindeer Mask with Animated Eyes

UFO Flying Saucer with Circuit Playground Express

NeoPixel Bike Light. Created by Ruiz Brothers. Last updated on :43:46 PM UTC

Spinning Disc Step Sequencer

Slider Crank Mechanism -- from Cardboard and Craft Sticks

PyPortal NeoPixel Color Picker Created by Kattni Rembor. Last updated on :42:41 PM UTC

Glowing Smokey Skull. Created by Ruiz Brothers. Last updated on :03:40 PM UTC

BLE Light Switch with Feather nrf52840 and Crickit

Neon LED Signs. Created by John Park. Last updated on :11:09 PM UTC

Trash Panda. Created by Dano Wall. Last updated on :30:46 AM UTC

Mad Science Test Tube Rack

PyPortal View Master Created by Ruiz Brothers. Last updated on :51:28 AM UTC

Guardian Shield+ Zelda Breath of the Wild

Android GBoard Morse Code Control with Circuit Playground Express

Hammer Time Mini Golf Hazard with Crickit

Trinket NeoPixel LED Longboard

Infinity Mirror Valentine's Candy Box

Crawling Animatronic Hand

Portable Apple Watch Charger

Bunny Ears with MakeCode

Tent Lantern. Created by Timothy Reese. Last updated on :17:25 AM UTC

Crickit Carnival Bumper Bot

Paper Airplane Launcher

Crickit Powered Holiday Diorama

LED Eyes. Created by Ruiz Brothers. Last updated on :50:55 AM UTC

Overwatch Prop Gun: Lucio's Blaster Pt. 3

Ping Pong Ball Launcher

Interior Purse Light. Created by Becky Stern. Last updated on :41:08 PM UTC

Pushrod Garage. Created by John Park. Last updated on :07:30 PM UTC

Sword & Wand Prop Effects with Circuit Playground

Crawling Baby Sea Turtle Robot

Con Badge with Circuit Playground Express

NeoMatrix 8x8 Word Clock

Simple LED Unicorn Horn

CircuitPython Snow Globe

3D Printed Camera LED Ring

7 Portable Multitouch Raspberry Pi Tablet

Feather Weather Lamp. Created by Ruiz Brothers. Last updated on :54:26 PM UTC

Naughty or Nice Machine

Adafruit LED Sequins. Created by Becky Stern. Last updated on :02:00 AM UTC

3D Printed Google AIY Voice Kit

Circuit Playground Express Head-Tilt Ears

Fiddy - the FTDI Clip

Circuit Playground Express Laser Tag

No-Sew LED Wristband. Created by Kathy Ceceri. Last updated on :23:40 PM UTC

Fiddy - the FTDI Clip

NeoPixie Dust Bag with Circuit Playground Express

Wind Blowing Emoji Prop

NeoPixel Ring Bangle Bracelet

Bluetooth Controlled NeoPixel Headphones

LED Lightbox. Created by Sam Clippinger. Last updated on :50:00 AM UTC

Joy Featherwing. Created by Dean Miller. Last updated on :03:07 PM UTC

CircuitPython Media Dial

Circuit Playground Yoyo

Magical Mistletoe. Created by Leslie Birch. Last updated on :45:29 PM UTC

Mini Golf Course with Circuit Playground and Crickit

3D Printed Case for Adafruit Feather

NeoPixel Basketball Hoop

Adafruit GPIO Expander Bonnet for Raspberry Pi Created by Kattni Rembor. Last updated on :12:47 PM UTC

Prophet 600 GliGli mod

Mystical LED Halloween Hood

CPX Mystery Dreidel. Created by Kathy Ceceri. Last updated on :51:40 PM UTC

Adafruit AMG8833 8x8 Thermal Camera Sensor

Jewel Hair Stick. Created by Leslie Birch. Last updated on :47:17 PM UTC

i2c/spi LCD Backpack Created by lady ada Last updated on :11:04 PM UTC

Steven Universe Cosplay Shirt & Gem Created by Erin St Blaine. Last updated on :54:25 PM UTC

New Years Eve Ball Drop Created by Ruiz Brothers. Last updated on :22:24 PM UTC

TRON Bag. Created by Becky Stern

Audio Prank Gift Box. Created by Becky Stern. Last updated on :46:15 PM UTC

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout

Data Logging with Feather and CircuitPython

Solar Boost Bag. Created by Becky Stern. Last updated on :44:55 PM UTC

Snake Charmer Box. Created by Dano Wall. Last updated on :07:25 PM UTC

Light-Up Angler Fish Embroidery

NeoPixel Fairy Crown. Created by Erin St Blaine. Last updated on :22:47 AM UTC

Adafruit Mini TFT " 160x80

Celebration Spectacles

DIY Circuit Playground Shields

Adafruit CCS811 Air Quality Sensor

Phone-Activated Talking Dog Collar

Adafruit Capacitive Touch Sensor Breakouts

Kaleidoscope Eyes (Trinket-Powered NeoPixel LED Ring Goggles)

Easy Sparkle Pocket T-Shirt

Bike Wheel POV Display

Adafruit APDS9960 breakout

Galaxy Pendant. Created by Erin St Blaine. Last updated on :44:15 PM UTC

NeoPixel Manicure. Created by Sophy Wong. Last updated on :50:38 PM UTC

Boomy The Boombox. Created by Ruiz Brothers. Last updated on :52:13 PM UTC

Getting Started with FLORA

3D Printed 20w Amplifier Box

3D Printed LED Goggles

FLORA TV-B-Gone. Created by Becky Stern. Last updated on :32:57 PM UTC

7" Portable HDMI Monitor

Transcription:

Milk Jug Glow Skull Created by John Park Last updated on 2018-09-14 09:28:36 PM UTC

Guide Contents Guide Contents Overview Parts Materials & Tools Optional Skull/Sculpting Stand Build the Skull Prep the Reference Skull Glue the Jaw Mount the Skull Prep the Milk Jug Heat and Press Remove Skull from Form Wire the HalloWing LED Eye Holders Wire the LEDs NeoPixel Strip Speaker and Power Code with CircuitPython CircuitPython Setup Libraries Sound Files Code 2 3 3 4 4 5 7 8 8 9 14 16 18 19 21 22 23 25 25 25 25 25 Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 2 of 26

Overview Want a translucent, colorful, brightly glowing skull, but all you can find at the store is the usual opaque plastic skull? Not to fear! You can harness the power of heat to melt and form a common HDPE (high-density polyethelene) milk jug into a great light-diffusing Milk Jug Glow Skull! You can then light the Glow Skull from within using a strip of NeoPixels. The HalloWing will provide flickering animation to the pixels, and a couple of 10mm LEDs and holders serve as menacing, blinking eyes! A small speaker is used to play growls and yells. Parts Here are the parts you'll need: 1 x Adafruit HalloWing M0 Express Skull-shaped ATSAMD21 board w 1.44" 128x128 TFT display OUT OF STOCK 1 x NeoPixel Strip 0.5 Meter with 3-pin JST connector OUT OF STOCK 1 x 5V 2.5A Switching power supply with 20AWG MicroUSB Cable ADD TO CART 1 x Mini Oval Speaker - 8 Ohm 1 Watt Mini Oval Speaker - 8 Ohm 1 Watt 1 x Diffused Red 10mm LED Pack of 25 ADD TO CART ADD TO CART 1 x 10mm Plastic Bevel LED Holder Pack of 5 ADD TO CART 1 x Premium Female/Male 'Extension' Jumper Wire 20 x 3" ADD TO CART Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 3 of 26

Materials & Tools In addition to the above parts, you'll also need these materials and tools: Decorative skull made of thick plastic (too thin and it won't resist the heat, and thus melt) One gallon HDPE jug -- milk, juice, and water come in these jugs, just check the bottom for the letters 'HDPE' Sponge Bowl of water Heat gun Hobby knife or box cutter Optional Skull/Sculpting Stand You can optionally build a skull stand to make working on the heat forming part of the project a bit easier. For this you'll want: 12" diameter, 3/4" thick plywood round for the base 3/4" O.D. black pipe, 12" long, threaded on both ends Black pipe flange for 3/4" pipe, threaded Black pipe cap for 3/4" pipe Wood screws Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 4 of 26

Build the Skull The process of making the heat-formed milk jug skull is straightforward -- you'll be using a heat gun to melt the HDPE plastic until it starts to become transparent, then press it into the details of the reference skull using a damp sponge. The sponge molds the plastic into the shape of the underlying form and cools it once it's in place. Below are some process photos to give you the gist of it, then we'll go into more detail! Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 5 of 26

Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 6 of 26

Prep the Reference Skull If you plan to fit the original skull onto a stand, you may need to cut a hole in the base first. Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 7 of 26

Glue the Jaw The original prop skull may have a movable jaw -- you can use a bit of hot glue to keep it from moving. Mount the Skull If mounting the skull, place a bit of hot glue on the top of the stand and then fit the skull onto it. Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 8 of 26

Milk jugs match the shape of skulls for reasons THEY DON'T WANT YOU TO KNOW Prep the Milk Jug Mark a line around the neck and handle of the jug, then cut this part off with a hobby knife. Then, to allow the jug to fit over the original skull, cut a slit from the base in the back up to the top of the skull. NOTE: the milk jug is now oriented upside down to match the shape of the skull. Cut a few slits where the jug will fit under the jawline. Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 9 of 26

Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 10 of 26

Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 11 of 26

You can now fit the milk jug over the skull. Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 12 of 26

Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 13 of 26

Heat and Press Your now ready to heat the plastic and press it into the original skull like a mold or form. Use the heat gun on high heat setting, and move it around a small area, such as the forehead or eye socket until the plastic becomes clear. Then, wet and ring out your sponge so it is damp but not dripping. Press the melted plastic into place. You'll repeat this until you're finished! This timelapse will give you an idea of what the process looks like. Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 14 of 26

Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 15 of 26

Remove Skull from Form Use a hobby knife to slit the top of the skull toward the back and down. Peel the new skull off of the form skull. Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 16 of 26

Next, we'll wire up the lights and sound! Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 17 of 26

Wire the HalloWing Here's how we'll wire the NeoPixels, 10mm eye LEDs, and speaker. Power will be provided by a power supply plugged into the HalloWing's USB port. Don't plug the LEDs into the 3V output of the HalloWing, instead use a digital pin, such as D13, which has current limiting built in. Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 18 of 26

Not shown here: the 8 ohm speaker LED Eye Holders Mark two spots on the eye sockets for the LED eyes to go. Puncture the holes and then widen them with a tapered tool, such as a screwdriver handle until they're just wide enough to press fit the LED holders. Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 19 of 26

Wire the LEDs Wire the LEDs by pushing their legs into the ends of the wire jumpers as shown. The long, anode legs of the LEDs go to positive (D13) and the short, cathode legs to ground (G) so keep track of the wire colors you use! Push the LEDs into their holders. Note: the holders may pop out from the sockets as the LEDs go in, then you can push the holders back in place. Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 20 of 26

Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 21 of 26

Next, plug in the jumper wires as shown, with the anode leg wires in D13 and the ground leg wires into G for ground. NeoPixel Strip Now, you can plug the NeoPixel strip into the NeoPixel port on the HalloWing, then loop the strip into the skull. Face the pixels inward to avoid seeing too many individual light sources. Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 22 of 26

Speaker and Power Finally, plug in the speaker and USB micro/b cable for programming and tuck the electronics into the skull. Next we'll be programming the HalloWing. Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 23 of 26

Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 24 of 26

Code with CircuitPython CircuitPython Setup To get started, you'll want to set up your HalloWing by following this guide (https://adafru.it/cmj). When you're ready, and can upload code to the board return here. Adafruit really likes using the Mu editor to edit the CircuitPython code. See this guide on loading and using Mu (https://adafru.it/ano). Libraries You'll also need to add a code library for this project. Follow this guide (https://adafru.it/cqa) on adding libraries. The only one you'll need is the neopixl.mpy file from the Circuit Python bundle in the 'lib' folder, so just drag it from your downloaded, unziped 'lib' folder onto the HalloWing. Sound Files The code was designed to call on seven different sound effects. These growls and screams come to us courtesy of the Creative Commons 3.0 licensed sound pack by Freesound.org user enochrooted (https://adafru.it/cwd). Download this zip file and uncompress it to get the sounds. Drag the.wav files onto your HalloWing (it will show up as the USB drive CIRCUITPY). https://adafru.it/cwe https://adafru.it/cwe Code Here is the code we'll use. Copy it and then paste in Mu. Save it to your HalloWing as code.py import time import board import digitalio import audioio import neopixel # user variables pix_rate = 0.03 # Increase the number to slow down the color chase blink_times = 2 # number of times the eyes blink between color chases blink_speed = 0.1 # speed of the blinks, lower numbers are faster rest_time = 3 # time between color changes e.g. '3' = 3 sec, '300'= 5 mins. # setup NEOPIXEL_PIN = board.external_neopixel NUM_PIXELS = 30 pixels = neopixel.neopixel(neopixel_pin, NUM_PIXELS) led = digitalio.digitalinout(board.d13) led.direction = digitalio.direction.output led.value = True time.sleep(0.5) Adafruit Industries https://learn.adafruit.com/milk-jug-glow-skull Page 25 of 26

time.sleep(0.5) ORANGE = (255, 30, 0) PURPLE = (200, 0, 255) RED = (255, 0, 0) GREEN = (0, 255, 0) BLACK = (0, 0, 0) COLORS = [ORANGE, PURPLE, RED, GREEN, ORANGE, PURPLE, RED] pixels.fill(orange) pixels.show() def color_chase(color, wait): for i in range(num_pixels): pixels[i] = color time.sleep(wait) pixels.show() def blink(times, speed): for _ in range(times): led.value = False time.sleep(speed) led.value = True time.sleep(speed) def play_waves(file_num): wave_file = open(wave_files[file_num], "rb") # open a wav file wave = audioio.wavefile(wave_file) audio.play(wave) # play the wave file while audio.playing: # allow the wav to finish playing pass wave_file.close() # close the wav file wave_files = ["alex_deepgrowl1.wav", "alex-highgrowl1.wav", "alex-squeal1.wav", "toni-deepgrowl.wav", "toni-highgrowl2.wav","toni-pigsqueal.wav", "toni-pitchedscream2.wav"] audio = audioio.audioout(board.a0) while True: for k in range(len(wave_files)): blink(blink_times, blink_speed) color_chase(colors[k], pix_rate) play_waves(k) time.sleep(rest_time) With the code uploaded to your HalloWing you can now turn down the lights and get ready for the wonderful creepiness of your Milk Jug Glow Skull! Perfect for decorating for Halloween, or even year-round! Adafruit Industries Last Updated: 2018-09-14 09:28:34 PM UTC Page 26 of 26