Go Down

Topic: What is AVCC for on the ATMEGA328? (Read 25162 times) previous topic - next topic

AgeingHippy

Hi All

I am wondering if anyone can explain in plain english what the AVCC pin is for on the ATMEGA328?

Looking at the schematic for the Arduino I see it is connected to 5+ via a component L1 marked at 100uH. What is this component (an inductor/choke?) and what is it's purpose?

For my purposes of creating a perfboard arduino would I lose anything by simply connecting this pin to 5+?

Thanks

CrossRoads

AVCC is power for the analog circuitry (Port C pins and internal A/D) in the Atmega.
L1 is an inductor intended to make cleaner analog power.
That is the old serial Arduino too. Newer ones have USB interface instead, with AVCC connected to VCC.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

AgeingHippy

Hi Crossroads

So I can connect AVCC directly to VCC (5+) without providing the inductor for now?

I guess I can add the inductor at a later stage when I get one.

?

Cheers

CrossRoads

Yes. Modern boards are shipping without the inductor. If you have a clean 5V source, you should be okay. If you are doing lots of fine analog measurements, you can add it later if your measurements look questionable (tho hard to tell really with 4.88mV resolution).

http://arduino.cc/en/uploads/Main/arduino-uno-schematic.pdf
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

AgeingHippy

Magic

Your assistance here and in many of my other questions is really greatly appreciated Crossroads.  :D

Pancra85

Sorry for resurrecting the thread, I have connected AREF And AVCC pins to Vcc.
And have made a synth with dual pwm audio output, when MIDI INPUT is received it makes a crackle noise.

Here is the schematic:


It's very thin but it's there at the output, also is most noticeable at those 2 "green font markers with arrows" above

Could it be AREF and AVCC reason??? I tryed to RC low pass filtering them but it didn't do anything.
Thanks!

CrossRoads

DO NOT CONNECT AREF TO AVCC. It connects internally by default.

Add 0.1uF caps from AVCC, VCC, and AREF to GND.
Add to your LM358 power pin also.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up