Page 1 of 1

metal sensor

PostPosted: Sun Nov 27, 2011 10:19 am
by safuwan jasni
can anyone suggest me a suitable metal sensor can interface with SK40C with pic16f877A in addition of servo motor.

Re: metal sensor

PostPosted: Mon Nov 28, 2011 8:01 pm
by low5545
You can just use this metal detector circuit using the 555 timer IC. A low cost selection. Hope this helps.

Image

Re: metal sensor

PostPosted: Mon Nov 28, 2011 8:20 pm
by safuwan jasni
wow.. its great... but just wanna ask.. did this circuit can connect with sk40c.. because i'm using pic..

Re: metal sensor

PostPosted: Mon Nov 28, 2011 8:32 pm
by low5545
should be ok, just remove the speaker and connect it into the IO pin. But the sensor output is a square wave, it differs as it detects metal.

Re: metal sensor

PostPosted: Mon Nov 28, 2011 8:58 pm
by kl84
How to detect metal with that circuit? I mean which one is the "sensor" in the circuit diagram? The inductor, or capacitor, or speaker, or...? :oops:

Re: metal sensor

PostPosted: Mon Nov 28, 2011 9:24 pm
by low5545
The site http://www.555-timer-circuits.com/metal-detector.html says that the sensor is the inductor/choke there.

Re: metal sensor

PostPosted: Tue Nov 29, 2011 7:14 am
by ABSF
Since the circuit is simple, you might just construct it and see the effect to judge whether it is suitable for your need. I guess the circuit is outputing a continuous tone and when the inductor is brought near a metal, the inductance would change and thus changes the pitch of the tone. So you need some kind of op-amp circuit with rectified output to convert it to a logic H or L when the wanted tone is detector. You might also need a band-pass filter between the 555 and the op-amp to select the frequency that you're interested.

It is a simple circuit so the sensitivity may not be satisfactory but anyway it is a good start.

Allen