For experimental - hobbiest purpose, I'm trying to control one 3-color led with the following circuit:
- Power: single rail, 5v.
- Signal generator: triangular 0-5v, 500 Hz (in next step, signal generator should be replaced by an op-amp circuit, could be a rectangular generator followed by integrator).
- operational amplifier in comparator configuration. v- from signal generator; v+ from variable resistor (0-5v input).
- red led with 160 ohms resistor at op-amp Vout (in next step it will be replaced by 3-color, using 3 op-amps and related variable resistors).
In this way, triangular signal is converted to rectangular with pulse width selectable via the variable resistor.
Problem: using a 741 op-amp (the one most used in the time when I studied electronics, a lot of years ago) its low and high limits restricts the valid margin to more or less 1.5v-4v.
Do you think MCP6004 is a better alternative for this application than 741 ?
Thanks a lot.