4 Comments

  1. This is a 4 transistor circuit that allows you to convert a variable frequency square wave output from a microcontroller (in this case a knock off Arduino nano) to a triangle wave with a variable amplitude. The amplitude is also set by the microcontroller using a crude PWM to analog voltage conversion (called analogwrite() on Arduino) using a simple RC filter. This allows you to increase or decrease the charge discharge ramp current flowing into/out of the capacitor which alters its peak to peak amplitude. Lastly you can tweak the DC offset of the triangle wave by tweaking the duty cycle of the applied variable frequency square wave (not pictured). A higher duty cycle would lower the DC offset and vice versa.

  2. Looks more fun to listen to that one…

  3. Is it locked at 500 Hz frequency or can that be changed? If not what is its frequency range?

    Also what simulator did you use?

Leave a Reply

Your email address will not be published. Required fields are marked *

SHOPPING CART

close