Hardware or Software


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Location
    Florida USA
    Posts
    22


    Did you find this post helpful? Yes | No

    Smile Turn off signal to ADC Inputs

    Some time ago I designed a battery charger for my tools and had the same situation, although I never had a problem with a blown pic when the battery was connected to the pic inputs. To be safe, I would suggest putting a P-ch Mosfet with a low resistance such as a BS 250 in series with the input divider and have the pic turn them on when ready.
    Regards,
    misterg

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


    Did you find this post helpful? Yes | No

    Default

    You can apply voltage to an input before the PIC has power as long as you keep the current below the 'maximum input current' for your device. I believe that is +/-20mA for most devices. This number can be found in the ABSOLUTE MAXIMUM RATINGS listing in the datasheet.
    All PICs have (essentially) a diode between the input pins and the supply rails. This also means that if you apply a voltage to an input pin, you can power the PIC from the input pin alone. I once had trouble with a PIC not resetting on power up. It turns out that the current into the input pin was preventing the supply voltage from dropping low enough (even when the PICs power supply was shut off) to allow the PICs internal RESET circuit to operate.
    Charles Linquist

Similar Threads

  1. Benefits of hardware usart over software?
    By sccoupe in forum Serial
    Replies: 2
    Last Post: - 19th March 2009, 01:16
  2. Software Stack
    By yasser hassani in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th December 2007, 10:04
  3. IR software & hardware basics
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 6th May 2007, 10:05
  4. hardware counting while software runs
    By Archangel in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 2nd October 2006, 03:26
  5. Programming software for PicAll Hardware
    By bcd in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 16th July 2006, 08:15

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