Voltage-controlled oscillator with 4046
Build it step by step
0 of 7 donePlace the chip on the breadboard
Power and inhibit.
Set R1 and C1
10k and 10 nF.
Feed pin 9 from the pot
Add the second 10k.
Listen
Turn the pot slowly.
Measure
Frequency at five pot positions.
Change the capacitor
Note the new range.
Add a second source
Hear the modulation.
How do you build a voltage-controlled oscillator with 4046?
The VCO in a CD4046 changes pitch with a control voltage, for synths and FM experiments. You need CD4046 phase-locked loop, Resistor 10 kΩ × 2, Potentiometer 10 kΩ, Ceramic capacitor 10 nF, LM386 amplifier module, Speaker 8 Ω 0.5 W, Breadboard 830 Tie Points, 9 V battery and 9 V battery snap with DC jack. It takes 7 steps and about 90 minutes.
- Level
- Intermediate
- Time
- About 90 min
- Parts
- 9
Wiring
| From | To | Why |
|---|---|---|
| CD4046 pin 16 (VDD) | 9 V battery plus | Power |
| CD4046 pin 8 (VSS) | 9 V battery minus | Ground |
| CD4046 pin 5 (INH) | Ground | Enables the VCO |
| CD4046 pin 11 (R1) | 10k resistor to ground | Sets the pitch range |
| CD4046 pins 6 and 7 | 10 nF capacitor between them | C1, sets the pitch range |
| CD4046 pin 12 (R2) | Leave open | Lowest frequency is near zero |
| CD4046 pin 9 (VCO in) | Pot wiper | Control voltage |
| Pot ends | Second 10k to 9 V, other end to ground | Limits the voltage range |
| CD4046 pins 3 and 14 | Ground | Unused inputs parked |
| CD4046 pin 4 (VCO out) | LM386 module input | Square wave to the amplifier |
| LM386 module power | 9 V battery plus and minus | Same battery, common ground |
| LM386 module output | Speaker | Sound |
No code needed
The CD4046 is a phase-locked loop chip, but its voltage-controlled oscillator can be used on its own: the voltage on pin 9 sets the pitch, a resistor and a capacitor choose the range, and a square wave appears on pin 4. Turning the pot gives a pitch sweep you can hear and measure. For a low, slow range use a bigger capacitor, and for a higher one use a smaller one. Try feeding pin 9 from a second oscillator through a series resistor and the pitch warbles, which is basic frequency modulation. It is a CMOS chip, so touch a grounded metal object before handling it, and never leave pin 9 floating, or the pitch will wander. It works from 9 V but is slower and less accurate than at higher supply; do not exceed 15 V. Keep the volume low, since a square wave is a harsh sound.
Test checklist
What you should see at each check. If a reading is far off, stop and use the troubleshooting list.
| Check | Expected |
|---|---|
| Pot at the bottom | Low pitch |
| Pot at the top | High pitch |
| Frequency against voltage | Rises smoothly |
| Chip power | 9 V on pin 16 |
If it does not work
No sound
Check pin 5 is grounded and the amplifier has power.
Pitch jumps
Check pin 9 is not floating.
Too high to hear
Use a larger capacitor.
Still stuck? Find the fault step by step with your multimeter →
Common questions
What parts do I need for the voltage-controlled oscillator with 4046?
CD4046 phase-locked loop, Resistor 10 kΩ × 2, Potentiometer 10 kΩ, Ceramic capacitor 10 nF, LM386 amplifier module, Speaker 8 Ω 0.5 W, Breadboard 830 Tie Points, 9 V battery and 9 V battery snap with DC jack.
How long does the voltage-controlled oscillator with 4046 take to build?
About 90 minutes for a intermediate maker, in 7 steps.
How do I know the voltage-controlled oscillator with 4046 works?
Pot at the bottom: Low pitch. Pot at the top: High pitch. Frequency against voltage: Rises smoothly.
No sound: what should I check?
Check pin 5 is grounded and the amplifier has power.
Pitch jumps: what should I check?
Check pin 9 is not floating.
Too high to hear: what should I check?
Use a larger capacitor.
