Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/02/04 19:58
Read: times


 
#82421 - Help!
Responding to: ???'s previous message
Andy Said?
"Draw the diagram; think how the "output" voltage from the divider (that you measure with your ADC) is related to the "input" voltage to the divider.

You also need to think about how the range of ADC digital output values relates to the range of analogue input voltage values to the ADC."
Andy, this is though, but I know I can do it with a little bit of your help.
I have a divider already done: (6.49K/(6.49k + 20K)) * 12V = 2.94Volts which is the voltage going into the ADC. The user's manual says that using the ADC the pin will be 3V tolerant only. The highest voltage I will have on the battery is 15Volts. The lowest will be 10 Volts.
I am thinking:
0x64 = 10.0 volts
0x65 = 10.1 volts
0x66 = 10.2 volts
Is this a good approach?
How would you arrange this?

Thanks for your help!
J.C.


List of 38 messages in thread
TopicAuthorDate
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      

Back to Subject List