PDA

View Full Version : messuring 12V



jankraak
- 12th October 2008, 15:53
can some one help me with the code for messuring 12V power .
So i can put a porta.4 high?
porta.4 must high when the power is below 10Volts.
I use a 16F628 or later a 16F72

Acetronics2
- 12th October 2008, 18:24
Hi,

It's not the McDo Drive-in of code here ...

how do you want to use your processor ??? Hysteresis needed ???

as many ways are possible I can't ( and do not want ) give you a ready to burn application.

- use of comparators ?
- use of RCTime command ?
- use of the CCP module ?
- ???

Now ... as Porta.4 is generally an open collector pin ... you can't make it high !!! ( lol ) but just let it float ...

try to have a clearer view of what you want to do ... and show us what you already have looked for.

Alain