Kye
01-20-2009, 05:52 AM
Hey guys,
I can't seem to find any information on this online and I'm having a bit of a problem figuring it out myself.
I want to get the propeller chip to be able to output audio and input audio. My idea is that if I use operational amplfiers to integrate a pwm wave I can then create a nice DAC for sound generation. For audio input I plan to use a comparator with a sample and check circuit which simply generates a voltage using the audio output technique and then·uses the campator to check if the voltage generated is equal to the input, this is then done very fast to sample the input.
Now, addtionally the point of the operational amplfiers is to produce a level shifted signal for the PC audio. The problem is... I can't seem to find good reference material on what the the PC audio line level voltage is and how it swings. Additonally I'm not sure if a the 5V power supply on the prop proto board can power the operational amplfiers.
I'm not really good at using analog circuits. Help would be appreciated.
Thank you,
Oh, at the bottom are some quick sketches of the circuits.
There would be 3 analog output circuits and 1 comparator circuit. The first two analog output circuits would generate stereo audio and third would be used to drive the analog input for the comparator to sample the input signal.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
I can't seem to find any information on this online and I'm having a bit of a problem figuring it out myself.
I want to get the propeller chip to be able to output audio and input audio. My idea is that if I use operational amplfiers to integrate a pwm wave I can then create a nice DAC for sound generation. For audio input I plan to use a comparator with a sample and check circuit which simply generates a voltage using the audio output technique and then·uses the campator to check if the voltage generated is equal to the input, this is then done very fast to sample the input.
Now, addtionally the point of the operational amplfiers is to produce a level shifted signal for the PC audio. The problem is... I can't seem to find good reference material on what the the PC audio line level voltage is and how it swings. Additonally I'm not sure if a the 5V power supply on the prop proto board can power the operational amplfiers.
I'm not really good at using analog circuits. Help would be appreciated.
Thank you,
Oh, at the bottom are some quick sketches of the circuits.
There would be 3 analog output circuits and 1 comparator circuit. The first two analog output circuits would generate stereo audio and third would be used to drive the analog input for the comparator to sample the input signal.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,