motors browning out PIC


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Posts
    76


    Did you find this post helpful? Yes | No

    Default

    Sorry for the late response.

    What is BOD?

    I don't need the MCLR, so I can probably turn it off. Won't the power be drawn from the PIC and restart it anyway? I mean, if there is no power to the PIC when the motors turn on, will it restart? Or the motors will not draw all the current?

    Thank you very much for the responses.

    -Mike

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    That is why the approach I have suggested (Schottky diode and capacitor) works. The motors can pull the power supply to zero volts for a very short time, and the PIC keeps on running due to the energy stored in the capacitor.

    I had an application where the power supply dropped to under 0.5V for 10 milliseconds. After I added the diode and the caps, the circuit worked perfectly.
    Charles Linquist

  3. #3
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Hi Mike,

    In that case, use these settings if you can and remove MCLR resistor;
    and if you can, use internal OSC.

    Code:
    @ DEVICE PIC16F628A, INTRC_OSC
    @ DEVICE PIC16F628A, MCLR_OFF
    @ DEVICE PIC16F628A, WDT_OFF
    @ DEVICE PIC16F628A, PROTECT_OFF
    @ DEVICE PIC16F628A, BOD_OFF
    @ DEVICE PIC16F628A, CPD_OFF
    and, as Charles said, use a cap.


    ----------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

Similar Threads

  1. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 10:00
  2. Replies: 67
    Last Post: - 8th December 2009, 02:27
  3. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 21:01
  4. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14
  5. PIC chips, stepper motors and precision
    By Demon in forum General
    Replies: 6
    Last Post: - 6th February 2005, 16:28

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