Main Menu
PBP Code Menu
Login
Username:

Password:


Lost Password?

Register now!
Calculator's: PIC Voltage Divider Calculator  
Author: Darrel Taylor
Published: 6/4/2007
Read 6185 times
Size 52.97 KB
Printer Friendly Page Tell a Friend
 
PIC Voltage Divider Calculator                     PIC Voltage Divider Calculator    © 2006  Darrel Taylor
                           


  Enter Voltage Divider Requirements      
  MAX Divider Input Volts   If you have a SOLID 5V supply, use the 5 Volts Output
For a 7805 or equiv. Use 4.8 Volts instead.
  MAX Output Volts  
  Voltage Ratio    
  R1   R2 = R1/(1-(Vout/Vin))-R1
  Estimated R2  
  Tolerance %      
   
               Vdc            
                   
                   
                   
                   
               V
                   
                   
                   
                  
                   
                   
                   

 

  Dissipation Watts  
  Rtotal (R1+R2)  
  Voltage Input Volts  
  Divider Current mA  
  R1 voltage Volts  
  R1 power Watts
  R2 voltage Volts
  R2 Power Watts
  8-bit A/D byte
  10-bit A/D word
  12-bit A/D word
  16-bit A/D word
         
  C1 uF  
  R1 Time const mS  
           
 

Ignore This portion.
It was an idea that never materialized. 

To see what I had in mind, take a look at this post...
http://www.picbasic.co.uk/forum/showthread.php?p=2010

          PicBasis Pro Code  
             
          # of Dividers Decimal Places
         
             
             

 

 


 
Article Rated: 7.00 (4 votes)
Rate this Article
Return to Category | Return To Main Index
The comments are owned by the poster. We aren't responsible for their content.
Poster Thread
Darrel Taylor
Posted: 2007/12/9 23:41  Updated: 2007/12/10 2:09
Webmaster
Joined: 2004/2/8
From: California
Posts: 86
Online!
 Zener Note:
Do not use the Zener diode (D1) for analog circuits. It will adversely affect the readings.

It can be useful for protection of Digital Inputs though.

HTH,
sougata
Posted: 2009/6/14 11:46  Updated: 2009/6/14 11:48
Just popping in
Joined: 2009/6/14
From: Kolkata, India
Posts: 1
 Regarding Zener
Hi Darrel,

A simple thanks is not enough for the contribution you make everyday. I use your calculator often, but skipped your warning on the zener. A little bit elaboration might be useful. I have gathered the following info, but might be wrong. Please correct and update.

Zeners exhibit a soft knee while close to the breakdown voltage. Thus a 5.1 Volt zener would start conducting may be from 4.7 volts (depends on brand, temperature). They are also noisy, capacitive.
Advantages are they are cheap, also protects from negative input and easy to implement.

I do not rely on the 7805 regulator as they are themselves very noisy. Internal reference means the supply line. With 7805, internal reference measure a battery using a 10 BIT ADC PIC and consecutive readings alter by more than 1 LSB, almost always.

In my applications I almost always use a voltage reference MCP1541 from microchip which is 4.096 (binary divisible) volt @ 1%. Thus my inputs need not see voltages greater than 4.096. Escapes with a 5.1V zener from Vishay. Capacitor filters removes noise (to some extent). So overall the accuracy is not that effected. Last but not least use ADC oversample/average. The circuit I mentioned here works good http://www.picbasic.co.uk/forum/showpost.php?p=74678&postcount=11

However I would like to correct my knowledge from the experts like you.