Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Liz - Blitz City DIY
Published © MIT

3D Printed Pop Figure Stand

Display your Pop figures in style with some custom 3D printed parts and pretty NeoPixels.

BeginnerFull instructions provided2 hours786
3D Printed Pop Figure Stand

Things used in this project

Hardware components

Adafruit Trinket M0
Adafruit Trinket M0
×1
Adafruit NeoPixel Strip
×1

Software apps and online services

Mu
Fusion
Autodesk Fusion

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
Hot glue gun (generic)
Hot glue gun (generic)
Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Custom parts and enclosures

Fusion360 File

Thingiverse Download

Code

CircuitPython NeoPixel Rainbow Cycle Example Code

Python
# CircuitPython demo - NeoPixel
import time
import board
import neopixel

pixel_pin = board.D1
num_pixels = 30

pixels = neopixel.NeoPixel(pixel_pin, num_pixels, brightness=0.3, auto_write=False)

def wheel(pos):
    # Input a value 0 to 255 to get a color value.
    # The colours are a transition r - g - b - back to r.
    if pos < 0 or pos > 255:
        return (0, 0, 0)
    if pos < 85:
        return (255 - pos * 3, pos * 3, 0)
    if pos < 170:
        pos -= 85
        return (0, 255 - pos * 3, pos * 3)
    pos -= 170
    return (pos * 3, 0, 255 - pos * 3)

def rainbow_cycle(wait):
    for j in range(255):
        for i in range(num_pixels):
            rc_index = (i * 256 // num_pixels) + j
            pixels[i] = wheel(rc_index & 255)
        pixels.show()
        time.sleep(wait)

while True:

    rainbow_cycle(0.01)  # Increase the number to slow down the rainbow

Credits

Liz - Blitz City DIY

Liz - Blitz City DIY

6 projects • 75 followers
\\ DIY-er on a quest to gather and share knowledge. She/her.

Comments