ICL8038 Function Generator: Building a Simple Kit for Your Electronics Workbench

A function generator is one of the most interesting instruments to have on an electronics workbench. It allows us to produce known electrical signals and use them to test amplifiers, filters, audio circuits, oscillators, and many other electronic projects.

The problem is that a professional bench function generator may offer far more features than we actually need for simple experiments.

An interesting alternative is to build a small function generator kit based on the ICL8038 integrated circuit.

In the video featured in this article, I present one of these boards: a small kit that is relatively simple to assemble and allows us to experiment with different waveforms and frequencies.

What Is a Function Generator?

A function generator is an instrument capable of producing periodic signals with known characteristics.

The most common waveforms include:

Sine wave

Square wave

Triangle wave

Depending on the circuit, we can also generate pulse and sawtooth waveforms.

The ICL8038 datasheet specifies the generation of sine, square, triangle, sawtooth, and pulse waveforms using relatively few external components.

This makes the component particularly interesting for building small function generators.

What Is a Function Generator Used For?

Imagine that we have built an audio amplifier.

To test it, we could connect a guitar or a music source. However, those signals vary continuously, making certain measurements more difficult.

With a function generator, we can produce, for example:

A 1 kHz sine wave

And apply it to the amplifier’s input.

We then have:

Function generator → Amplifier → Oscilloscope

We can observe how the circuit responds to the signal.

We can also change the frequency:

100 Hz

1 kHz

10 kHz

And observe how the amplifier behaves in different regions of the frequency spectrum.

The ICL8038

The heart of this board is the ICL8038, an integrated circuit specifically developed for waveform generation and voltage-controlled oscillator applications.

It has 14 pins and can simultaneously provide the main waveform types.

According to the datasheet:

Pin 2 → Sine wave

Pin 3 → Triangle wave

Pin 9 → Square wave

Pin 10 connects to the timing capacitor, while other pins are involved in frequency, symmetry, and sine-wave shape adjustments.

This means that much of the circuitry required to build a function generator is already implemented inside the integrated circuit itself.

How Does the ICL8038 Generate Waveforms?

The internal operating principle is particularly interesting.

An external capacitor is charged and discharged by internal current sources.

We can imagine the following sequence:

Capacitor charging linearly

↗

Capacitor discharging linearly

↘

Charging again

↗

This repetitive process naturally produces a triangle wave.

Internally, comparators detect when the capacitor voltage reaches specific levels, and a flip-flop switches the process between charging and discharging.

The documentation describes switching thresholds at approximately one-third and two-thirds of the supply voltage.

This is an excellent example of how several waveforms can be generated from the same oscillation process.

Where Does the Square Wave Come From?

While the capacitor is being charged and discharged, the internal circuit must alternate between two states.

This switching action produces the square wave.

Therefore, we have:

Capacitor → Charging/discharging → Triangle wave

And simultaneously:

Flip-flop → State switching → Square wave

Both waveforms are available at different outputs of the integrated circuit.

How Is the Sine Wave Generated?

Producing a sine wave is a little more complicated.

The ICL8038 starts with the triangle wave and uses an internal shaping circuit, known as a sine converter, to modify its shape and approximate a sine wave.

That is why the integrated circuit includes pins dedicated to sine-wave adjustment.

The datasheet specifies a typical distortion of approximately 1% at the sine-wave output, under appropriate adjustment conditions.

Therefore, we are not talking about an extremely low-distortion laboratory sine-wave generator, but rather a result that is very useful for many experiments and tests.

The Capacitor Helps Determine the Frequency

The timing capacitor plays a fundamental role.

In simplified terms:

Smaller capacitor → Faster charging and discharging → Higher frequency

Larger capacitor → Slower charging and discharging → Lower frequency

The resistors associated with the circuit also help determine the charging and discharging currents.

That is why many ICL8038-based kits include range selectors connected to different capacitors and a potentiometer for adjusting the frequency within the selected range.

What Is the Frequency Range of the ICL8038?

Here, it is important to distinguish between two things:

The capability of the integrated circuit

And:

The capability of the specific board we are building.

The ICL8038 datasheet specifies a very wide frequency range, approximately:

0.001 Hz to more than 300 kHz

This does not mean that every commercial ICL8038 kit automatically covers this entire range.

The actual available frequency range depends on the resistors, capacitors, potentiometers, and other components used in the board’s design.

Therefore, to determine the exact frequency range of the kit shown in the video, we need to consider the components installed in that particular version.

We Can Adjust the Frequency

This is one of the instrument’s main functions.

By turning the appropriate control, we can change the signal frequency.

On an oscilloscope, we would see:

Lower frequency:

/‾\____/‾\____/‾\____

Higher frequency:

/‾\/‾\/‾\/‾\/‾\/‾\

The period becomes shorter as the frequency increases.

The fundamental relationship is:

f = 1 / T

Where:

f = Frequency in hertz

T = Period in seconds

Therefore, a 1 kHz waveform has a period of approximately:

