Hi folks, this is my first post and I hope it's okay to just jump in with a question. I am a VERY amateur hobbyist and have no background in electronics. I can make way way around the digital stuff but beyond Ohm's law, analog is a mystery to me. That said...
I have a PIC project running on 5v. It is to be connected to an aircraft DC bus that provides either 12 or 24 volts, depending on the plane.
When the alternator is running properly, the voltage should be somewhat higher in both instances - approximately 13.5 and 26 volts, give or take.
I need to detect undervoltage and overvoltage conditions, and preferably make the upper and lower thresholds configurable.
Can someone help me with a straightforward way to do this? I do have an a/d converter on the pic.
Do you think a simple 2-resistor voltage divider and stick the output into an a/d pin on my PIC will do it?
Thanks!
mdr
I have a PIC project running on 5v. It is to be connected to an aircraft DC bus that provides either 12 or 24 volts, depending on the plane.
When the alternator is running properly, the voltage should be somewhat higher in both instances - approximately 13.5 and 26 volts, give or take.
I need to detect undervoltage and overvoltage conditions, and preferably make the upper and lower thresholds configurable.
Can someone help me with a straightforward way to do this? I do have an a/d converter on the pic.
Do you think a simple 2-resistor voltage divider and stick the output into an a/d pin on my PIC will do it?
Thanks!
mdr
Last edited: