PIC powered by capacitor for 0,5 second


Results 1 to 19 of 19

Threaded View

  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938

    Default PIC powered by capacitor for 0,5 second

    Hello,
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1936&stc=1&d=118781343 6">

    I intend to power a PIC (it's a 16F630 at the moment) throught a switch and detect a "power-OFF / power-ON" sequence.

    In other words, when I press the button, the PIC is switched "ON" and a Port (i.e. pin 3) reads a HIGH level. PIC performs Task 1 as long as the power is not cut.

    I would like to be able to release the button for half a second to detect the LOW level on the Port and then switch the PIC back ON again to perform Task 2.

    If the power-OFF state is longer than 0,5 second, the PIC will normally perform Task 1 when the power comes ON again.

    I tried with a 10µ capa and then with a 470µ one but I can't get it working, the PIC switches OFF immediately. The total "load" on the PIC is around 2mA during the time a release the button (= no direct power from the supply). The diode is a 1N4148.

    Is what I'm trying to achieve possible that simple way or not? If yes, what should I change or add to my circuit?
    Attached Images Attached Images  
    Roger

Similar Threads

  1. How can a battery powered PIC turn itself off?
    By tekart in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 9th August 2012, 10:44
  2. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 10:00
  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. Pic powered from USB?
    By Squibcakes in forum USB
    Replies: 5
    Last Post: - 26th June 2006, 00:03
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

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