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.

Analog to digital conversion

Status
Not open for further replies.

chwoei

Newbie level 6
Joined
Dec 14, 2006
Messages
12
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,367
hi,

does anyone have any ideas if 2 analog sound signals are need to be compare at the same time, to know which one has the highest amplitude?

note: the microphones has 1v dc offset and due to the fact that PIC16F877A can only convert 1 analog to digital at a single time, so how i can compare 2 signal at a time?

issit possible to use a comparator? or any better solutions?


hope someone can help!!

cheers,
 

One posible solution would be to filter your signals to remove the offset. This can be done by a High pass filter with discret componets or by soft inside the 16F877. The soft aproach using F877 can be a very time consuming programming task.

Then you could measure the amplitud in a time window, I mean take several samples for a while and keep the highest from each signal, then compare numericaly.

The measurement of the amplitud can also be made with discrete components by means of a peak detector. In this case the time windows would be given by teh time constant of the peak detector

The comparation can also be made by means of a discrete comparator, but then you would have not used for the PIC :D
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top