Home - frc2052/2052-LED-Training GitHub Wiki

Welcome to the 2052-LED-Training wiki!

While there are many ways to run LEDs, this project will define the "KnightKrawler Way to use LEDs". The goal of this standard for KnightKrawler is to create a single method for using LEDs that will work driven off a 12v robot battery. The goal is to have the simplest, most reliable way to program LEDs. Using this approach, we can easily create LEDs that can be installed on any robot by connecting through the power distribution panel (PDP) or we can install LEDs on our robot cart or pit structure by connecting the setup to a standalone robot battery.

Our goals are

  • reduce the chance of creating a wiring mishap that would destroy important electrical components.
  • avoid soldering custom circuit boards
  • use inexpensive and common off-the-shelf electrical components.
  • use cost effective, reliable, power efficient and widely available LEDs. We have selected WS2812B
  • create a setup that works the same whether the LEDs are on a robot, or sitting on a table in front of a programmer
  • make sure the micro controller (ESP32) is always powered from a single power source (USB), which ensures safety for programmers (and laptops) who may not be experienced in electrical setups

We hope you enjoy the world of LED programming.