What is the clock rate for ATmega328P ADC?
The Atmega328p ADC circuit needs a clock below 200 KHz to get a 10 bit resolution and by using a higher frequentie the resolution will only be 8 bits, but then you will have a faster sampling rate. In this project I use 16 MHz / 128 to get 125 KHz. This is below 200 KHz so it will provide the full 10 bits resolution.
What does bit 6 and 7 tell the ATmega328P?
Bit 6 and 7 tells the Atmega328p against what reference the voltage on the pin should be measured. This is important for the precision of the 10 bit read value. For example, it is possible to put 2V as a reference on the AREF pin. In that case the 10 bits (value up to 1023) will be divided over 2V.
How many analog ports are there in an LCD?
There are 6 analog ports and 2 are already used for the lcd. To change the voltage at the analog pin I used a 10k potmeter. The ADC can be set to free running mode or single conversion mode. Free running mode means the ADC samples continuously and single conversion mode means, only sample when you order to do so.
What does free running mode on ADC mean?
The ADC can be set to free running mode or single conversion mode. Free running mode means the ADC samples continuously and single conversion mode means, only sample when you order to do so. I use the single conversion mode in this project. Use Up/Down Arrow keys to increase or decrease volume.
What’s the maximum current for ATmega at 80 Ma?
At 80 mA you are exposing the IC to conditions that exceeds the manufacturer’s guarantees for product survival and the manufacturer explicitly advises that such practices may cause permanent damage to the IC. Manufacturers publish data that tells you what conditions they guarantee a device will meet in practice when operating normally.
What does absolute maximum rating on ATmega mean?
“Absolute Maximum Ratings” are in all reputable data sheets and mean just what they say. They are the absolute maximum at which the device is guaranteed by the manufacturer not to suffer permanent damage at. Usually the guaranteed operating conditions are lower than the absolute maximum ratings.