Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by...

26
Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC

Transcript of Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by...

Page 1: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

Free-Wired 3x3x3 NeoPixel CubeCreated by Rick Winscot

Last updated on 2016-11-20 06:56:21 AM UTC

Page 2: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

23357

121925

Guide Contents

Guide ContentsOverviewParts!3D Print the BaseLED LayoutSolder-blingBrainzLight-em' Up

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 2 of 26

Page 3: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

OverviewNeoPixels are amazing... they simplify lighting projects and can be driven by a wide varietyof microcontrollers.

That's right, no shift registers, charlieplexing, or fancy setups. Just one pin! This makesthem great for something complex-shaped like a 3D cube

The 3x3x3 cube is crazy bright... and wicked awesome!

Parts!For this project you'll need

27 x Thru-hole NeoPixels (if you get 30 you'll have spares in case you needthem) (http://adafru.it/dpE)Something to drive them, like a Trinket 5V (http://adafru.it/dsH)5V 2A power supply is plenty (http://adafru.it/dsI)

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 3 of 26

Page 4: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

On/Off Power button (http://adafru.it/dh0)DC panel-mount jack (http://adafru.it/dsJ)Wire, solder, soldering iron, hand tools...

A 3D printer can print out the custom base, or you can craft something custom with woodor cardboard

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 4 of 26

Page 5: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

3D Print the BaseThese bases were designed to serve as a soldering template as well as a case for yourelectronics. You will need one cover, one base, and nine posts.

Print em' up and let's get started!

3D Models (.stl files)http://adafru.it/dsK

For the 5X5 cube, you will need one cover, one base, and twenty-five posts.

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 5 of 26

Page 6: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

3D Models (.stl files)http://adafru.it/dsL

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 6 of 26

Page 7: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

LED LayoutHere are two options to consider for your cube... Soldering Sunday (http://adafru.it/dsM)LEDs have stout legs with a distinct pattern that might help prevent wiring errors.

Traces will have to stack vertically to prevent crossing connections... especially the signal.

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 7 of 26

Page 8: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

Adafruit has some nice 'leggy' LEDs (http://adafru.it/1734) that can help simplify ground /power connection hook-up.

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 8 of 26

Page 9: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

If the distance between LEDs is roughly the length of one of the legs, hook-up of power andground is going to be easy peasey.

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 9 of 26

Page 10: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

Stack each new level by matching the signal out of the lower level to the signal in of thelevel above. Add vertical connections for power and ground... completing the structure ofthe cube.

Be creative... and sketch out a couple wiring diagrams before you start soldering.

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 10 of 26

Page 11: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 11 of 26

Page 12: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

Solder-blingInsulation on the wire will compete with the LEDs visually...

You're going to need a mile of this stuff; make your segments as long as possible.

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 12 of 26

Page 13: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

Rosin core solder will work a treat... or you can use a flux pen.

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 13 of 26

Page 14: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

Follow your template as you solder, making sure that each joint is strong and doesn't bridgeany of the LED legs.

Soldering on the outside gives you a little more space and can help prevent short circuits.

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 14 of 26

Page 15: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

Time to solder the lines that drive your cube: power, ground, and signal-in.

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 15 of 26

Page 16: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

Pass those connections through one of the posts and into the base.

Add a bit of hot glue to each of the corners / posts.

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 16 of 26

Page 17: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

At this point you may want to solder a temporary connection to the cube, and run a'strandtest' to make sure that everything is hooked-up correctly.

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 17 of 26

Page 18: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 18 of 26

Page 19: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

BrainzThere are so-many awesome choices to drive your cube... Arduino UNO, Micro, Trinket,and Gemma to name a few.

The smaller microcontrollers will fit in either base, whereas the UNO will only fit in thelarger of the two.

Let's give Trinket a try!

Grab a barrel socket and your on/off switch.

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 19 of 26

Page 20: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

Solder short leads to the barrel connector.

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 20 of 26

Page 21: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

Solder one short ground connector to the on/off switch. The other lead on the switch willcombine the ground from the NeoPixels and barrel connector.

We will solder those after these two components are installed in the base.

A bit of shrink-tube makes things look nice and can help prevent shorting.

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 21 of 26

Page 22: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

Install the barrel connector and on/off switch... a little hot glue on both will make thingspermanent.

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 22 of 26

Page 23: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

After installing the two components you can finish soldering power and ground through theon/off switch.

The end-product would look something like this... I made the mistake of cutting some of mywires a little short.

I decided to combine the ground connections on the on/off switch and power on the barrelconnector.

bare wire = pin #0 (NeoPixel signal in)yellow = power (BAT pin)black = ground

If everything checks-out, glue the base cover in place and lets pump some electronsthrough this thing!

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 23 of 26

Page 24: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 24 of 26

Page 25: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

Light-em' UpNo fancy coding needed to make this cube dazzle everyone... the standard Neo Pixel'strandtest' does the job nicely!

© Adafruit Industries https://learn.adafruit.com/free-wire-3x3x3-neopixel-cube Page 25 of 26

Page 26: Free-Wired 3x3x3 NeoPixel Cube - Adafruit Industries · Free-Wired 3x3x3 NeoPixel Cube Created by Rick Winscot Last updated on 2016-11-20 06:56:21 AM UTC. 2 3 3 5 7 12 19 25 Guide

© Adafruit Industries Last Updated: 2016-11-20 06:56:20 AM UTC Page 26 of 26