Showing posts with label PIC12F683. Show all posts
Showing posts with label PIC12F683. Show all posts

Saturday, September 25, 2010

Frequency Counter Using PIC12F683

The Timer1 module inside PIC12F683 is a 16-bit timer/counter. If used as an asynchronous counter, this module can be used for counting the frequency of an external clock source applied to its GP5/T1CKI port. The following example is a 0-65535 Hz frequency counter using Timer1 module of PIC12F683. The Timer1 module is reset first and then turned ON for 1 sec to count the clock pulses arrived at its T1CKI port during that period. The number of pulses arrived in  second is frequency itself. The measured frequency value is sent to PC through serial port and displayed on a hyperterminal receiver window. If the external clock frequency is over 65535 Hz, Timer1 overflows and an interrupt is generated. In case of the overflow, "Frequency out of range " message is displayed on the window. A 555 Timer IC running as an astable multivibrator is used as the external clock source.


Saturday, July 10, 2010

PIC12F683 Development Board

If you have never tried PIC microcontrollers, you can start with Microchip's 8-pin PICs. One of the most versatile type is PIC12F683. It is a 8-pin Flash based, 8bit RISC microcontroller from Microchip. This little PIC microcontroller offers up to 6 I/O pins (the remaining two are power supply pins). It needs no external oscillator, as it has an in-built oscillator with software selectable frequency from 8 MHz to 125 KHz. It also offers a feature that allows external signals to wake it upfrom the sleep state.

If you want to explore the feature of this microcontroller, here is a set of complete circuit diagrams and test projects. Visit this for more details.