• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Circuit Ideas for You

Get free circuit ideas online.

  • Home
  • Privacy Policy
  • About
Home » Square and Triangle Wave Generator Circuit

Square and Triangle Wave Generator Circuit

Last updated on 5 July 2026 by Admin-Lavi Leave a Comment

This Square and Triangle Wave Generator Circuit is a simple waveform generator, which gives two outputs at same time with one output is square wave and another output is triangle wave.

Also, the circuit uses only one IC which uses few resistors and capacitors, so the cost is low and the circuit is easy to build.

Moreover, it works on low voltage supply, so it is useful for students and hobby users and therefore, this circuit is good for learning signal generation basics.

Square and Triangle Wave Output Graph:

Square and Triangle Wave Output Graph Diagram

The graph shows two waveforms from the circuit, top graph is square wave output, here, the voltage goes high and low suddenly and this output comes from IC output pin.

Bottom graph is triangle wave output and here, the voltage goes up slowly and goes down slowly and this comes from capacitor charge and discharge.

Both waveforms repeat again and again and they show how signal looks at the output; so, the circuit gives square and triangle wave together.

Circuit Working:

Square and Triangle Wave Generator Circuit Diagram

Parts List:

ComponentsValuesQuantity
Resistors10k, 4.7k 1/4 watts1 each
Potentiometer 100k1
CapacitorsCeramic 0.47µF, 0.0047µF1 each
SemiconductorsIC CD 40106 Hex Schmitt Trigger1
Transistor BC547 NPN1
SPDT Slide Switch1
Power Supply 3V to 15V DC1

At the start, the circuit receives a 3 V to 15 V power supply, the op-amp IC then starts operating and compares the voltages at its input terminals.

Then capacitor C1 starts charging through resistors and when voltage reaches a limit then output changes; so output goes high or low and this makes square wave at IC pin 2.

Next, the square wave drives transistor Q1, which operates as an emitter follower, then capacitor C2 charges and discharges slowly, causing the voltage to rise and fall gradually, as a result, the circuit generates a triangle wave.

Finally, VR1 controls charging speed, so frequency changes smoothly and then square and triangle waves come together.

Formula with Calculation:

Frequency mainly depends on R1, VR1 and C1.

General frequency formula:

Frequency = 1 divided by (2 x R x C)

where,

  • R the total resistance (R1 + VR1 value used)
  • C is the C1 capacitor value

Calculation as in circuit diagram:

R1 is 10 kilo ohm
Assume VR1 set to 50 kilo ohm
Total R is 60 kilo ohm
C1 is 0.47 micro farad

Frequency = 1 divided by (2 x 60000 x 0.00000047)

Frequency = approximately 17.7 Hz

By changing VR1 value frequency can increase or decrease.

How to Build:

To build a Square and Triangle Wave Generator Circuit follow below steps for connection:

  • First, collect all parts as per circuit diagram.
  • Then start with op amp IC1 pin 1 input pin connected to VR1, switch side, Q1 base and C2 network.
  • After that, IC1 pin 2 output pin and square wave output taken from here.
  • IC1 pin 7 Vss pin connected to circuit ground.
  • IC1 pin 14 Vdd pin connected to 3V to 15V positive supply.
  • Now transistor Q1 collector connected to positive supply, Q1 base connected between VR1 and C2 and then Q1 emitter connected to ground through resistor R2.
  • Also, triangle waveform connected between emitter of Q1 and resistor R2
  • Lastly, capacitor C1 one side connected to switch and other side connected to ground.

Conclusion:

To conclude, this Square and Triangle Wave Generator Circuit is a simple project, as it gives square wave and triangle wave at same time.

Also, it uses very few parts so the circuit is easy to make, moreover, frequency change is smooth and power use is also very low and therefore, this circuit is good for beginners.

References:

Datasheet IC CD 40106

Filed Under: DIY Projects, Oscillator Circuits

About Admin-Lavi

Lavi is a B.Tech electronics engineer with a passion for designing new electronic circuits. Do you have questions regarding the circuit diagrams presented on this blog? Feel free to comment and solve your queries with quick replies

Previous Post: « PIR Sensor Motion Alarm Circuit Transistor and Relay
Next Post: Transistor Based Bicycle Tail Light Flashing Circuit »

Reader Interactions

Leave a Reply Cancel reply

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

Primary Sidebar




Categories

  • 555 Timer Projects (137)
  • Alarm Circuits (81)
  • Amplifier Circuits (94)
  • Arduino Projects (103)
  • Audio Circuits (189)
  • Automation Circuits (150)
  • Automobile Circuits (40)
  • Battery Charger Circuits (88)
  • DIY Projects (435)
  • Free Energy (12)
  • Heater and Temperature Controllers (32)
  • High Voltage (24)
  • Hobby Circuits (241)
  • Indicator Circuits (63)
  • Inverter Circuits (17)
  • IoT projects (12)
  • LDR Circuits (47)
  • LED and Lamps (201)
  • Meters and Testers (44)
  • Mini Projects (390)
  • Motor Controllers (26)
  • Oscillator Circuits (70)
  • Power Supply Circuits (244)
  • Radio Frequency (8)
  • Remote Control Circuits (12)
  • Renewable energy (20)
  • Security and Protection (128)
  • Sensors and Detectors (236)
  • Solar Circuits (31)
  • Timer Circuits (63)
  • Transistor Circuits (178)
  • Transmitter Circuit (19)
  • Tutorials (33)
  • Voltage Regulator (55)
  • Water Level Controller (10)

Recent Posts

  • Low Current Controlled Battery Charger Circuit using LM723 IC
  • 741 Op-Amp Treble Booster Circuit
  • Simple Diode and Transistor Based Audio Limiter Circuit
  • Simple 500mW Speaker Driver Circuit
  • Easy DIY LM386 Audio Amplifier Circuit

Recent Comments

  1. Admin-Lavi on High Voltage Fence Charger Circuit
  2. etere on High Voltage Fence Charger Circuit
  3. Admin-Lavi on High Voltage Fence Charger Circuit
  4. egidio grzinic on High Voltage Fence Charger Circuit
  5. Logic OR Gate Circuit using Transistors - Circuit Ideas for You on Automatic Street Light Circuit using LDR

Copyright © 2026 | New Circuit Ideas