Project tutorial

Frequency Counter for Android

Frequency Counter and voltage meter for Android phone or tablet.

  • 1,818 views
  • 3 comments
  • 6 respects

Components and supplies

Apps and online services

About this project

The Android app is made using MIT App Inventor which is an easy way to make Android apps. http://appinventor.mit.edu/explore/ . The app has buttons to connect and disconnect the Bluetooth to the phone and 2 displays of voltage and frequency. The .apk file is the file that installs manually the app to your phone. The .aia file can be imported after you install the MIT App Inventor. The software (1.5 MB) can be downloaded from github.

The Arduino generates an accurate 1 second time base for the counter by cascading timer0 and timer2. The link between digital inputs 3 and 4 connects the output of timer2, 250 Hz, to input of timer0. The software waits for the output of timer0 to go positive to start the count of frequency input to timer1. Timer1 is a 16 bits timer, it overflows at the count of 32768, that in turn advances overFlow register. At the end of the 1 second the 16 bit register is recorded. The Arduino then sends to the Bluetooth 5 bytes of data in serial RS232 protocol.

The Bluetooth module HC-05 can be paired with the phone using the code 1234.

The frequency input is TTL signal levels, for low signal a video amp has to be added. The specs recommend input up to 6 MHz, I tested it at 2 MHz. The voltage input is 0-5VDC.

Code

Schematics

bt_meter
Android counter emo6uus64v

Comments

Similar projects you might like

Smart Energy Saver for Your Home

Project tutorial by Dhairya Parikh

  • 2,662 views
  • 8 comments
  • 12 respects

Arduino MKR DIN Rail Mount

Project showcase by hwhardsoft

  • 800 views
  • 0 comments
  • 3 respects

Simple Water Quality Analysis

Project showcase by Wen-Liang Lin

  • 6,843 views
  • 5 comments
  • 10 respects

A UV Measurer for Umbrella

Project tutorial by NTPC Young Maker Studio

  • 214 views
  • 0 comments
  • 3 respects

Object Avoiding FSM Robot Arm

Project showcase by Ricardo Boinho and Marcos Soares

  • 414 views
  • 0 comments
  • 2 respects

IoT Blink - Getting started with IoT

Project tutorial by AppShed Support

  • 388 views
  • 0 comments
  • 3 respects
Add projectSign up / Login