Discussion in 'General Electronics Chat' started by freemindbmx, Apr 3, 2014.

1. ### freemindbmx Thread Starter Member

Mar 5, 2014
72
0
In a ADC,the example I got was.A 2-bit ADC in a 10v range can represent this 10v analog input as 4 different binary values

Value-Voltage Resolution
00-(0-2.5v),
01-(2.5v-5v),
10-(5v-7.5),
11-(7.5v-10v)

and it divides the input voltage range into four voltages of resolution.My question is how does a 10-bit resolution,have 1024 values if you can basically only have 4 finite values of binary. 00,01,10,11.Little confused here,I tried looking it up but got more confused.

2. ### shteii01 AAC Fanatic!

Feb 19, 2010
3,399
497
2-bit adc has 2 bits, 2^2=4.

10-bit adc has 10 bits, 2^10=1024.

3. ### odinhg Active Member

Jul 22, 2009
65
15
You can only have 4 different values when having 2 bit resolution. When you're having 10 bits, you can have 1024 different values.

Code ( (Unknown Language)):
1. 0 = 0000000000
2. 1 = 0000000001
3. 2 = 0000000010
4. 3 = 0000000011
5. 4 = 0000000100
6. ...
7. 1021 = 1111111101
8. 1022 = 1111111110
9. 1023 = 1111111111

4. ### tshuck Well-Known Member

Oct 18, 2012
3,531
675
One bit of binary has only two values - 0 or 1. In your 2-bit example, you have two bits, each with two possibilities (0 and 1), giving you 4 possible combinations (2^2 = 4).

N-bit data has 2^n values, so 2^10 = 1024.

5. ### freemindbmx Thread Starter Member

Mar 5, 2014
72
0
thanks,for some reason I had convoluted thinking about how many combinations you could have. lol