Arduino code for the Open Metal Detector project