Voltage programmable square wave generator
Here’s another daft yet interesting PIC12F675 idea I came up with. When I wanted to show someone how logic gates worked I could only find a NAND gate which wasn’t very handy for demonstrating AND’s OR’s, NOR’s and ExOR’s. I also wanted to have a play with the A/D converter on the 12F675 so I came up with the idea of a PIC that could function as a single 2-input logic element. The logic function is determined by an analogue voltage applied to the GPIO4 pin when the device is first reset, it isn’t sampled again after this so logic can’t be changed on the fly. The 3 MSBs of the A/D conversion give eight distinct voltage levels that map to specific logic functions.
Read Source: http://picprojects.org.uk/projects/logic/logicelement.htm
Related Links
Voltage controlled oscillator
Square wave generator
A/D converter
PIC12F675
Heater Fan Controller by PIC12F675
Squarewave Oscillator by IC LM339
Video speed 6-bit Flash A/D converter by CA3306
Analog to Digital & Digital to Analog
Categories: Microcontroller Tags: A/D converter, PIC12F675, square wave generator, voltage controlled oscillator







or

