Pixie Cyber Wig -- Warm White DotStar instead of RGB

Wearable electronics: boards, conductive materials, and projects from Adafruit!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
aagreen
 
Posts: 3
Joined: Mon Feb 08, 2016 5:40 pm

Pixie Cyber Wig -- Warm White DotStar instead of RGB

Post by aagreen »

Hello!

I'm planning on making the Pixie Cyber Wig, but with Warm White LEDs instead of RGB. Is this a large amount of code that I will have to change?

https://learn.adafruit.com/wifi-pixie-c ... n?view=all

Thanks!

A

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: Pixie Cyber Wig -- Warm White DotStar instead of RGB

Post by adafruit_support_bill »

Not really. The different colors will just show up as different intensities of warm white.

User avatar
aagreen
 
Posts: 3
Joined: Mon Feb 08, 2016 5:40 pm

Re: Pixie Cyber Wig -- Warm White DotStar instead of RGB

Post by aagreen »

Thanks!

User avatar
Worfje
 
Posts: 3
Joined: Sun Feb 03, 2019 12:59 pm

Re: Pixie Cyber Wig -- Warm White DotStar instead of RGB

Post by Worfje »

Sorry to bump this old post, but it gave an answer I was looking for.

In regard to color dotstar led strips, there is no specific code example for the warm 'monochrome' dotstar led strips (currently with ids 2434 and 2437 for 144 leds/m versions).
Would it be possible to add code to the existing example (maybe commented out) in case of having a monochrome dotstar led strip?

The current DotStar library (version 1.0.4) supports MONO and COLOR. I haven't yet received the hardware to test my assumption, but it seems that I still need to select DOTSTAR_BRG when calling function Adafruit_DotStar in case of above type of 'monochrome' dotstar led strips.
Will this library be updated for monochrome dotstar strips?

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: Pixie Cyber Wig -- Warm White DotStar instead of RGB

Post by adafruit_support_bill »

At the moment, the library does not have explicit support for monochrome operation. But it is relatively straightforward to use as-is.

The 3 (normally RGB) led channels on each pixel are all white. You can use this in a few different ways depending on the needs of your application:
* The simplest way is to send the same value (0-255) to all three channels per pixel. That will give you 255 levels - up to maximum intensity.
* You can send the value (0-255) to just one of the three channels for each pixel. That will give you 255 levels - but use just 1/3 of the power.
* You can send different values to each of the 3 channels - effectively giving you higher resolution control of the per pixel intensity level.

User avatar
Worfje
 
Posts: 3
Joined: Sun Feb 03, 2019 12:59 pm

Re: Pixie Cyber Wig -- Warm White DotStar instead of RGB

Post by Worfje »

Thanks for the response Bill!

User avatar
HOn3trainguy
 
Posts: 4
Joined: Mon Apr 22, 2019 8:01 pm

Re: Pixie Cyber Wig -- Warm White DotStar instead of RGB

Post by HOn3trainguy »

I only get intensity changes when I adjust the B, R and G values to not effect the intensity. Warm White Dotstar
I am using
strip.setPixelColor(0, (255, 255, 255)); //3 white
strip.setPixelColor(1, (255, 255, 0)); // 2 white
strip.setPixelColor(2, (0, 0, 255)); // 1 white
strip.setPixelColor(3, (0, 127,127)); // 2 1/2 whites
strip.setPixelColor(4, (0, 63, 63)); // 2 1/4 whites
strip.setPixelColor(5, (0, 63, 0)); // 1 1/4 white
strip.setPixelColor(6, (0, 32, 32)); // 2 1/8 white
strip.setPixelColor(7, (0, 32, 0)); // 1 1/4 white

Pixel 1 , 5, 7 are completely off.
Not sure what is wrong. Strandtest runs fine.

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: Pixie Cyber Wig -- Warm White DotStar instead of RGB

Post by adafruit_support_bill »

I only get intensity changes when I adjust the B, R and G values to not effect the intensity.
Please explain what you mean by that.
Pixel 1 , 5, 7 are completely off.
Please post your complete code.

User avatar
HOn3trainguy
 
Posts: 4
Joined: Mon Apr 22, 2019 8:01 pm

Re: Pixie Cyber Wig -- Warm White DotStar instead of RGB

Post by HOn3trainguy »

Only the value of B seems to matter. I can make R and G values any number and they have no effect.

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: Pixie Cyber Wig -- Warm White DotStar instead of RGB

Post by adafruit_support_bill »

Sounds like they've combined the channels - probably to simplify manufacture. The one I have here is a few years old and acts like an RGB strip - only with all channels white.

User avatar
HOn3trainguy
 
Posts: 4
Joined: Mon Apr 22, 2019 8:01 pm

Re: Pixie Cyber Wig -- Warm White DotStar instead of RGB

Post by HOn3trainguy »

Can an Arduino sketch run both Dotstar and Neopixels ? Will the libraries have problems or the interrupts mess things up? I have a strip of Dotstars and ring of Neopixels I would like to run off the same Arduino
Thanks

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: Pixie Cyber Wig -- Warm White DotStar instead of RGB

Post by adafruit_support_bill »

Dotstars and Neopixels require different libraries. So the code itself is not completely interchangeable. But there is no reason you can't combine code for both in a single sketch.

Locked
Please be positive and constructive with your questions and comments.

Return to “Wearables”