Author Topic: ADC in avr atmega 16  (Read 3044 times)

0 Members and 1 Guest are viewing this topic.

Offline Piyush GoelTopic starter

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
ADC in avr atmega 16
« on: February 07, 2012, 06:12:33 PM »
What is the use of the ADC port given on the microcontroller atmega 16?
how can it be used??

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: ADC in avr atmega 16
« Reply #1 on: February 07, 2012, 06:59:45 PM »
Hi,

What is the use of the ADC port given on the microcontroller atmega 16?
The A/D-C (Analog to Digital Converter) is for converting analog voltages from eg. a sensor into a digital value.
With a 10 bit A/D-C ans a reference voltage of 5V, an analog voltage will be quntitized into steps of roughly 5mV (4.883mV).


how can it be used??
If you're after the exact code fror using it, take a look at the software board, Google something like "ATmega16 ADC code", or try this tutorial.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline Piyush GoelTopic starter

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
Re: ADC in avr atmega 16
« Reply #2 on: February 08, 2012, 03:46:41 AM »
Thanx a lot!!!!

 

SMF spam blocked by CleanTalk