Introduction: LGBTQIA+ Gender Pride Light (Neopixel)

Picture of LGBTQIA+ Gender Pride Light (Neopixel)

This project was inspired by my BisexuaLED instructable. It uses 3D printed gender symbols, a Neopixel LED ring, and an Adafruit Trinket to display various pride color patterns. Originally, I hoped to use RGB LEDs for the bi-pride project and provide a variety of cases, but I didn't know how to use RGB LEDs confidently. Thankfully, Adafruit's NeoPixel's make programming different pride colors and patterns easy, even for electronics novices like me ;)

Knowing this, I wanted to make something for the broader LGBTQIA+ community in addition to the BisexuaLED project. Although I recognize that I'm privileged as a visibly white cisgender man, I consider myself a feminist ally to many who identify along a broad spectrum of genders, races, and sexual identities. I am aware that for many of these friends and allies, their identities are not always as visible as my own, hence the need for a project that represents this diverse spectrum of gender and sexual identities. Therefore, I included several members of the LGTBQIA+ community while designing this project to best suit their desires regarding cases and pride colors.

I welcome your constructive feedback, critique, and remixes! Let's make some lights!

Total Time: 3-6 hours

Skills Needed: Soldering, 3D printing, Arduino programming (if modifying the provided code)

Approximate Hardware Cost: $33 (Trinket + NeoPixel Ring + Power Supply + Headers)

Step 1: Materials

Picture of Materials

PPE

  • Safety Goggles

Tools

  • Wire stripper
  • Wire cutter
  • Soldering iron
  • 3D printer (if printing enclosure yourself)
  • Box cutter, Exacto knife, file, or sandpaper (for trimming and fitting printed parts)

Optional:

  • Solder sucker/braid for soldering mistakes
  • Helping hand

Materials and Components

Step 2: Before Continuing...

Before continuing with this project, you'll need to (download and install the Arduino IDE), add support for Trinket (detailed in the same guide) and (install drivers for the Adafruit Trinket if you're using Windows). Additionally, if you're unfamiliar with NeoPixels or haven't previously installed the NeoPixel library for Arduino, check out Adafruit's guide.

Step 3: Print Your Enclosure of Choice

Picture of Print Your Enclosure of Choice

You'll need to print your preferred case and base from my Thingiverse collection (or modify/design as you please)

I printed a female case for a friend using Printrbot's "Natural" translucent PLA filament at 0.2mm layer height to balance the visibility of the LEDs, print time for the case, and the surface finish. This project should work with any filament though, even if it's a solid color, but you might need to adjust the print settings for LED visibility. My print settings for each case are included in their Thingiverse descriptions. I was able see the neopixel ring through the case when it's turned off, but I was okay with that. If you prefer a more diffuse glow and don't want the ring to be visible from the outside though, you can always sand the front of the case gently (or insert the neopixel ring facing the rear of the case).

Step 4: Program the Trinket

Picture of Program the Trinket
  1. Download (or copy and paste) the code for your preferred pride pattern from the bottom of this step.

    I'm not the best coder in the world, but I tried to modify and develop a range of patterns for different identities. If you spot a bug or have an idea for a pattern, please optimize, share, remix, and build on this code to your heart's content!

  2. Open the .ino file or copy and paste the code into a new Arduino sketch.
  3. Adjust two key settings within the sketch, PIN (the output pin) and the number of pixels:
    1. PIN, in line 6, defines the output pin for the trinket (I used "0"). This value needs to match the output pin you connect/solder to in Step 7, otherwise, the lights won't display.
    2. The number of pixels in the ring is defined as an argument in line 16. I used 16, since I'm using a 16-LED neopixel ring (24 for a 24 LED ring, 12 for 12, etc.)
  4. Before uploading, select the Trinket 8 MHz board from the Tools--> Board menu, and select USBtinyISP from the Tools--> Programmer menu (as explained in the Adafruit Intro to Trinket guide).
  5. Verify your code.
  6. Connect your trinket to your computer via USB, and wait for the green power LED to light and the red LED to blink.
  7. Press the "reset" button on the Trinket (the red LED should blink).
  8. Click "Upload" in the Arduino IDE while the red LED is blinking.

If all goes well you'll receive a confirmation message in the Arduino IDE, and your trinket is programmed! You still won't see any flashy light patterns, but don't worry since we'll test that everything is working in Step 7.

If you saw an error message in the Arduino window, see the Adafruit Trinket guide for troubleshooting common errors.

Step 5: Solder Leads to the Neopixel Ring

Picture of Solder Leads to the Neopixel Ring
  1. Cut one length of jumper wire to about 3 inches, and two more lengths to about 4.5 inches each. The shorter wire will be the 5v power lead, while the two longer pieces will be for ground and data input. (I didn't do this correctly the first time and I cut all three wires to 3 inches... I had to extend them later. This made it hard to feed the wires through the case because of the bulky heat shrink coating, but after a little drilling I fit them through.)
  2. Using wire strippers, strip 1/4 inch of insulation from each end of the three wires.
  3. Note: Make sure to place the leads for the wires through the front of the ring and solder on the back, as pictured to avoid accidentally shorting any LEDs!
  4. Place the short wire through the Power 5V DC hole of the neopixel board (from the front), and solder in place as shown.
  5. Place one end of one of the longer wires through the front of the Power Signal Ground hole in the neopixel board as shown, and solder.
  6. Place the second long wire through the Data Input hole of the neopixel board (from the front), and solder in place.
  7. Trim any excess wire that is sticking up from the board.
  8. Optional: Adafruit recommends soldering in a 1000 uF capacitor on the power wire, and a 300-500 Ohm resistor on the data input wire to "reduce NeoPixel burnout risk." I skipped this step in my build since I haven't had any issues with this small, low-power project. But, I'm still new to electronics, so YMMV. That said, there should be enough room in the case to add in a capacitor and resistor as long as you plan ahead when soldering, though the components may get a bit warm.

Step 6: Solder Headers to the Trinket

Picture of Solder Headers to the Trinket

This step is technically optional, but it makes things easier to assemble and lets you swap the case without having to resolder everything. Plus, I might want to reuse the Trinket for future projects ;)

