Power up reset


Results 1 to 7 of 7

Thread: Power up reset

Threaded View

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


    Did you find this post helpful? Yes | No

    Lightbulb

    Hi,

    During power up ...

    all pins are INPUTS ( say floating ! ) ... till you turn them to outputs.

    So ...

    1) place some pullup or pulldown ( to suit your application ) resistors to fix the outputs ( may be inputs too, depends on circuitry ahead ... ) levels while they are " uncontrolled "

    2) program output and input levels required ( PORTx = % 11001010 i.e )

    3) THEN program inputs and outputs ( TRISx = % 00110110 i.e )

    This way ... outputs are fully under control ... Even if Pic is taken off from its socket !!!


    Alain
    Last edited by Acetronics2; - 24th November 2009 at 15:41.
    ************************************************** ***********************
    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 " !!!
    *****************************************

Similar Threads

  1. Won't go back to SLEEP after 1st Interrupt
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 29th June 2009, 10:00
  2. Battery powered applications
    By NavMicroSystems in forum Off Topic
    Replies: 7
    Last Post: - 22nd June 2009, 08:12
  3. Pic getting part power from Analog Port
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 22nd April 2009, 11:34
  4. PIC power backup with "super capacitor"
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 25th January 2007, 00:51
  5. 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

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