system
June 21, 2013, 1:46pm
1
So here's the situation:
I have 8051 that I want to use but it doesn't have its own ADC
I have a lot of quad opamps.
I want to convert the loudness of a piezo sensor to MIDI velocity so fidelity is not that important.
Is there a way I can use OPAMPS as 8bit ADC?
Op Amps don't output a serial data stream, so not really.
You'd have to create a sample & hold circuit, then make a series of comparators that would be high or low based on increasingly smaller comparisons of voltage level. And then read in the output of each of those comparators.
Serial ADCs are pretty common, can do all that in single package:
http://www.digikey.com/product-detail/en/TLC549CP/296-1853-5-ND/277498
http://www.digikey.com/product-search/en/integrated-circuits-ics/data-acquisition-analog-to-digital-converters-adc/2556291?k=adc
Use the op amps to make a flash converter:-
A flash ADC (also known as a direct-conversion ADC) is a type of analog-to-digital converter that uses a linear voltage ladder with a comparator at each "rung" of the ladder to compare the input voltage to successive reference voltages. Often these reference ladders are constructed of many resistors; however, modern implementations show that capacitive voltage division is also possible. The output of these comparators is generally fed into a digital encoder, which converts the inputs into a binar...
I want to convert the loudness of a piezo sensor to .....
Just a simple A/D will not give you a loudness measurement, you need a peak detector before it.
I have 8051
If you have not noticed this is an Arduino forum for Arduino questions!