atmega168 8 or 10 bit?

hi,

could you please explain me if the atmega168 used in Diecimila is 8 or 10 bit microcontroller?
I think I'm a bit confused cause the data sheet says

"8-bit
Microcontroller
with 8K Bytes
In-System
Programmable
Flash"

Also, does anyone know could tell me what is the sampling rate of the AD conversion in Diecimila?

thanks
warp

hi,

could you please explain me if the atmega168 used in Diecimila is 8 or 10 bit microcontroller?
I think I'm a bit confused cause the data sheet says

"8-bit
Microcontroller
with 8K Bytes
In-System
Programmable
Flash"

Also, does anyone know could tell me what is the sampling rate of the AD conversion in Diecimila?

thanks
warp

Eh? 8 bits is 8 bits. Are you somehow confusing addressing range with native data type size? Even the 1980's era 8-bit 6502 could address 64KB...

As for sampling rate, read this: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1208715493

I am a bit confused. i think that's obvious :slight_smile:

so let me put it differently:

if the atmega168 is 8-bit microcontroller, how can the Arduino's analog inputs be 10-bit resolution (0-1023) ?

does this make sense?? :-/

thanks for the sampling rate info

The ATMega chip holds the ADC the value in two 8 bit registers. The Arduino's analogRead function returns this as a single 16 bit integer with a maximum value of 1023.

right, ok... i think i got it (?)

thanks