Power problems


Closed Thread
Results 1 to 40 of 51

Thread: Power problems

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    noise my friend, seems the only option at this stage.

  2. #2


    Did you find this post helpful? Yes | No

    Default

    or your display is messed up. Checked the leads into the display?

    Just out of curiosity, what is the rating on the tranny? and what was the total current draw on the circuit?

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    And once again, it sounds like it's time to go back to the drawing board with a 'blinky led'...
    Yes I know it supposedly works fine on the '887 demo board, that's great.
    Add an LED to the 877A board and get that working, then build back up to a clone of the 887 demo board.

  4. #4
    Join Date
    Jun 2008
    Posts
    84


    Did you find this post helpful? Yes | No

    Default

    Guys,
    Everything is working perfect when I use the programmer power.
    A ~700 lines code.
    The problem is very simple when connecting outside power source.

  5. #5
    Join Date
    Jun 2008
    Posts
    84


    Did you find this post helpful? Yes | No

    Default

    I build a temporary new board and it works ok.
    Maybe something is wrong with the other board.
    I might build it fro scratch again.
    Thanks.

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by menta View Post
    Guys,
    Everything is working perfect when I use the programmer power.
    A ~700 lines code.
    The problem is very simple when connecting outside power source.
    Does it run if you manually RESET (pull MCLR to ground) it after power up?
    If so, put a capacitor across MCLR and ground, and a resistor between Vdd and MCLR.
    The problem might be that MCLR is coming up faster than Vdd.
    An R/C across MCLR might slow it up just enough to meet the chip's MCLR timings.

  7. #7
    Join Date
    Jun 2008
    Posts
    84


    Did you find this post helpful? Yes | No

    Default

    On the temporary board the led was blinking very fast (suppose to have 1 sec pause)
    Only when I set MCLR to +5v it started to run ok.

  8. #8


    Did you find this post helpful? Yes | No

    Default

    Sounds like bad soldering or bad connections. Glad you have it sorted though. External power source making it work points to sever current loss accross your tranny/7805 circuit. Could it be your bridge rectifier is shot in the tranny? low power output?

  9. #9
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by menta View Post
    On the temporary board the led was blinking very fast (suppose to have 1 sec pause)
    Only when I set MCLR to +5v it started to run ok.
    The LED was probably dumping your +5v line repeatedly causing a brown out causing your PIC to reset making it look like it was blinking really fast (which it probably was). If your MCLR was floating (i.e. not connected), same thing may happen (i.e. brown out triggers MCLR just by chance). Connecting MCLR to Vdd might've help alleviate the situation, but sounds to me like a temporary fix.
    Not a good practice to leave MCLR floating, unless you are absolutely sure it's tied internally (which I'm not sure the 16F877A has that exact option).
    Add an extra resistor inline with your LED (make it really dim), pull the +5v off of MCLR and see what happens (less current flow across the LED, less load on the main +5v rail, etc).
    Then maybe try adding another capacitor between Vdd and Vss...can never have too much of that...

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


    Did you find this post helpful? Yes | No

    Default

    Never mind

  11. #11


    Did you find this post helpful? Yes | No

    Talking

    Dammit!!!! Didn't spot the MCLR pin wasn't connected in the schematic. Maybe need new glasses!!!!!!

  12. #12
    Join Date
    Jun 2008
    Posts
    84


    Did you find this post helpful? Yes | No

    Default

    Well, I really dont know what do more.
    On the test board everything was ok. The LED was blinking, the LCD shows the numbers.
    Now I wrap it again and it aint work, unless I touch the 8Mhz crystal with my hand ;-0

Similar Threads

  1. Battery powered applications
    By NavMicroSystems in forum Off Topic
    Replies: 7
    Last Post: - 22nd June 2009, 07:12
  2. Pic getting part power from Analog Port
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 22nd April 2009, 10:34
  3. HSerin problems on power up
    By Luckyborg in forum Serial
    Replies: 8
    Last Post: - 21st April 2009, 19: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, 19:30
  5. problems on power up of PIC
    By dmairspotter in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th June 2006, 14: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