We are trying to power a Piezo siren, which requires 6-12v, from an Arduino, which only outputs up to 5v. We are planning on using an external 9v battery to power the Piezo siren, although we do not know how to set this up.
How to power a 6-14v piezo from an Arduino?
We have a MOSFET IRF510 transistor instead of the 2n7000. Any help would be appreciated.