![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
i am working a voltmeter project.it is based on 16f676. but don't understand ADC calculations in the voltmeter project . i see also Electronic Circuits it is not working properly. and c lang. also
| |
| |
| | #2 |
|
The A/D input to a Pic is usually ratiometric with respect to the Vdd pin, meaning if it is a 10 bit A/D, it will read out 1023 (2^10-1) when the analog input is the same as Vdd. That means you have to know what Vdd actually is; 5V is not good enough. You have to know if it is 4.87V or 5.04V.
__________________ Mike ML. | |
| |
| | #3 |
|
Does that particular pic not have an internal voltage reference? I'm used to AVR's which although they can use VCC as a voltage ref also generally have an internal bandgap voltage source of around 2.54 volts, so long as the VCC voltage is above the internal circuitry's threshold for regulation. (not sure what that is off the top of my head) the ADC results will be unaffected.
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
| | #4 | |
| Quote:
thank for replly, pl more exaplane and example.... | ||
| |
| | #7 |
|
Don't contact him, ask for more help on the forum. If you PM him, then the other forum visitors don't benefit from your question and his response.
__________________ A rectangular bear is just a polar bear after a coordinate transform. -- I dunno who. A recent study shows that research causes cancer in rats. -- I dunno who said that one either. | |
| |
| | #8 |
| | |
| |
|
| Tags |
| adc, calculations, project, voltmeter |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Need help with project, AC ammeter to ADC?? | Neophysics | Electronic Projects Design/Ideas/Reviews | 12 | 18th May 2009 08:01 AM |
| My first PIC Project. Voltmeter and another thing | iflymyhelishigh | Micro Controllers | 13 | 31st March 2009 04:43 PM |
| Capacitor calculations? | James1986 | Electronic Projects Design/Ideas/Reviews | 16 | 29th January 2009 12:22 PM |
| Capacitor calculations? | James1986 | Electronic Projects Design/Ideas/Reviews | 3 | 7th December 2008 05:22 PM |
| question about my calculations | dak246 | General Electronics Chat | 5 | 15th August 2004 09:50 PM |