EveryCircuit
Powering up...
Circuit
Public
Private
Unlisted
Save

RGB LED - Common Cathode - 1 Analog Input - Functionally Driven Test - RB Variant - Low Power

@CorneliaXaos
10 years ago
https://everycircuit.com/circuit/5642634847059968
Allows a 4 pin common cathode RGB LED to be controlled via a single Analog in (and a 5V mains). This is feasible because there are constrained color targets: 0.0 V = Blue 5.0 V = Red The bottom voltage source is a GPIO pin. An AC voltage source is used to simulate the range of possible voltages achievable with PWM. Draws only about 5 mA approximately. NOTE: A low power alternative to ( http://everycircuit.com/circuit/6071253994045440 ). NOTE 2: Physical testing has been completed. The circuit only draws or sinks around 8mA at any point in its operation. Additionally, this lower power design reduces the sinking of amperes into the GPIO pin to the point that risk of frying the DigiSpark microcontroller is mitigated.
Comments
Post