Adjustable voltage and polarity tester


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.

How-to: Program PICs using Linux

Arguably, Microchip’s PIC microcontrollers do not get enough posts here. One of the drawbacks for some of us is that Linux support for PICs is not very well known. The information is out there, but no one has laid out the process of going from writing C code to programming a chip. Written for Linux users that are familiar with microcontrollers, basic circuits, the C programming language, and can read a datasheet, this how-to should get you up and programming a PIC quickly with Linux.

Continue reading “How-to: Program PICs using Linux”