Problems with 12F675


Closed Thread
Results 1 to 40 of 67

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default



    If it is a 78L05 ... then that's where your 3mA is going. (Quiescent Current)
    <br>
    DT

  2. #2
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default

    Hi Mr.Darrel !
    Maybe I can't explain verry clear !
    If @SLEEP command is 'enable', the repause current is 2.5 mA (like without PIC !). But, after couple of press of but1 or but2, but1 don't work more ! Need to disconnect power !
    If @SLEEP is 'disable' (by ' in front of her), the repause current is 3.5 mA, and but1 and but2 works without problems ! I do not change nothing in schematic !
    Just use @SLEEP (2.5 mA ; problems with but1) or not (3.5 mA ; not problems)
    Sorry for my poor english...

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Your problems are NOT in the program, since the same program is running here without any problems.

    What is that part I pointed to above?

    Where are the Flyback diodes for the relay coils?

    Where are the capacitors ... decoupling, and on the regulator?
    <br>
    DT

  4. #4
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default

    The regulator is ST78L05, with 1x0.1 uF decoupling on output (SMD,on the back side) ; the diodes for relays are 1N4007 (on the back side). Thanks for patience !

  5. #5
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hi Fratello,
    I think what Darrel is saying is the 3ma you are measuring is going out through the regulator as HEAT, and your circuit is working as expected.
    Question, if this is a power window switch, do you shut off it's power with the ignition ? You lose more than 3ma because the top of the battery is not clean, and you cannot clean it well enough to not lose it.
    Last edited by Archangel; - 9th August 2009 at 09:35.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  6. #6
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default

    I put one capacitor of 1uF to output of 78L05 and I replace the two diodes from relays with 1N4148, and ...YES !!!!!! Now the consumption is 2.5 mA and BOTH buttons work VERRY WELL !!!!! What a simple solution !!!! I can't explain why now work, but I'm HAPPY ! THANK YOU ALL SO MUCH !
    ...now I have in mind another thing : at the first start of this module, reading the current of overrload and memorized him in eeprom, for using as reference for further decoupling of relays. I read about this first 'calibration' in "12F675 Voltage monitor" by Frank Miller. Now I don't know how reading the highest level of voltage assuming the variation of tension is something like this ...
    PS : Hope not making mistake if I bring here this new subject...
    PS2 : A new observation : It's enough to put 1 uF capacitor; don't need to replace the two diodes on relays ! I try this on the other module.
    Attached Images Attached Images  
    Last edited by fratello; - 9th August 2009 at 11:49.

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


    Did you find this post helpful? Yes | No

    Wink

    Hi, Fratello

    you should try the ICL 7663 as a regulator, instead of the 78L05 ...

    quiescent current is ... rather interesting !!!

    Alain
    ************************************************** ***********************
    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. 12F683 vs 12F675.
    By sccoupe in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th July 2009, 04:58
  2. LANC code 12F675
    By MikeDD in forum General
    Replies: 4
    Last Post: - 9th May 2008, 05:44
  3. 12F675 cant serout to PC
    By ruijc in forum General
    Replies: 9
    Last Post: - 3rd December 2007, 00:11
  4. USART problems
    By egberttheone in forum mel PIC BASIC Pro
    Replies: 47
    Last Post: - 6th March 2005, 21:45
  5. Serial LCD on 12F675
    By anj in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 31st March 2004, 23:11

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