Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Doug Domke
Published © GPL3+

Pulse Width Modulation and LEDs

How to use PWM with LEDs - from the basics to advanced intensity and color management

IntermediateFull instructions provided2,947

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
Adafruit RGB Neon-like LED Strip
RGB Version (but not more expensive Neopixel version)
×1
NPN Transistor 2N2222
×3
Resistor 100 -1000 ohms - 1/4 watt
×3
9 volt power supply
×1

Story

Read more

Schematics

Schematic for PWM of RGB LED

Code

Arduino code for PWM of RGB LEDs

Arduino
This is a single zip file containing all the Arduino sketches referenced in this project.
No preview (download only).

Credits

Doug Domke

Doug Domke

39 projects • 105 followers

Comments