Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 24th July 2006, 09:06 PM   (permalink)
Default What is this??


Hi all,

Noob here. Can someone please tell me what part I need to do the following job? I want to input a varying voltage from 0-5v (using a PIC) and have the output be 0-12v (see sketch below). I know that a transistor can do this but I really need a linear relationship between the input and output voltages. Can someone recommend a specific part for me? Thanks!!!!


____________12v in
____________|
____________|
__________-----
0-6v ---->|____|----> 0-12v
__________-----
____________|
____________|
____________-
____________.
____________Ground


Input Output
----- ------
___0v___0
___1____2
___2____4
___3____6
___4____8
___5___10
___6___12
orangerobot is offline  
Old 24th July 2006, 09:10 PM   (permalink)
Default

op amp set up with non-inverting gain of 2. To get the full range of 0 to 12V, though, you're going to have to bias the op-amp from somewhat higher than 12V on the Vdd end and somewhat lower than 0V on the Vss end. You could go for a rail-to-rail op-amp - at least that would get you close to the rails without having to change the power supply.
OutToLunch is offline  
Old 24th July 2006, 09:36 PM   (permalink)
Default

Yes, use an op-amp, PICs may be good for complex applications but for something simple like this you can't beat an op-amp. I think PICs are often over-used these days, people often use them because they don't know how to do it the "propper way".
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 11:47 AM.


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

eXTReMe Tracker