NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Microcontroller Programming » atmega328P's ADC

January 27, 2011
by lcruz007
lcruz007's Avatar

Hello,

Can the ADC of the MCU detect a voltage of around 0.7V of amplitude and a DC offset of 3.5V? I'm reading a signal of around 5Hz.

Thank you!

January 27, 2011
by hevans
(NerdKits Staff)

hevans's Avatar

Hi lcruz,

I'm sorry to answer your question with a question, but I think it will help you figure out your answer. Your ADC can read voltages between its GND and it AREF pin, which in this case is 0-5V. It splits these voltages equally into the 10bit number that it can hold the current "adc value". So since 10bits can represent a total of 1024 numbers, how many volts is represented in each step of the adc value? If you answer that you will know how many steps your adc value will increment with a .7V swing and you can figure out if that is good enough for your application.

Humberto

Post a Reply

Please log in to post a reply.

Did you know that you can impress a loved one with a digitally-controlled Valentine's Day Card with randomly twinkling LEDs? Learn more...