![]() | ![]() | ![]() |
| | |||||||
| 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. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| 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. | |
| |
| | (permalink) |
| 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 ? | |
| |
| | (permalink) |
| 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. | |
| |
| | (permalink) |
| Ok, i think i have it going. thanks for your help anyway. I'll post back with updates. | |
| |
| | (permalink) | |
| Quote:
__________________ Regards, Sarma. | ||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| 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 |