Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Resource icon

Avr based frequency meter with full code and design file 2013-01-25

Status
Not open for further replies.

magvitron

Active Member
magvitron submitted a new article:

avr based frequency meter with full code and design file - its a frequency meter. designed using atmega 8 (avr studio and avr gcc)
proteus file :

hex for lcd interfacing of the below code. ( the frequency is shown in an LCD)
View attachment 69871
Code:
#define F_CPU 8000000UL
#include <avr/interrupt.h>
#define USART_BAUDRATE 9600
#define BAUD_PRESCALE (((F_CPU / (USART_BAUDRATE * 16UL))) - 1)
#include <stdlib.h>
#include<avr/io.h>
#include<util/delay.h>
short val,val1,i;
unsigned int presc;
char a[10]; 
char...
[/quote]

Read more about this article...
 
Hi,
It would be very clear to basic members (like me) if you included more details about your frequency meter; like Min and Max frequency display capability, Frequency resolution, a nice schematic at least. Thank you anyway!
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top