Instructables user [Rudolf] wrote in to share a handy little tool he created with ham radio operators in mind. Now and again, he found himself connecting to an unknown power supply, and rather than blow out all his expensive radio gear, he decided to put together a simple polarity and voltage tester that can be easily carried out in the field.
The tester features a pair of powerpole connectors, which are used quite often for connecting HAM gear. A PIC12F675 runs the show, acting as an adjustable comparator for detecting voltage levels. By default, his probe glows amber when the supply voltage is below 11.5V, turning green when the supply is between 11.5V and 15V. When the detected voltage is too high, the built-in LED glows a bright red. When the polarity is reversed, the LED flashes red regardless of the supply voltage.
All of these trigger levels can be set in the PIC’s code, which [Rudolf] is kind enough to include on his page, along with schematics for making your own.