Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 31st May 2004, 09:35 PM   (permalink)
Default analog 2 digital converter...

hi all.

i'm now reading in some voltages..

but the thing i find is that the maximum value i find = 1019/1020

and not the 1023..

i have put 2 resistors in series and the in the middle of them i puted a wire to the pic..

and the last res is a resistor you can adjust..whit a button...

it also can draw to 0 ohm...


i don't untherstand wy i read 1020 in stead of 1023 any one suggestions..

TKS

my vref = 5,07 volt says my multimeter..
TKS is offline  
Old 31st May 2004, 10:05 PM   (permalink)
Default

Try posting the circuit, the obvious answer is that your input isn't reaching the reference voltage.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 1st June 2004, 11:18 PM   (permalink)
Default

1. Make sure you have the ADC conversion clock divider set correctly for your clock freq.
2. Make sure you have waited the minimum time after the ADC has been enabled and you have selected the desired channel before setting the GO bit.
Oznog is offline  
Old 1st June 2004, 11:33 PM   (permalink)
Default VDD

even when i put it strait to VDD it says that...

i compare also to VDD

so it should says 1023 then...

TKS
TKS is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 04:49 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker