My BlinkM MaxM doesn't work properly in HSB.
If I give it H, S, B values of 0, 0, 255, it doesn't light up white - it lights up magenta. A tiny bit over zero (I haven't tried to figure out exactly what the threshold is) for saturation and the green LED turns on, but at zero, only the red and the blue light up. Any suggestions?
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?There is a bug in the BlinkM HSB algorithm when saturation isn't 255 and at some edge cases like you're noticing. Right now, the workaround is to use RGB mode. In a future firmware update, the HSB implementation will be improved. This update will be available in a month or so and you'll be able to apply it yourself if you have an AVRISP programmer. Apologies for the issue.
If you have a programmer and would like to try out a beta of the new firmware right now, email me at blinkm @ thingm.com. -
Inappropriate?Okay. That actually makes me feel a little bit better - reassures me that my code isn't flawed, and that my BlinkM isn't fried somehow. I don't have an AVRISP, but I can Google and code my own HSB to RGB conversion algorithm now that I know what's going on.
Also, I'm utterly floored by the speed of your response. Thanks!
I’m content.
-
Inappropriate?Yeah, if you're doing the conversion on a larger computer, you can use floating point and one of the many good floating point implementations out there. I've found the Wikipedia page on HSB to RGB conversion to be helpful from a theoretical point of view too.
A workaround that might work for you is in your code check for 0 saturation and set the R,G,B values all to the brightness, e.g.:
if( saturation == 0 ) {
red = blue = green = brightness;
BlinkM_fadeToRGB(red,green,blue);
}
else {
BlinkM_fadeToHSB(hue,saturation,brightness);
}
Loading Profile...



EMPLOYEE