When you need to connect you gear to unknown source then you risk to blow your radio. This small circuit I designed to be very cheap. This tester you connect first to unknown powerpole connector and test polarity and voltage level. If anything going wrong then you just blow your cheep tester and not your expensive radio.
When you connect powerpole tester to unknown powerpole connector then first check polarity, if polarity is wrong then flash red colour led, if polarity is right then check voltage level. Dependent of voltage level different colour glowing a bi-colour LED.
Default Voltage Levels:
Green >11.5V - <15V
You can change voltage levels if you want in microcontroller source code.
Step 1: Schematic
Input connector and Power Supply
CONN1 is a input connector. From CONN1 connector get power a circuit and as well measure input voltage. Input D1 - D4 diode's are connected in Gratze bridge, this is important to we have always correct polarity power supply to the circuit. Power supply is standard 78L05 IC and couple capacitor.
R1 and R2 divide input voltage to A/D working voltage range. In this resistor setup you can use till 20V. If you need higher or lower input voltage range, you need to recalculate R1 and R2 value.
PIC12F675 - A/D Converter, Comparator, LED Driver
In PIC running the Anderson Powerpole Polarity and Voltage Tester software. The software is written in JAL programing language. First read A/D converter, after compare A/D value with user defined comparator toggle levels and finally pull down to GND LED's Cathode.
"Display" Bi-color Led
Whit one bi-color led you can read status of the comparator.
Default Comparator Trigger Levels and led colors:
Low Voltage (Amber/Orange Led) - <11.5V
In Range (Green Led) - >11.5V - <15V
High Voltage (Red Led) - >15V
Wrong Polarity - Flashing Red Led