Problem with PIC16F87


Closed Thread
Results 1 to 40 of 44

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink

    Hi,

    I thought it was a 16F88 ... sorry !

    Did you install the 0.1µF close to the '87 supply Pins ( between pins is best ! ) ... and a 10µF+ Tantalum as close as possible ???

    Some decoupling might be also necessary for the 555 : there are well known current spikes while the output stage toggles ... or try a CMOS 555 !

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  2. #2
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    I think i have a 10nF cap right at the side of the chip. Its as close as i can get it. There is also a 100uF cap right after the regulator. Theres also an audio circuit that connects to it which has a pair of 1000uF caps on i think (they are at least 100uF). It doesnt make any difference wether or not that circuit is attached.

    I didnt use a CMOS 555 because i read somewhere that they wouldnt be suitable for this circuit.

  3. #3
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Hi, Im still having problems with this one. I connected the circuit back up to have another go at fixing it but the PIC doesnt seem to work properly at all now. When the 555 isnt connected the chip will turn on and flash some LEDs (to show its alive) then after a few seconds it resets itself. With the 555 connected it does the same thing but flickers slightly during the flash pattern.

    I connected my picoscope up to see whats happening. Ive uploaded a screenshot of it. This is with the audio circuit (with the big capacitor) disconnected and with the 555 connected. This is the most variation the circuit could possibly see but it doesnt look like its enough to cause any problems
    Attached Images Attached Images  

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    What are you using for a power supply and how is BOR set?
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Im using a PSU similar to ones that would power external hard drives etc. Ive run breadboarded PIC circuits from this before without having any capacitors so i know its a good supply.

    Something i forgot to mention before, the manual for the picoscope says that it will pick up slight interefence so the voltage is probably a lot cleaner than that line makes it look.

    BOR is a fuse value right? I think ive seen it before but this chip doesnt seem to have that fuse.

    Ive uploaded a screenshot of the fuses i have available and their values. Its been about a week since i last programmed this PIC so maybe a fuse is wrong
    Attached Images Attached Images  

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    BODEN or something like that for this chip. Sorry
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    I tried changing the BODEN value but i got a fuse error that i cant get rid of. Ive set the fuses back, turned the programmer off/on and restarted the program but everytime i try to program i get this error "Fuse error 0x2007, Good 0x3F6E, Bad 0x0F0F". The numbers change when i change the fuse values though

Similar Threads

  1. problem using GOSUB under interrupt
    By fobya71 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 5th March 2010, 19:52
  2. Problem to compile my program
    By wagner in forum Off Topic
    Replies: 5
    Last Post: - 7th July 2008, 20:17
  3. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  4. 1 slave 1 master 1 MAX232 1 problem ?
    By SuB-ZeRo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 31st July 2005, 22:59
  5. PORTA.PinNo = 1 ' problem
    By frank small in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 6th May 2004, 14:30

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts