• 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 2 July 2026 by Admin-Lavi Leave a Comment

This is a small Arduino tone generator project and it uses Arduino Uno, one buzzer, one potentiometer to change the pitch; also this Arduino Pitch Control Circuit using Potentiometer is simple and easy to make.

Furthermore, it helps beginners understand PWM, analog reading and digital output and we can use this project to learn basic sound making using Arduino.

Arduino Code:

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:

ComponentsQuantity
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, then Arduino reads this value and converts it into frequency.N

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

When we turn potentiometer knob, the voltage at center pin changes and Arduino reads this voltage and gets a number between 0 and 1023.

After that, Arduino maps this number to frequency; higher voltage gives higher tone and lower voltage gives lower tone.

Finally, Arduino sends this frequency to buzzer and buzzer vibrates and makes sound.

How to Build:

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

  • First, assemble all the parts as shown in circuit diagram.
  • Next, potentiometer center pin goes to Arduino A0, potentiometer left pin goes to Arduino 5V and potentiometer right pin goes to Arduino GND
  • Then buzzer positive pin goes to Arduino digital pin 8 and buzzer negative pin goes to GND
  • Also, connect R1 220 ohm resistor in series with buzzer positive line

Conclusion:

To conclude, this Arduino Pitch Control Circuit using Potentiometer is easy to try for, as it teaches analog reading, mapping and sound output.

Also, we can expand this to music projects, alarms or fun sound toys, as this circuit is good for beginners to understand how hardware and code work together.

Filed Under: Arduino Projects, Audio Circuits, Mini Projects

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

  • 555 Timer Projects (137)
  • Alarm Circuits (81)
  • Amplifier Circuits (94)
  • Arduino Projects (103)
  • Audio Circuits (190)
  • Automation Circuits (150)
  • Automobile Circuits (40)
  • Battery Charger Circuits (89)
  • DIY Projects (437)
  • Free Energy (12)
  • Heater and Temperature Controllers (32)
  • High Voltage (24)
  • Hobby Circuits (244)
  • Indicator Circuits (63)
  • Inverter Circuits (17)
  • IoT projects (12)
  • LDR Circuits (47)
  • LED and Lamps (201)
  • Meters and Testers (44)
  • Mini Projects (392)
  • Motor Controllers (26)
  • Oscillator Circuits (70)
  • Power Supply Circuits (245)
  • 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 (67)
  • 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