??? 12/02/04 22:16 Read: times |
#82434 - in extreme detail Responding to: ???'s previous message |
As stated:
"The A/D read 255 full scale. So if your divider divides x volts to full scale the the A/D will read 255/x*Vin Then you take that value and multiply/divide or whatever to make it input volts." detailling it: Let us assume that the A/D gives full scale for 3 Volts. I do not have the time to hunt the value from the datasheet. Now, let us assume that your MAX input voltage is 15Volts, thus your divider could become 4k and 1k. So when you apply x (15V) the A/D get full blast and will read 255. Then if you apply Vin = 7.5 Volts the A/D will get half blast and read 127 or 128. Try a few examples with the formula above, You'll see. Erik |
Topic | Author | Date |
LPC93X Family A/D Conveter | 01/01/70 00:00 | |
Where have you looked so far? | 01/01/70 00:00 | |
Where have you looked so far? | 01/01/70 00:00 | |
codearchitect | 01/01/70 00:00 | |
codearchitect | 01/01/70 00:00 | |
not code | 01/01/70 00:00 | |
not code, I thought I needed it | 01/01/70 00:00 | |
What are you trying to do | 01/01/70 00:00 | |
What are you trying to do | 01/01/70 00:00 | |
What are you trying to do | 01/01/70 00:00 | |
Basics of A/D Converters | 01/01/70 00:00 | |
"my" Code Architect | 01/01/70 00:00 | |
"my" Code Architect | 01/01/70 00:00 | |
Help! | 01/01/70 00:00 | |
with what? | 01/01/70 00:00 | |
with what? | 01/01/70 00:00 | |
how | 01/01/70 00:00 | |
Good! | 01/01/70 00:00 | |
x volts | 01/01/70 00:00 | |
Vin | 01/01/70 00:00 | |
both of them | 01/01/70 00:00 | |
x volts varies | 01/01/70 00:00 | |
in extreme detail | 01/01/70 00:00 | |
I got it | 01/01/70 00:00 | |
measure it | 01/01/70 00:00 | |
DVM? | 01/01/70 00:00 | |
Digital Volt Meter | 01/01/70 00:00 | |
DVM | 01/01/70 00:00 | |
VREF | 01/01/70 00:00 | |
VREF | 01/01/70 00:00 | |
loanguage | 01/01/70 00:00 | |
Constant vs Percentage error | 01/01/70 00:00 | |
Off Percentage | 01/01/70 00:00 | |
percentage | 01/01/70 00:00 | |
Percentage | 01/01/70 00:00 | |
Converting Voltage to ASCII | 01/01/70 00:00 | |
you should know better by now! | 01/01/70 00:00 | |
I should know by now![]() | 01/01/70 00:00 |