PIC powered by capacitor for 0,5 second


Closed Thread
Results 1 to 19 of 19

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default How it will work

    This circuit will control a "stop-light" made of LEDs located in the center of the rear-window of a car.

    There are two wires powering the "stop-light". Only 0V is constant and V+ comes when you go on the brakes.

    My first idea was to install a third permanent V+ wire but the engineers from RENAULT made things not a simple way and it is almost impossible to do so .

    Function of the circuit: when I go on the brakes, all LEDs light-up.

    If I go on the brakes a second time:
    - more than half a second later (> 0,5s), all LEDs will light-up again;
    - less than half a second later (< 0,5s - or, if I go a second time on the brakes within half a second), I will activate a function that makes my LEDs scroll.
    Roger

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,172


    Did you find this post helpful? Yes | No

    Default

    OK. Now is Clear. Well, the 1 Farad is very large capacitor at 5.5Volt. I think is the cheaper and easiest solution.

    Only as a precaution, use a small resistor of 100 ohms to charge it, not directly at +5V.

    Ioannis

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


    Did you find this post helpful? Yes | No

    Lightbulb

    Hi, Roger

    Why not, when removing power, enter a BASIC .5 seconds SLEEP command, and then verify if power is still here ???

    Think to modify the WDT prescaler ... cause PbP sets it to 128 ( the 2.3 s granularity ! )
    See OPTION Reg setting (in PBPIC.xx LIB ... ???)

    The capacitor size could be reduced ...

    Alain
    Last edited by Acetronics2; - 24th August 2007 at 09:36.
    ************************************************** ***********************
    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 " !!!
    *****************************************

  4. #4
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by flotulopex View Post
    This circuit will control a "stop-light" made of LEDs located in the center of the rear-window of a car.

    Function of the circuit: when I go on the brakes, all LEDs light-up.

    If I go on the brakes a second time:
    - more than half a second later (> 0,5s), all LEDs will light-up again;
    - less than half a second later (< 0,5s - or, if I go a second time on the brakes within half a second), I will activate a function that makes my LEDs scroll.
    Hi Roger,

    Not allowed in Switzerland, in case of a car accident you will have a problem.

    The police will stop your car immediately and you will have to fix the car and then
    go with the car to the "Service des automobile" of the canton where the car is immatriculated.

    Best regards,

    Luciano

  5. #5
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    952


    Did you find this post helpful? Yes | No

    Default ...

    I know that...

    But what would be the taste of Life if there is no risk?

    BTW, with this circuit, I will "harm" myself only.

    Thanks anyway for warning.
    Last edited by flotulopex; - 24th August 2007 at 16:03.
    Roger

  6. #6
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    952


    Did you find this post helpful? Yes | No

    Thumbs up

    Thank you Luciano!

    It works perfectly with a 1000µF according to your schema and BODEN disabled.

    Try to show the final result in a few days...
    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, 11:44
  2. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 11: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, 22:01
  4. Pic powered from USB?
    By Squibcakes in forum USB
    Replies: 5
    Last Post: - 26th June 2006, 01:03
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th March 2005, 00: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