![]() | ![]() | ![]() |
| | |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hey guys, Just wandering if you can suggest what is going wrong with my oscillator. I am using this: http://www.farnell.com/datasheets/64649.pdf I have previously used the 4MHz oscillator for the clock input of the PIC16F84a, im now using the 20MHz model and is wired up the same, i.e. 1: n/c 7:gnd 8: output 14: +5v I have attached a snap shot of the output, and as you can see its not the best Thanks in advance | |
| |
| | (permalink) |
| How did you check the oscillator with the test circuit given in the data sheet or from the PIC circuit? Is your 4mhz is working correctly? Best thing is to replace & see with another one.Are you sure that you working with a PIC16F84A not PIC16F84? | |
| |
| | (permalink) |
| Thanks for the quick reply, I checked the oscillator on the PIC circuit, not using the test circuit in the data sheet. And the 4MHz is working great giving a good solid output. I meant to say that i am using the 20MHz on the 16F74 and not the 16F84a, since the 16F74 requires a 20MHz clock source, but have wired it up the same. I have already swapped it over for a new one, which does exectly the same Iv attached a quick drawing of how i have connected the Oscillator. Thanks again | |
| |
| | (permalink) |
| I mean a PIC16F84 not 74.Why the PIC output wont give any results?When using the 20MHz the PIC runs five times faster than 4MHz codings. Are you sure with your codings? | |
| |
| | (permalink) | |
| Quote:
Also, why don't you just use a 20MHz crystal instead of a module?. | ||
| |
| | (permalink) |
| Yes i do have a 0.1uF cap accross +vs and ground, forgot to add it onto the drawing Im using the module because it is what i had available and have used before in other projects. Do you think the crystal would be better than the module? Thanks | |
| |
| | (permalink) |
| I suspect that you didn't select the HS oscillator in the config fuses! | |
| |
| | (permalink) | |
| Quote:
imhereithink: - try unplugging the PIC and scoping the oscillator, it may be that you have the fuses set wrong and it's loading the oscillator?. | ||
| |
| | (permalink) |
| ? You select the external oscillator in the High Speed mode: _HS_OSC if you use the config labels. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| He is using the historic PIC16F84A. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | ||
| Quote:
Quote:
| |||
| |
| | (permalink) |
| sorry for the confusion guys, i am currently using the 16F74. I was making reference to the 16F84a because i got the 4MHz oscillator to work on that. Its the 20MHz oscillator on the 16F74 that i cannot get to work properly, here is the config_word i am using: __config 0x3F10 ;Configuration bits set as: Oscillator EXTERNAL 20MHz ; Watchdog Timer OFF ; Power-up Timer ON ; Code Protect OFF Brown-out Detect OFF ; Master Clear Enable OFF ; Low Volatge Program OFF ; Data EE Read Protect OFF Code Protect OFF Nigel i tried it without the PIC in place and still get the same reading | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Working with household mains cables (not flex) | SimonW | General Electronics Chat | 4 | 1st February 2007 02:12 AM |
| faulty digital components testing,checking | walters | General Electronics Chat | 5 | 22nd August 2005 08:10 PM |
| PIC doesnt Program correctly | sandeepa | Micro Controllers | 3 | 17th December 2004 09:58 PM |
| Circuit not working... | brentonw2004 | Electronic Projects Design/Ideas/Reviews | 9 | 2nd February 2004 05:46 PM |
| Working Summing Amplifier Simulation? | petesmc | General Electronics Chat | 2 | 25th November 2003 08:02 AM |