# Neopixel trinket

**URL:** <https://forums.pimoroni.com/t/neopixel-trinket/2139>\
**Category:** Support\
**Created:** [March 27, 2016, 8:17am UTC](https://forums.pimoroni.com/t/neopixel-trinket/2139 "2016-03-27T08:17:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![djdan00](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@djdan00](https://forums.pimoroni.com/u/djdan00)\
**Post date:** [March 27, 2016, 8:17am UTC](https://forums.pimoroni.com/t/neopixel-trinket/2139/1 "2016-03-27T08:17:31Z")

</div>

I have a neopixel strip that I can run from my raspberry pi.  
I use it as a mood light and wanted to have a simple switch on and it runs and just switch off.  
Is the best way to get a trinket and run it of that? I’m guessing that means I can just switch on at the wall and it runs/lights.

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [March 29, 2016, 4:03pm UTC](https://forums.pimoroni.com/t/neopixel-trinket/2139/2 "2016-03-29T16:03:12Z")

</div>

a trinket would not mind being switches on and off at will from a wall socket, no… sounds like your Pi would be best put to some other use too, but I’m not sure I understood what your current setup is.

---

<div class="post-metadata">

**Author:** ![kingrikk](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@kingrikk](https://forums.pimoroni.com/u/kingrikk)\
**Post date:** [March 29, 2016, 9:49pm UTC](https://forums.pimoroni.com/t/neopixel-trinket/2139/3 "2016-03-29T21:49:30Z")

</div>

A trinket is certainly happy running one of the neopixel strips - even a 3.3v trinket. Obviously you will only have 4 other GPIO pins if you did this, but that’s enough for a button to cycle through colours and brightness for example.

---

<div class="post-metadata">

**Author:** ![stevefoster](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/stevefoster/32/339_2.png) [@stevefoster](https://forums.pimoroni.com/u/stevefoster)\
**Post date:** [March 31, 2016, 8:30am UTC](https://forums.pimoroni.com/t/neopixel-trinket/2139/4 "2016-03-31T08:30:57Z")

</div>

Funny, I have just been playing with the trinket and a strip of neopixels (the crumble 8 LED baton). Look on the ‘learn Adafruit’ part of the adafruit website. For £5 you can buy a Trinket and get it joined to your trinket. For about another £10 you can get a BlueFruit UART Friend and then control the colours through a free App on iOS or Android. So not only will you have another way to run your lights, but also a way to change the colour. Take a look on the Adafruit website at ‘Trinket LED goggles’ for and you should get lots of detail about how to do this kind of thing
