Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Interfacing with the computer

Status
Not open for further replies.

medwatt

Newbie level 5
Joined
Aug 15, 2011
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,376
Hello,
I am building a metal detector and I have succeeded. Everything is OK. I have connected a speaker to its output and it sends out different frequency waves whenever a metal is brought near the detector.

However, I want now to interface it with the computer so that I can write a software to detect the different frequencies and give a simple display what metal has been detected. I mean that I in the code if the signal has a frequency of 50khz, then display 'BRASS'. Something like that. I can write fairly well simple programs so writing it is not the case. What my problem is how to get the program to detect and determine what is the frequency of this signal and the rest will be fine.

I have an idea that instead of sending the signal to a speaker, I will just connect a pin to either ends of the output and insert it to the audio jack of the computer. I have checked the sample of the signals using the oscilloscope and there were no harmonics; just a single frequency.

I want someone to help me in how to detect just the frequency of the whatever signal is at the audio jack of my computer and give me the frequency.

Or if someone has another better idea, I will appreciate it.

Thank you
 

Maybe you find some idea here............

**broken link removed**


True oscilloscope, spectrum analyzer, frequency meter,
voltmeter, function generator and distorsiometer
for PC Soundcard

**broken link removed**
 
Last edited by a moderator:

What you gave me were links to software that are already design to do specific tasks. I want a sample of the source code of one frequency analyzer so that I'll use it in my program.
 

This task can be atchieved using a microcontroller circuit to interface with the pc via rs232 protocol... You need to write program for ADC... Which compares the digital data with the predefined frequency for each metal....
 

Can you elaborate further with some concrete example.
 

Upload your circuit diagram... Then only we will be able to analyse which type of metal detecter are you using...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top