hai everybody....
im now using the adc0808 to convert the human voice into the digital form. but there is no output shown?? why??
where is the problem??
thanks for ur help
hai everybody....
im now using the adc0808 to convert the human voice into the digital form. but there is no output shown?? why??
where is the problem??
thanks for ur help
It sounds like you are assuming that leaving the input floating equates to zero volts in. It really equates to undefined volts in. To test for operation, connect the ends of a 10k potentiometer to Ref+ and Ref-, and connect the wiper on the pot to the input. Vary the pot setting and see that the output code does what you expect.
It sounds like you are assuming that leaving the input floating equates to zero volts in. It really equates to undefined volts in. To test for operation, connect the ends of a 10k potentiometer to Ref+ and Ref-, and connect the wiper on the pot to the input. Vary the pot setting and see that the output code does what you expect.
It sounds like you are assuming that leaving the input floating equates to zero volts in. It really equates to undefined volts in. To test for operation, connect the ends of a 10k potentiometer to Ref+ and Ref-, and connect the wiper on the pot to the input. Vary the pot setting and see that the output code does what you expect.
I was only trying to tell you how to test the converter, not how to use it. I haven't used the ADC0808, but it doesn't look very suitable for audio conversion unless you only want voice quality (low bandwidth). You need a sample and hold, you have to wait for it to settle before you can start the conversion, and the conversion time is 100usec (maybe half that if you run at the maximum clock rate). You would also need an anti-aliasing filter in front of the sample and hold. I think I would look for a faster A/D.
Surely you know how to use Google. Search for "sample and hold".
A sample and hold samples the audio (in this case) periodically, and holds that sampled value steady until a conversion can be completed. The A/D will give you erroneous results if the input voltage changes during a conversion cycle.