• 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 » Arduino Pitch Control Circuit using Potentiometer

Arduino Pitch Control Circuit using Potentiometer

Last updated on 29 November 2025 by Admin-Lavi Leave a Comment

This is a small Arduino tone generator project.

It uses Arduino Uno, one buzzer, one potentiometer to change the pitch.

This Arduino Pitch Control Circuit using Potentiometer is simple and easy to make.

It helps beginners understand PWM, analog reading and digital output.

We can use this project to learn basic sound making using Arduino.

Arduino Coding:

int pot = A0
int buz = 8
int val
int freq

void setup() {
pinMode(buz, OUTPUT)
}

void loop() {
val = analogRead(pot)
freq = map(val, 0, 1023, 100, 2000)
tone(buz, freq)
delay(10)
}

Code Explanation:

  • Pot is potentiometer pin.
  • Buz is buzzer pin
  • AnalogRead reads voltage from potentiometer
  • Map converts analog value into frequency range
  • Tone sends square wave to buzzer
  • Delay gives small pause for stability

Circuit Working:

Arduino Pitch Control Circuit Diagram  using Potentiometer

Parts List:

PartQuantity
Resistors
220Ω 1/4 watt1
10k potentiometer1
Semiconductors
Arduino Uno1
Passive Buzzer1

Arduino gives tone signal to buzzer and potentiometer gives voltage signal to Arduino analog pin.

Arduino reads this value and converts it into frequency.

Then Arduino sends frequency to buzzer on digital pin using tone function.

When we turn potentiometer knob, the voltage at center pin changes.

Arduino reads this voltage and gets a number between 0 and 1023.

Arduino maps this number to frequency.

Higher voltage gives higher tone.

Lower voltage gives lower tone.

Arduino sends this frequency to buzzer.

Buzzer vibrates and makes sound.

How to Build:

To build a Arduino Pitch Control Circuit using Potentiometer follow the below steps:

  • Assemble all the parts as shown in circuit diagram.
  • Potentiometer center pin goes to Arduino A0
  • Potentiometer left pin goes to Arduino 5V
  • Potentiometer right pin goes to Arduino GND
  • Buzzer positive pin goes to Arduino digital pin 8
  • Buzzer negative pin goes to GND
  • Connect R1 220 ohm resistor in series with buzzer positive line

Conclusion:

This Arduino Pitch Control Circuit using Potentiometer is easy to try for.

It teaches analog reading, mapping and sound output.

We can expand this to music projects, alarms or fun sound toys.

Good for beginners to understand how hardware and code work together.

References:

How to properly control pitch of buzzer with potentiometer?

Filed Under: Arduino Projects, Audio 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: « Audio Oscillator Organ Circuit
Next Post: Arduino Chirping Bird Sound 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