• 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 27 December 2025 by Admin-Lavi Leave a Comment

This Square and Triangle Wave Generator Circuit is a simple waveform generator.

It 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.

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.

Voltage goes high and low suddenly and this output comes from IC output pin.

Bottom graph is triangle wave output.

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:

Part TypeValueQuantity
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 start the power is given to the circuit where the supply can be 3V to 15V.

Then op amp IC starts working and it compares voltage on its inputs.

Capacitor C1 starts charging through resistors.

When voltage reaches a limit then output changes.

So output goes high or low and this makes square wave at IC pin 2.

Next, square wave goes to transistor Q1 and then this transistor works as emitter follower.

Capacitor C2 charges and discharges slowly and the voltage goes up and down linearly.

So triangle wave is formed.

VR1 controls charging speed, so frequency changes smoothly.

Finally, 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 is the total resistance (R1 + VR1 value used)
  • C is the C1 capacitor value

Calculation as in circuit diagram:

Let say R1 is 10 kilo ohm
Let VR1 set to 50 kilo ohm
Total R is 60 kilo ohm
Let say 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 be increased or decreased.

How to Build:

To build a Square and Triangle Wave Generator Circuit following steps are required to follow:

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

Conclusion:

This Square and Triangle Wave Generator Circuit is a simple project.

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.

Therefore, this circuit is good for beginners.

References:

Datasheet IC CD 40106

Filed Under: 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

  • Alarm Circuits (45)
  • Amplifier Circuits (67)
  • Arduino Projects (99)
  • Audio Circuits (114)
  • Automobile Circuits (19)
  • Battery Charger Circuits (65)
  • Free Energy (13)
  • Heater and Temperature Controllers (13)
  • High Voltage (1)
  • Indicator Circuits (45)
  • Inverter Circuits (20)
  • IoT projects (1)
  • LDR Circuits (26)
  • LED and Lamps (148)
  • Meters and Testers (30)
  • Motor Controllers (22)
  • Oscillator Circuits (39)
  • Power Supply Circuits (104)
  • Remote Control Circuits (10)
  • Security and Protection (29)
  • Sensors and Detectors (126)
  • Solar Circuits (29)
  • Timer Circuits (41)
  • Transistor Circuits (87)
  • Transmitter Circuit (17)
  • Tutorials (8)
  • Water Level Controller (6)

Recent Posts

  • 12V Battery Low Voltage Alarm Circuit
  • Low Voltage Alert Circuit for 9V Battery
  • Digital Code Lock Circuit using IC 4017
  • Darkness Activated LED Circuit
  • Fan Start 10 Second Delay Timer Circuit

Recent Comments

  1. TDHofstetter on DIY Variable Power Supply Circuit using Arduino
  2. feathbuff on Simple Micro Ampere Meter Circuit
  3. Admin-Lavi on Simple School Project Multimeter Circuit
  4. choke on Simple School Project Multimeter Circuit
  5. Admin-Lavi on Analog to Digital Converter Circuit using IC 555

Copyright © 2026 | New Circuit Ideas