![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Am I correct in assuming that I can read the 600mV reference on address 1111, and use this to determine the true VCC? | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| Good find. I have a project at the moment where this would be useful. The data sheet is a little unclear as to how this can be used, it appears that the only place that the Fixed Vref goes is to the ADC input - is this correct? I'll probably get time tomorrow to try this but just thought I'd ask (it's midnight here). The reason I ask is because I'm using the comparators with the ladder Vref and the diagrams in the data sheet suggest that this would still work to measure Vdd. Mike. | |
| |
| | (permalink) |
| I believe there's an application note that specifically describes using the hardware for that function. I'll see if I can find it for you Mike. Mike <added> It's application note AN1072A - Measuring Vdd using the 0.6v reference | |
| |
| | (permalink) |
| Hi Mike, Thanks for the AN, that will come in useful tomorrow. It doesn't however answer my question, can you have both the ladder Vref and the Fixed Vref at the same time. I.E ladder to comparator inputs and fixed to ADC input. Mike. | |
| |
| | (permalink) | ||
| Quote:
Also, CVref can be selected as the input of the A/D converter according to the datasheet (ADCON0, CHS0/3). I haven't used both at the same time but I agree with you, the diagrams in the datasheet suggest that it's possible. Quote:
Last edited by eng1; 15th October 2007 at 05:23 PM. | |||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Using Oscilloscopes | mechie | Electronic Theory | 9 | 29th November 2007 10:49 PM |
| Voltage reference with a zener diode | Futterama | General Electronics Chat | 7 | 28th January 2006 09:35 AM |
| Reference voltage question. | MrMikey83 | Micro Controllers | 4 | 24th December 2005 07:48 AM |
| PIC18F4410 Analogue Input Woes | yapyapyap | Micro Controllers | 3 | 14th November 2005 08:26 AM |
| A Microcontroller based Analogue Waveforms Analyzer Project | km | Electronic Projects Design/Ideas/Reviews | 76 | 30th June 2004 07:40 PM |