Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

PIC18f ADC voltage reference

Status
Not open for further replies.

amilaachala

Newbie level 6
Joined
Nov 15, 2012
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,356
hi guys,

I want to know about 'minimum external voltage references' that can be given to ADC.suppose i give external voltage references as " 0 V and 3.3 V " then a step size would be ( 3.3/1023 ) V rit????

thanks ........
 

Tahmid

Advanced Member level 5
Joined
Jun 17, 2008
Messages
4,758
Helped
1,791
Reputation
3,574
Reaction score
1,650
Trophy points
1,393
Location
Silicon Valley, California, USA (from Dhaka, Bangl
Activity points
30,545
Step Count = (VREF / (Total No. of Steps)) * ADC result

Step size = VREF/(Max count)
So, the step size would be (3.3/1024)

Be careful, total no. of steps is 1024, not 1023.

The minimum external voltage reference you can use is 3.0V (if VDD ≧ 3.0V) or 1.8V (if VDD < 3.0V).

Hope this helps.
Tahmid.
 
Last edited:

amilaachala

Newbie level 6
Joined
Nov 15, 2012
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,356
are you sure??? i mean to find a step size

step size = (Vmax - Vmin) / 1024

that will give you the voltage difference between 2 steps Right?????????
 

wp100

Advanced Member level 5
Joined
May 15, 2009
Messages
3,056
Helped
883
Reputation
1,781
Reaction score
736
Trophy points
113
Location
Prime Meridian
Activity points
0
Hi,

Tahmid is correct.

step size = ( vmax 3v3 - vmin 0v) / 1024 = 3v3 / 1024 = 0.003226 v per single step

Also see the chips datasheet, section electrical charactristics, for the operating voltages of the ADC of your particular type of chip F or LF
 

amilaachala

Newbie level 6
Joined
Nov 15, 2012
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,356
Hi,

Tahmid is correct.

step size = ( vmax 3v3 - vmin 0v) / 1024 = 3v3 / 1024 = 0.003226 v per single step

Also see the chips datasheet, section electrical charactristics, for the operating voltages of the ADC of your particular type of chip F or LF
If you look closely you will see that Tahmid has muliplied the equation you posted with an additional Vin.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top