This is for all those hobbyists who have just started working with electronics.
Step 1: Materials:
1 x 10k potentiometer
1 x Breadboard
2 x Female to male jumper cables
1 x 4 cell battery pack(with wires attached)
2 x Normal wires with both ends stripped
Step 2: Step 1
2) Connect the stripped end of the other wire to the middle hole by making a loop
Step 3: Step 2
2) Connect the negative wire of the battery pack to another column.
Step 4: Step 3
Step 5: Step 4
2) Put the negative end of the Piezo pin in the same column as that of negative wire of the battery pack.
Note:You would be able to hear a noise now.
Step 6: Step 5
2) Connect the other wire of the potentiometer in the same column as that of the positive wire of the Piezo buzzer.