Problems with 12F675


Closed Thread
Results 1 to 40 of 67

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Thanks for reply ! I use the schematic from post #1 and the code continuous improved in this thread. I made this changes on the last code posted by Mr.Darell. I say that I use this schematic on automobile ; I think every way to reduce the consumption it's necessary...or maybe the battery of my car give enough current, even I don't start the engine for a long period...It is not a verry big problem, but I want to understand the "mechanism" of the sleep procedure, and I am dissatisfied because, even I try all the variants, the obvious results are not present ! Just I try to make this project almost perfect and I really appreciate the support of all. Sorry if I disturb somebody...or if I became boring...

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


    Did you find this post helpful? Yes | No

    Default

    fratello,

    Have you changed anything?
    I see you put the WDT back to OFF ... good.

    Here's a picture of my breadoard of your circuit, in case you see something different.
    Obviously, I'm using LED's instead of relays, but the rest should be the same.

    When in SLEEP mode, I measure about 8 µA on my cheap DVM.

    The only time it's not in sleep mode, an LED(relay) is ON, so that current is about 7 mA.



    Here's the program I'm currently using.
    Attached Files Attached Files
    DT

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by fratello View Post
    it is not a very big problem, but I want to understand the "mechanism" of the sleep procedure, and I am dissatisfied because, even I try all the variants, the obvious results are not present ! Just I try to make this project almost perfect and I really appreciate the support of all. Sorry if I disturb somebody...or if I became boring...
    Ya, Me too . . . You are not disturbing, or boring me, I just need to be clear on what you are doing, so as to understand, the post about PICadilly confused me.
    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.

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


    Did you find this post helpful? Yes | No

    Default

    This is schematic I use. With my FUKE DT-830B I measure 3.5 mA -all the time- with no button push (so both relay OFF) and about 37 mA with one relay ON (without motor, of course). I remove the PIC and the current consumption is 2.5 mA (the two transistors ?) .
    I use the same code ; I compile him after copy/paste of Yours ! Maybe it's because of my multimeter ? Anyway, thank You all so much for support !
    Attached Images Attached Images  

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by fratello View Post
    This is schematic I use. With my FUKE DT-830B I measure 3.5 mA -all the time- with no button push (so both relay OFF) and about 37 mA with one relay ON (without motor, of course). I remove the PIC and the current consumption is 2.5 mA (the two transistors ?) .
    I use the same code ; I compile him after copy/paste of Yours ! Maybe it's because of my multimeter ? Anyway, thank You all so much for support !
    Hi fratello, You could play with some resistors to bias those transistors so the base is more negative than the emitter to cause them to turn off more, do not tristate the outputs, drive them low, they will stay that way in sleep ( if I understand the data sheet that is ) . Try measuring the current with the relays out, betcha you get a low reading like Darrel did, MeThinks the logic zero on the port is still above zero volts (maybe due to internal leakage collector to base) giving the transistor some drive to increase the drain, try putting some emitter resistors in and see if it changes anything.
    Last edited by Archangel; - 8th August 2009 at 08:38.
    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.

Similar Threads

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