system
April 26, 2008, 1:51pm
1
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
system
April 27, 2008, 1:16am
2
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
system
April 27, 2008, 3:13pm
3
I am a bit confused. i think that's obvious
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
mem
April 27, 2008, 3:32pm
4
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.
system
April 28, 2008, 10:46am
5
right, ok... i think i got it (?)
thanks