I need some help regarding programming. I have made a metal detector, when metal is detected I am getting pretty clear waveform from detector
attachment ( PXL_20210702_060158139.jpg) shows waveform when no metal is near the coil
attachment ( PXL_20210702_060159594.jpg) shows waveform when metal is detected
now I am giving this waveform to arduino analog pin A0. What I need to do is when metal is detected I need buzzer to simply give a tune and other thing is to show when ferrous material is detected and when non-ferrious is detected. And when there is ferrous material in front of the coil the waveform is as shown above and when non-ferious the waveform slightly changes.
The only thing I am stuck at I have single signal how can I make a reference signal from it to differentiate through it, I hope u guys get what I am trying to say/achieve
All the metal detector timing stuff is done by 555 IC and monostable ICs. I just need to process this waveform in arduino.