If you really want to solder a connection directly to the Trinket, skip to Step 7 for assembly (or Step 8 for prepping the enclosure), and then return to Step 4 to test the program.

To attach the headers:

  1. Count how many headers you need from the strip. I cut them to length (five) for each side of the trinket since I'll reuse this board later.
  2. Remove the next pin in the header with a pair of pliers (e.g. if you need 5, remove the pin from the 6th slot).
  3. (Remember to wear safety goggles!) Cut the empty spot with wire cutters and file the rough edge.
  4. Line up the pins with the holes in the Trinket, making sure the plastic side is up (on the same side as the Trinket reset button).
  5. Solder the pins in place. This can be done a little more easily by connecting the male headers that come with the Trinket to the female headers, and putting everything upside down in a breadboard, cardboard, foam, etc. (see picture above).

Step 7: Connect the NeoPixel Ring and Trinket

Picture of Connect the NeoPixel Ring and Trinket

Note: If you are not using female headers on the Trinket, skip ahead to Trimming and Assembly before soldering!

  1. Connect the Ground wire from the neopixel ring to the Gnd (ground) pin of the Trinket.
  2. Connect the Data Input wire from the ring to #0 on the Trinket (or your preferred data out pin)
  3. Connect the Power 5V DC wire from the ring to the 5V pin of the Trinket
  4. In order to avoid frying anything, before powering the Trinket, make sure to double check that you've connected the correct wire to each pin (e.g. ground to ground, data input on ring to 0 on trinket, power to power).
  5. Connect the Trinket to the 5V power supply.
  6. Plug in the power supply, and you should see a colorful pattern of lights! Now that you know the circuit works, it's time to assemble everything.

Troubleshooting (if things didn't light up)

  1. If the lights aren't blinking correctly, unplug the Trinket from the wall and double check your connections.
  2. If the connections are okay, plug the Trinket back in and hit the "reset" button.
  3. If it still fails, check to make sure the program uploaded correctly and that you adjusted the settings properly within the code.
  4. If you don't see a blinking red light on the Trinket after hitting "reset" and nothing is working, the board might've been fried or damaged during soldering, and you'll probably need a new Trinket :(

Step 8: Trimming the Enclosure

Picture of Trimming the Enclosure

The 3D printed case has pretty tight tolerances since it's a press-fit design, so you'll probably need to trim and sand away some of the excess plastic. Remember, it's easier to trim away a little and then check if it
fits, rather than cutting too much (don't force anything either, PLA snaps).
You shouldn't need to cut more than about a millimeter from any part. You'll likely need to sand or trim the areas shown above.

Step 9: Assemble the Enclosure

Picture of Assemble the Enclosure

Now that your neopixel ring circuit is working and your case is finished, it's time to assemble everything.

Note: If things don't fit together easily, don't force them! PLA snaps rather than bending, so if the fit is too tight, sand away a little more plastic and try again.

  1. Disconnect the neopixel wires from the headers on the Trinket, noting the color of each wire for re-assembly.
  2. Place the neopixel ring inside the case, with the LED's facing down and the wires wrapped to the back side of the ring (as pictured above).
  3. Snap the case cap into place, ensuring everything fits properly. If things are too snug, try adjusting the wires or trimming the case a bit.
  4. Route the wires from the gender case through the hole in the base.
  5. Snap the assembled case into the base.
  6. Reconnect the wires from the neopixel ring to the Trinket. Note: If you didn't use headers, connect the wires from the neopixel ring to the Trinket and solder (ground to ground, 5v to 5v, data input to #0 on the Trinket).
  7. Slide the Trinket into the middle slot in the base cap.
  8. Attach the power supply cable to the Trinket.
  9. Slide the base cap over the base.
  10. Plug the power supply into an outlet.
  11. Take pride in your accomplishment, show off to your friends and allies, and bask in the bright glow of your LGBTQIA+ gendered pride light!

Comments

1448545 (author)2017-05-15

i'm a lesbian, and i love this

moihawk (author)2016-12-30

rad! "activist or maker?" what a silly question..... Jtsherri1 just IS.....

dmosser (author)2016-10-11

Activist or Maker ?

jtsherri1 (author)dmosser2016-10-11

I think that it's impossible to separate the two. Everything that we make reinforces or challenges ideas, beliefs, systems, etc. And generally, we make things in response to something, intentionally or otherwise, so it's a matter of crafting that response in a fitting and meaningful way.

dmosser (author)jtsherri12016-10-12

Yep,,,, Activist.

Spawnholio666 (author)2016-10-07

Cool.

jtsherri1 (author)Spawnholio666 2016-10-11

Thank you!

Jean MaeA (author)2016-10-10

nice.. :)

jtsherri1 (author)Jean MaeA2016-10-11

Thanks!

About This Instructable

1,522views

22favorites

License:

Bio: Technical communicatorhetorician and maker interested in digital rhetoric, 3D printing, usability, and feminism. ENGL Graduate Instructor at Purdue University. @jtsherri on Twitter and Instagram
More by jtsherri1:Purdue ENGL 106 FA 2016LGBTQIA+ Gender Pride Light (Neopixel)BisexuaLED: Twitter Responsive Pride Light v2/2
Add instructable to: