Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 7th April 2008, 03:57 PM   (permalink)
Default frequency counter project

Im doing a frequency generator project with frequency readout.
The frequency generator part i am fine with and works well.
For the frequency readout part i found this http://www.best-microcontroller-proj...y-counter.html

Has anyone built this frequency counter project?
This is my first time programming a PIC but not first time programming using C and asm. I downloaded the software to the PIC with no errors and there is a clock being produced when checked with the scope. However the software doesnt appear to be working, the LED should flash to indicate the gate time but there is nothing atall on that pin also nothing is displayed on the LCD.

Im not sure if it is me or the software or a mistake in the diagram etc. (most probably me)
If anyone can help me or give me any suggestions/pointers that would be brilliant. I need to get this working!

thanks

Last edited by stickpin; 7th April 2008 at 03:59 PM.
stickpin is offline  
Old 7th April 2008, 09:18 PM   (permalink)
Default

Hi, I did not build this device but I am myself designing a frequency counter. This one is a very simple one, perhaps the simplest you can make with a PIC micro. What frequency are you trying to measure in your test ? I'd suggest to start with a low one. The site says it should work until 50 MHz but this is already out of specs for the PIC micro (if I remember correctly max. toggle rate for the T1CLKI would be about 16 MHz ... of course it can work on higher frequency if you are lucky but Microchip does not guarantee it will).
If it does not work at all, try to double-check all connection, the connection to the LED and LCD - check the contrast setting. do you see any activity on other pins except for the input ?
petrv is offline  
Old 13th April 2008, 03:17 PM   (permalink)
Default

I only need it to count up to a few meg.
This is my first time programming a PIC so maybe i havnt programmed it correctly? Would the clock frequency still run though?
There is nothing happening except from the clock which is running.
stickpin is offline  
Old 17th April 2008, 03:44 PM   (permalink)
Default

Ok, i think i have it going.

thanks for your help anyway.
I'll post back with updates.
stickpin is offline  
Old 18th April 2008, 08:01 AM   (permalink)
Default

Quote:
Originally Posted by stickpin
Ok, i think i have it going.

thanks for your help anyway.
I'll post back with updates.
Congrats. Most probably, earlier, you might have programmed on a separate programmer and not pulled down RB3 for causing LVP effect., which might also cause this problem.
__________________
Regards,
Sarma.
mvs sarma is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
designing a prescaler for a counter project - maybe ECL ? petrv Electronic Projects Design/Ideas/Reviews 8 6th April 2008 09:29 PM
Data about the frequency counter in Kchibo KK939B radios. Dawny Datasheet/Parts Requests 1 2nd November 2007 10:53 AM
How we can do it in Assembly..Help Needed Ayne Micro Controllers 37 29th December 2006 06:49 PM
need help with a frequency based project Wildfox Electronic Projects Design/Ideas/Reviews 2 8th August 2003 01:07 AM
Frequency counter ghz range sumitkaul Electronic Projects Design/Ideas/Reviews 1 16th July 2003 03:03 AM



All times are GMT. The time now is 10:19 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker