A voltage divider was implemented to scale the analog signal to under 5V for the Arduinos onboard ADC and a 5V relay used for the Arduino to switch the 12V solenoid valve. Melodic tones from a piezo ...