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
 
LinkBack Thread Tools Display Modes
Old 6th June 2004, 05:54 PM   (permalink)
Default how can i measure and compare voltage

at first i want adjust over and under voltage and timer with pot after this if ac line voltage is exceed to my edge ,how can i start the time(1 to 20 second--its adjustable) and how can i compare this voltages...

pic is could be 16F876
thanx to who help me or not...
refo is offline  
Old 7th June 2004, 07:16 AM   (permalink)
Default

hm. I cannot understand your question..
StupidDum is offline  
Old 7th June 2004, 01:39 PM   (permalink)
Default

I think what he wants to do is use a voltage divider with a potiometer so that it can be used for different levels of inputs. From there, he wants to moniter it for its maximum (minimum too?) value and trigger something if it goes out of range.

I'd do it with an ADC. Set up a voltage divider with potentiometers and resistors, connect it to an ADC, and then let it run. You'll have to find out what the maximum impedance is for the ADC, and if the AC line goes below ground, come up with some kind of protection for that.... like a 1n4001 diode.

But I'm not familiar with pics so I can't offer anything more.
__________________
A rectangular bear is just a polar bear after a coordinate transform. -- I dunno who.
A recent study shows that research causes cancer in rats. -- I dunno who said that one either.
Noggin is offline  
Reply

Bookmarks

« GSM Intreface! | ya »
Thread Tools
Display Modes





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


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

eXTReMe Tracker