You’ve turned your pickle into a battery! Here’s how it works:
Pickles contain salt water, which is rich in charged particles called ions. The aluminum and the graphite react with these ions, setting off an electrical tug-of-war between the two materials. The material with the stronger pull—aluminum—takes electrons away from the graphite, triggering a flow of electrons around the circuit. This current powers the buzzer.
Most common batteries—such as your car battery and the batteries inside your flashlight—work on the same principle that your pickle battery works on: They use two metals suspended in an ion-rich liquid or paste to separate electric charge, and create an electrical current around a circuit.
Each Tuesday is EducationTuesday here at Adafruit! Be sure to check out our posts about educators and all things STEM. Adafruit supports our educators and loves to spread the good word about educational STEM innovations!