Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 4th April 2008, 12:05 PM   (permalink)
Arrow Scalling Voltages upto 30V DC

Hi all
I can measure DC voltages from 0v to 5v using PICS analog input.

Now I need to measure the voltages above 5V which means 0V to 30V maximum.

I don’t know how to scale the OP AMP to my needs, if any method easy to understand it will be great.

I need the hardware part not the software.

Thanks
Suraj143 is offline  
Old 4th April 2008, 12:35 PM   (permalink)
Default

Google: resistive voltage divider

Ken
__________________
"To invent, you need a good imagination and a pile of junk."
Thomas A. Edison (1847 - 1931)
KMoffett is offline  
Old 4th April 2008, 03:31 PM   (permalink)
Default

Easy to understand. OK you need an amplifier that attenuates a 0-30V signal into a 0 to 5V signal. This corresponds to a gain of 1/6 = 0.16666....
Are you with me so far? A non-inverting stage must have a gain greater than or equal to one so you will need to use an inverting stage. OOOPS you only have a single supply so there will be a problem.

RESET. Use a gain of 1 voltage follower and drive a voltage divider with a gain of 1/6 = 0.16666.... You must use an amplifier that can withstand 30V on the input. Start your search with an LM324. There may be other requirements, that you have not articulated, that will dictate an alternate choice.

The voltage follower will prevent the divider from loading the source and you should be able to conver the 0-5V output.
__________________
We never have time to do it right; but we always have time to do it over.
Papabravo is offline  
Old 7th April 2008, 04:48 AM   (permalink)
Default

Quote:
Originally Posted by Papabravo
Easy to understand. OK you need an amplifier that attenuates a 0-30V signal into a 0 to 5V signal. This corresponds to a gain of 1/6 = 0.16666....
Totally understood.

Quote:
Are you with me so far? A non-inverting stage must have a gain greater than or equal to one so you will need to use an inverting stage. OOOPS you only have a single supply so there will be a problem.

RESET. Use a gain of 1 voltage follower and drive a voltage divider with a gain of 1/6 = 0.16666.... You must use an amplifier that can withstand 30V on the input. Start your search with an LM324. There may be other requirements, that you have not articulated, that will dictate an alternate choice.

The voltage follower will prevent the divider from loading the source and you should be able to conver the 0-5V output.
Thanks for the info.But I have to study this.

Those items very new to me.I don't know what they are.

*A non-inverting stage
*voltage follower
*drive a voltage divider

For the time being I'll use resister voltage divider.Thanks for the support.
Suraj143 is offline  
Old 7th April 2008, 08:03 AM   (permalink)
Default

Quote:
For the time being I'll use resister voltage divider.Thanks for the support
Hi Suraji,
When you calculate your resistive divider, dont forget to keep the divider impedance seen by the PIC's ADC <= 10K0.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now  
Old 8th April 2008, 06:00 AM   (permalink)
Default

Quote:
Originally Posted by ericgibbs
Hi Suraji,
When you calculate your resistive divider, dont forget to keep the divider impedance seen by the PIC's ADC <= 10K0.
That is very usefull.Thanks for that.
Suraj143 is offline  
Old 11th April 2008, 11:35 PM   (permalink)
Default

Even better, include the PIC's input impedance in the voltage divider calculation. If the PIC has an exact inpedance then you won't need another resistor, just one series resistor will do.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
Hero999 is offline  
Old 12th April 2008, 11:55 AM   (permalink)
Default

Quote:
Originally Posted by Hero999
Even better, include the PIC's input impedance in the voltage divider calculation. If the PIC has an exact inpedance then you won't need another resistor, just one series resistor will do.
That's no good, it's not the impedance that's the problem, it's the charging current for the sample and hold capacitor - source impedance needs to be no more than 2K or so, input 'impedance' is massively greater than that.

Essentially you really need a buffer, except for very rare occasions - which is why my tutorials use an opamp, with the attenuator at it's input (not feeding the PIC).
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
controll ing dc motor need help norms09 General Electronics Chat 14 5th August 2008 01:37 PM



All times are GMT. The time now is 10:09 AM.


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

eXTReMe Tracker