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
 
Thread Tools Display Modes
Old 10th November 2006, 01:11 AM   (permalink)
Default pic to detect voltage change

hello
i am trying to make a pic detect a small voltage change 0.2v to 0.6 volt
not measure it , just detect its change
i have to use 16f628, anything else is not an option
any suggestions ?
max_imum2000 is offline  
Reply With Quote
Old 10th November 2006, 01:15 AM   (permalink)
Default

Analog to Digital converter, maybe?
__________________
There is no "I" in "team", unless Apple makes it... Then it would be iTeam.
Marks256 is offline  
Reply With Quote
Old 10th November 2006, 03:22 AM   (permalink)
Default

Check out the comparator and voltage reference sections of the data sheet. You can set Vref to 5/24 * 2 = 0.4V and use a comparator to detect if the other input is above or below it.

Mike.
Pommie is offline  
Reply With Quote
Old 10th November 2006, 04:26 AM   (permalink)
Default

as already suggested use the internal comparators
__________________
Gods own Country
Incredible !ndia

www.flickr.com/photos/_akg/

"Give a man a fish, and he will eat for a day. Teach that man to fish, and he will eat for a lifetime."
akg is offline  
Reply With Quote
Old 10th November 2006, 10:25 AM   (permalink)
Default

I think it is better to amplify the voltage 10 times using low noise operational amplifier such as TLO71 to get greater ampltude and and then use a window comparator to detect the change of the voltage
kamdy is offline  
Reply With Quote
Old 10th November 2006, 10:35 AM   (permalink)
Default

Quote:
Originally Posted by kamdy
I think it is better to amplify the voltage 10 times using low noise operational amplifier such as TLO71 to get greater ampltude and and then use a window comparator to detect the change of the voltage
Regardless of amplifying it or not, it makes obvious sense to use the internal comparators in the PIC - there's also no requirement for a window comparator, as he's not looking to detect a 'window', just above or below a certain value.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Old 10th November 2006, 10:42 AM   (permalink)
Default

thanks all
i know about using an opamp
but actually i am trying to minmize the use of components

so is it possible to just connect the source to the input pins of the comparator and set the Vref. and thats it
with no amplification or whatever ?
max_imum2000 is offline  
Reply With Quote
Old 10th November 2006, 11:13 AM   (permalink)
Default

what is the maximum voltage of ths source you are using
kamdy is offline  
Reply With Quote
Old 10th November 2006, 11:54 AM   (permalink)
Default

Quote:
Originally Posted by max_imum2000
thanks all
i know about using an opamp
but actually i am trying to minmize the use of components

so is it possible to just connect the source to the input pins of the comparator and set the Vref. and thats it
with no amplification or whatever ?
Read the datasheet about it!, there are low and high ranges for Vref, the low range covers from 0.2V to about 3V in 0.2V increments.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Old 10th November 2006, 12:49 PM   (permalink)
Default

Quote:
Originally Posted by max_imum2000
thanks all
i know about using an opamp
but actually i am trying to minmize the use of components

so is it possible to just connect the source to the input pins of the comparator and set the Vref. and thats it
with no amplification or whatever ?
just do as I said earlier.

Mike.
Pommie is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Voltage ElectroMaster Electronic Theory 44 8th August 2007 05:35 PM
measuring transconductance(gm) walters General Electronics Chat 24 6th February 2006 08:49 AM
Voltage reference with a zener diode Futterama General Electronics Chat 7 28th January 2006 08:35 AM
12vdc -> 7.5vdc transformer gulaz Electronic Projects Design/Ideas/Reviews 10 7th May 2004 07:59 PM
Accurate low voltage diff measurement Oznog General Electronics Chat 3 3rd May 2004 04:41 AM



All times are GMT. The time now is 06:24 AM.


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