T = 1 / 1000 = 1 ms

The Duty Cycle Can Also Be Adjusted

Another interesting feature of the ICL8038 is the possibility of changing the duty cycle.

The datasheet specifies a theoretical range of approximately 2% to 98%.

For a symmetrical square wave:

High time ≈ Low time

We have a duty cycle of approximately 50%.

By changing the charging and discharging conditions, we can generate asymmetrical pulses.

This feature significantly expands the possibilities for experimenting with the circuit.

The ICL8038 Can Also Operate as a VCO

The component has another, more advanced feature: its frequency can be controlled by an external voltage.

In this case, we have a:

VCO — Voltage-Controlled Oscillator

The datasheet describes both frequency modulation and frequency sweeping through an external control voltage.

This allows us to create experiments in which:

Control voltage changes

↓

Frequency changes

↓

Output signal changes

This concept appears in synthesizers, communication systems, signal generation, and many other electronic circuits.

Why Is This Type of Kit Interesting for Learning Electronics?

Because it combines several concepts in a single project.

During assembly, we can work with:

Resistors

Capacitors

Potentiometers

Integrated circuits

Frequency

Period

Duty cycle

Sine waves

Square waves

Triangle waves

Once assembled, the project itself becomes a tool for testing other projects.

This is particularly interesting.

We build an electronic circuit that we can then use to study other electronic circuits.

Function Generator and Signal Injector

There is a very interesting connection with the signal injector.

The signal injector we previously built has a relatively simple purpose:

Generate a signal → Inject it at a specific point → Check whether the circuit responds

A function generator takes this idea further.

We can now control more of the signal’s characteristics:

Waveform

Frequency

And, depending on the circuit being used:

Amplitude and other parameters

Therefore, a signal injector can be considered a simple troubleshooting tool, while a function generator allows us to perform more controlled experiments.

Function Generator + Oscilloscope

This is where the instrument becomes even more interesting.

We can connect:

ICL8038 → Oscilloscope

And directly observe the different waveforms.

First, we select the sine-wave output.

Then the triangle-wave output.

Then the square-wave output.

We can also turn the frequency control and observe the waveform becoming compressed or expanded horizontally on the oscilloscope screen.

This makes abstract concepts such as frequency and period immediately visible.

Testing an Amplifier

We can also set up the following arrangement:

ICL8038 → Amplifier → Oscilloscope

We apply a sine wave to the input and observe the output.

We increase the signal until we notice:

Normal sine wave → Amplified sine wave → Beginning of clipping

We can also change the frequency and investigate the circuit’s response.

This is a very interesting experiment for understanding concepts that frequently appear in audio electronics.

Testing Filters

Another example:

Function generator → Filter → Oscilloscope

We keep the amplitude approximately constant and change the frequency.

We can observe that some frequencies pass through more easily while others are attenuated.

This allows us to study:

Low-pass filters

High-pass filters

Band-pass filters

And various RC circuits.

The ICL8038 Is an Older Component

There is an important detail worth mentioning.

The ICL8038 is a classic integrated circuit and is currently listed in the manufacturer’s official documentation as an obsolete product, with no recommended replacement.

This does not mean that it is no longer interesting for experimentation.

Quite the opposite.

Kits and compatible components can still be found on the market precisely because the circuit makes it possible to build a very educational function generator using relatively few external components.

However, this also means that we should pay attention to the origin and authenticity of the integrated circuits supplied with modern kits.

Can It Replace a Professional Function Generator?

No.

And it does not need to.

A modern bench function generator may offer:

Precise frequency control

Amplitude control

DC offset

Modulation

Memory functions

Display

Arbitrary waveform generation

Greater stability and accuracy

Among many other features.

The small ICL8038 kit has a different purpose:

Low cost + Simplicity + Experimentation + Learning

For an educational electronics workbench, that may be exactly what we need.

Watch the ICL8038 Kit in the Video

In the video below, I present a small electronic kit for building a function generator based on the ICL8038.

This is a particularly interesting project because, once assembled, it can be used in many other experiments.

We start with:

A circuit board + ICL8038 + Components

And end up with:

An instrument for the electronics workbench.

An Excellent Project for Understanding Waveforms

More than simply obtaining an inexpensive signal generator, assembling an ICL8038-based kit allows us to understand where the different waveforms come from.

The capacitor charges and discharges.

The circuit switches between states.

The triangle wave is generated.

The switching action produces the square wave.

An internal circuit reshapes the triangle wave to approximate a sine wave.

And finally, we have different signals available for our experiments.

This is exactly the type of project that combines two important aspects of learning electronics:

Building a circuit and understanding what is happening inside it.

This type of project connects circuit construction with the use of measuring instruments for testing and experimentation.

To explore other electronic assemblies, modifications, and practical projects, visit Projects, Circuit Assembly and Experimentation.

To learn more about measuring instruments, testing, troubleshooting, and electronics workbench organization, also explore Workbench, Instrumentation and Maintenance.

Leave a Comment

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