Sparrow338
New Member
Hi all, (first post here)
What I'm trying to do is to create a triangle wave using op-amps so that I can make a LED fade on then fade off. At the moment I'm using the circuit that I attached.
The first problem I'm having is getting the attached circuit to even work. Using the values that are shown in the schematic all that happens is the LED comes on and then stays on. I tested the op-amp outputs for any kind of wave form and there is nothing at either output.
I've tried adjusting the values of the components and the best I can get the circuit to do is to make the LED fade on, put after that it just gets stuck on and doesn't fade back off. To do this I changed out the resistor that goes from pin 7 to ground from a 4.7k Ohm to a 1k Ohm.
I understand how to an op-amp can be used to create a square wave but I don't totally understand how two can be used to create a triangle wave. So most of the component adjusting I've been doing is just randomly swapping out parts.
Oh yea I'm using the LM358.
Anyways any help would be greatly appreciated.
Thanks!
[Edit]: I probably should have said that I've done quite a bit of googling for different circuits and tried quite a few and have had similar problems with all of them.
-Sparrow
What I'm trying to do is to create a triangle wave using op-amps so that I can make a LED fade on then fade off. At the moment I'm using the circuit that I attached.
The first problem I'm having is getting the attached circuit to even work. Using the values that are shown in the schematic all that happens is the LED comes on and then stays on. I tested the op-amp outputs for any kind of wave form and there is nothing at either output.
I've tried adjusting the values of the components and the best I can get the circuit to do is to make the LED fade on, put after that it just gets stuck on and doesn't fade back off. To do this I changed out the resistor that goes from pin 7 to ground from a 4.7k Ohm to a 1k Ohm.
I understand how to an op-amp can be used to create a square wave but I don't totally understand how two can be used to create a triangle wave. So most of the component adjusting I've been doing is just randomly swapping out parts.
Oh yea I'm using the LM358.
Anyways any help would be greatly appreciated.
Thanks!
[Edit]: I probably should have said that I've done quite a bit of googling for different circuits and tried quite a few and have had similar problems with all of them.
-Sparrow
Attachments
Last edited: