fiduciary

Author Topic: 5A NeoPixel Color Calculator  (Read 4348 times)

0 Members and 1 Guest are viewing this topic.

Offline Kouri

  • No Force
  • *
  • Posts: 39
  • ~
5A NeoPixel Color Calculator
« on: 3 years ago »
I've heard a single color on a 2-strip NeoPixel blade can easily eat up 5-6A of current, and a full-blast white can trip the protection circuit on some cells.

I whipped up a quick calculator that (in theory) should give Plecter RGB values for mixed-colors that won't eat up any more power than a full-blast single color.

Still putting my first blade together, but I figured I'd share this now to get some feedback:

Low-Power Color Selector
« Last Edit: 3 years ago by Kouri »

Offline erv

  • Plecter Labs Inc. "Keeper of the Buttered Toast"
  • Manufacturer
  • Master Force User
  • *
  • Posts: 4797
  • Formerly known as Irvin PLECTER
    • Plecter Labs - Props Electronics
Re: 6A NeoPixel Color Calculator
« Reply #1 on: 3 years ago »
thank you for sharing !

Offline SA22C

  • No Force
  • *
  • Posts: 43
  • Don't Panic
Re: 6A NeoPixel Color Calculator
« Reply #2 on: 3 years ago »
Erv,

Are there any concerns for running the neopixel strips at lower drive values?  In your manual, you caution against running the standard in-hilt LEDS at values lower than 80%.

Thanks!

Offline erv

  • Plecter Labs Inc. "Keeper of the Buttered Toast"
  • Manufacturer
  • Master Force User
  • *
  • Posts: 4797
  • Formerly known as Irvin PLECTER
    • Plecter Labs - Props Electronics
Re: 6A NeoPixel Color Calculator
« Reply #3 on: 3 years ago »
no

Offline Obi_1

  • Mining Colony Members
  • Experienced Force User
  • *
  • Posts: 476
  • Creator of DIYino - first open source FX-board
Re: 6A NeoPixel Color Calculator
« Reply #4 on: 3 years ago »
If you want to calculate current consumption, rely on facts instead of rumors:
https://github.com/Protonerd/DIYino/blob/master/Neopixels_Characterisation_report1.pdf

Offline Kouri

  • No Force
  • *
  • Posts: 39
  • ~
Re: 6A NeoPixel Color Calculator
« Reply #5 on: 3 years ago »
Just wrapped up my blade. 36" at 130 pixels long. Two SMD strips.

Going off the provided info, that's about 4.7-5A for a standard-length blade, assuming 260 LEDs at 18mA.

I'll get photo/video documentation, but so far, the calculator's working great. I'm getting some nice white flashes without having to throw the strip on full-blast.

Offline Kouri

  • No Force
  • *
  • Posts: 39
  • ~
Re: 5A NeoPixel Color Calculator
« Reply #6 on: 3 years ago »
Video demo:



Lime-Green and all FoC colors were made with the calculator. Red and Blue are default 1023. Each FoC is an off-white color meant to provide the most contrast to the main blade. Lime-Green vs Purple-White. Red vs Cool-White. Blue vs Warm-White.

Sarge Green: [241, 779, 0]
Sarge FoC: [340, 308, 374]

Vader Red: [1023, 0, 0]
Vader FoC: [260, 381, 381]

Luke Blue: [0, 0, 1023]
Luke FoC: [348, 389, 285]

Offline Kouri

  • No Force
  • *
  • Posts: 39
  • ~
Re: 5A NeoPixel Color Calculator
« Reply #7 on: 3 years ago »
Just added a couple lines to the calculator with standard 0-255 RGB values for NEC and TeensySaber boards. NEC are ordered BGR as is default in the editor.
« Last Edit: 3 years ago by Kouri »

Offline Cave Waverider

  • No Force
  • *
  • Posts: 8
  • Jedi
Re: 5A NeoPixel Color Calculator
« Reply #8 on: 3 years ago »
Nice calculator, it's very helpful. Thank you very much for making it!

I've been wondering, will lower drive values like the ones generated by the calculator considerably increase the time a Neopixel saber lasts on a battery charge compared to using the a color mix with higher drive values or would the difference be neglible?
« Last Edit: 3 years ago by Cave Waverider »

Offline jbkuma

  • Mining Colony Members
  • Master Force User
  • *
  • Posts: 916
  • Pixels, everywhere.
    • Mad Science Workshoppe
Re: 5A NeoPixel Color Calculator
« Reply #9 on: 3 years ago »
In short, yes. Single color (ie green) versus multiple (ie red+green=yellow) also makes a big difference.

Offline Cave Waverider

  • No Force
  • *
  • Posts: 8
  • Jedi
Re: 5A NeoPixel Color Calculator
« Reply #10 on: 3 years ago »
In short, yes. Single color (ie green) versus multiple (ie red+green=yellow) also makes a big difference.
Nice, thank you for your reply. So I guess one could expect going 0,511,511 with FOC 341,341,341 from the calculator about double the duration a battery charge lasts compared to the full drive equivalent of 0,1023,1023 with 1023,1023,1023 FOC (using Plecter values).


Update: I tested how much of an effect it would have on my Neo Saber (with NBv4, 30" Neopixel blade, two strips) and compared the above mentioned settings. I let the saber run until the blade and sound went out each time on a freshly charged battery (18650, 3120mAh 3.7V 11.54Wh protected, max. 15A continuous discharge current). Note that I just let the saber powered on and idle, combat time would likely be less, too. Here are the results:

---
Normal Power Setting: 0,1023,1023 (Cyan) with 1023,1023,1023 FOC

Duration until blade color degradation & flicker: 48 Minutes
Duration until sound crackling: 48 Minutes
Duration until battery empty/saber off: 59 Minutes
---
Low Power Setting from this calculator: 0,511,511 (Cyan) with FOC 341,341,341

Duration until blade color degradation & flicker: 66 Minutes
Duration until sound crackling: 73 Minutes
Duration until battery empty/saber off: 89 Minutes
---

Not as much of a leap I had hoped for, but definitely an improvement. With one full battery charge it can go over an hour with the low power setting, which isn't bad at all. One should note that while the full power setting is visibly brighter to the naked eye, it doesn't seem to be all that much, as the Low Power Setting still appears to be plenty bright to the naked eye, especially compared to in-hilt LEDs (even with photon blade).


Thanks again for creating this wonderful calculator!
« Last Edit: 2 years ago by Cave Waverider »