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 — The many, many manufacturing processes listed on Wikipedia
Wearables — A bevel illusion
Electronics — Blown transistor?
Biohacking — We are Wired to Exercise at a Moderate Pace
Python for Microcontrollers — Make It Move with Crickit!
No comments yet.
Sorry, the comment form is closed at this time.