Help Rqd - Driving 5Volt Relay using two pins


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    257


    Did you find this post helpful? Yes | No

    Red face Default start up state of the TRIS registers?

    Hi Mel,

    You are right in that I should have chosen a relay with a higher coil resistance... and for sure that is what I will do next time.

    What is the default start up state of the TRIS registers? Wouldn't they have been designed to go High-Imedance for safety's sake and not pseudo random?

    Surely the lab coats at Microchip thought this one through?!!

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    The default Startup State of the Registers is in the back of the Datasheet. Yes, TRIS in theory comes up as Inputs, BUT trust nothing and nobody in this business and always design for worst-case. That way you won't crash and burn.

Similar Threads

  1. Need Help
    By PVBiljon in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th May 2009, 17:04
  2. Change On Interrupt, PIC16F884
    By elec_mech in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 14th November 2008, 17:25
  3. Replies: 24
    Last Post: - 7th November 2008, 04:41
  4. Serial Relays
    By tazntex in forum General
    Replies: 3
    Last Post: - 17th May 2007, 17:42
  5. Driving a 180ma relay from PIC port
    By Michael in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 10th May 2007, 00:46

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