Power problems


Closed Thread
Results 1 to 40 of 51

Thread: Power problems

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Post some code!!!

  2. #2
    Join Date
    Jul 2003
    Location
    USA - Arizona
    Posts
    156


    Did you find this post helpful? Yes | No

    Default

    You should have the MCLR set per the 16F877A datasheet. Note that the 16F887 "has a noise filter in the MCLR Reset path. The filter will detect and ignore small pulses.". This along with the different clock circuits on the 887 makes enough of a difference.

    A simple test code which works on both the 877A and 887, as previously suggested, will also provide some insight.

  3. #3
    Join Date
    Jun 2008
    Posts
    84


    Did you find this post helpful? Yes | No

    Default

    languar I didn't get you point.
    Code:
    DEFINE OSC 8
    a var byte
    a=0
    TRISB=$0
    test:
    SEROUT PORTB.0,4,[254,128,#a]
    a=a+1
    pause 1000
    goto test
    
    end
    Last edited by menta; - 28th July 2008 at 10:07.

  4. #4
    Join Date
    Jul 2003
    Location
    USA - Arizona
    Posts
    156


    Did you find this post helpful? Yes | No

    Default

    What I am trying to say is that the 887 and 877A are not exactly identical. The MCLR input (something that can be associated with such problems) are quite different on both devices. My suggestion is to connect the MCLR to Vdd on the 877A using the R-C-R circuitry in the datacheet.

    Also, the OSC input circuitry are not the same on both devices. Do both circuits you have (i.e. working 887 and non-working 877A) use the same external crystal circuit, or does the 887 uses the internal oscillator?

    The code you have posted works on the 887, but not on the 877A? Is this correct?

  5. #5
    Join Date
    Jun 2008
    Posts
    84


    Did you find this post helpful? Yes | No

    Default

    I tried to connect the MCLR stright to the +5V. Didnt help. Will try with RCR.
    887 use internal OSC while the 877A use an external.
    The code works perfect on both devices when using the USB programmer to power up the circuit.
    When I use the 7805 to power the 877A, it fails. 887 is running with the same 7805 with no problems.
    I see that the program run, I see it print something every 1 second, It start to print 1,2 and then it print junk every 1 sec. Thats why I think the LCD get some noise. I tried with R-C to the ground, but it doesn't help.

  6. #6


    Did you find this post helpful? Yes | No

    Default

    With regard to this circuit, take the 2803 out of the circuit and try it. If it still doesn't work, it's not power related, then we can look at noise somewhere. Have you got a photo of this setup?

  7. #7
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hi Menta,
    You know, the schematic you posted has 1 rather serious omission, in that it is sending AC and not DC to the regulators. Did you install a bridge between the transformer and the regulators? Cause ME-THINKS AC ain't going to work.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. Battery powered applications
    By NavMicroSystems in forum Off Topic
    Replies: 7
    Last Post: - 22nd June 2009, 08:12
  2. Pic getting part power from Analog Port
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 22nd April 2009, 11:34
  3. HSerin problems on power up
    By Luckyborg in forum Serial
    Replies: 8
    Last Post: - 21st April 2009, 20:49
  4. 12 Servo's together does not seem to work, Power problem
    By macx75 in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th December 2006, 20:30
  5. problems on power up of PIC
    By dmairspotter in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th June 2006, 15:11

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