You’re trying to program some cool LED effect but keep getting these weird not-quite-right colors. Maybe you’re trying to mix orange (say 100% red, 50% green) but the LEDs show yellowinstead. What gives?
An LED driver IC — the “smarts” inside NeoPixels and other addressible LEDs — use pulse-width modulation, switching the LED on and off very quickly (about 400 times per second in the case of NeoPixels), much faster than our eyes can perceive; we just see a uniform brightness. The “on” vs. “off” time determines the intensity.
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Maker Business — Prototyping PCBs with Particle, a guide from a pro in the field #makerbusiness
Wearables — Learn about stretch
Electronics — Even lower power!
Biohacking — Nectome’s Brain Preservation and Backup Service Plan
No comments yet.
Sorry, the comment form is closed at this time.