Wednesday, 13 July 2016

Frequency Counter Using Arduino

Currently I am working on switch mode power converters . Here frequency is a very important factor, but I don't have any frequency counter .so decided to make it of my own .
Here I used arduino as controller and watching the output in the serial monitor.
I used 555 timer in astable multivibrator mode. 7414 inverting schmitt IC is used to make digital output.

Here Is the arduino code

#include <FreqCount.h>

void setup() {
  Serial.begin(57600);
  FreqCount.begin(1000);
}

void loop() {
  if (FreqCount.available()) {
    unsigned long count = FreqCount.read();
    Serial.println(count);
  }
}

Here is a video Of my prototype