控制电池供电项目中许多 WS2812 LED 的电源

发布于 2025-01-14 14:41:37 字数 630 浏览 4 评论 0原文

我正在构建一个电子棋盘游戏,其中有 500 多个可寻址 LED - 我不知道确切的型号,但他们声称是 WS2812B,我从亚马逊购买了它们:https://www.amazon.com/XUNATA-Integrated-Controller-WS2812B-1000pcs/dp/B071SM1F7G

当游戏运行时,我预计大多数 LED 都会关闭或亮度较低,但这些 LED 的默认设置是在通电时完全点亮。因此,在向它们发送数据以将其关闭之前,许多 LED 将消耗 30A 的电流。我将用相同电源的 Teensy 来驱动它们,整个装置将使用锂聚合物电池。

我的问题是我是否应该在设计中考虑到这一点以及如何考虑。我的选择是:

  • 忽略它 - 只需购买一个能够处理峰值负载的直流转换器和电池,并确保 Teensy 首先关闭所有 LED。
  • 控制 Teensy 的电源和数据引脚;我可以将 LED 分成几段,启动时消耗 2A 电流,然后一次翻转一个。不确定我是否应该使用带有 NPN 的低侧开关或带有 PNP 晶体管的高侧开关
  • ???有没有办法改变默认值?

I am building an electronic board game which will have 500+ addressable LEDs in it - I don't know the exact model but they claim to be WS2812B, I bought them from Amazon here: https://www.amazon.com/XUNATA-Integrated-Controller-WS2812B-1000pcs/dp/B071SM1F7G.

When the game is running, I expect most of the LEDs to be off or low brightness, but these LEDs have a default of fully lit on power-up. So, before you send them data to turn them off, that many LEDs is going to draw 30A. I'm going to be driving them with a Teensy on the same supply and the whole thing will run off a LiPo battery.

My question is whether I should account for this in my design and how. My options are:

  • Ignore it - just get a DC converter and battery that can handle the peak load and make sure the Teensy turns all the LEDs off first thing.
  • Control both the power and data pins from the Teensy; I can divide the LEDs into segments which draw 2A at startup and flip them one at a time. Not sure if I should use low-side switching with NPN or high-side switching with PNP transistors
  • ??? Is there a way to change the default maybe?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文