FraH90 / firmware_ledstrip

Firmware for Arduino to control Adafruit Dotstar led strips

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adafruit DotStar Project

Links

Connections

Strip: connect them to the 5V, 28A output Arduino: 12V output via DC Jack (don't use othe voltage inputs) Put together the GND of the Arduino, the external power supply, and the dotstar strips Generally total power drawn is 0.5A, so you can just power everything with a +5V power supply. Led strips require 5V voltage (no more); Arduino can be powered using 5V only via USB (this bypass the LDO)

Strip connections:

  • Black: ground
  • Red: +5V
  • Yellow: Clock Input (arduino pin 5 for stripA, pin 7 for stripB)
  • Green: Data Input (arduino pin 4 for stripA, pin 6 for stripB)

Version description

  • v0: simple effect, only one particle, one strip, no impact
  • v1: two strip, one particle for each, different colors (red and green); added impact
  • v2: deleted impact; still single particle, but only one color, orange, still uses two software SPI (separated channels for stripA, stripB)
  • v3: now using only a single channel for the two strips (it speeds up running); implemented class particle; instantiated three particles on each strip.

About

Firmware for Arduino to control Adafruit Dotstar led strips


Languages

Language:C++ 100.0%