I am stuck in displaying the ADC results, either on my LCD or on the Terminal of CodevisionAVR (through the UART - configured using the wizard). I have decoupled AREF pin using a 10nF capacitor (I will change it to 100nF for a better noise reduction). The audio spectrum analyzer takes its input through a 3.5 mm jack audio cable, this signal is amplified and filtered in order to select the frequencies between 0 and 4 KHz, and the output of this circuit is connected to PA0, which is the channel 0 of the ADC of the microcontroller.įor testing, I have set the ADC to work on 8 bits (read the most significant 8 bits), taking the internal 2.56V as voltage reference. The project uses an ATmega16A, with an 7.37 MHz external oscillator. My project is an audio spectrum analyzer, but I am stuck in displaying the ADC results, either on my LCD or on the Terminal of CodevisionAVR.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |