Startup power higher than while program running - why?


Results 1 to 14 of 14

Threaded View

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

    Default Startup power higher than while program running - why?

    Hello,

    I'm finishing my timer project and I have started to measure power consumption to correctly dimention the power supply on the final PCB.

    When I power-up my circuit, the Amp-meter says 50mA. The timer is in some kind of idle mode since it waits for a player to start the timer or to choose the numbers of players.

    When a button has been pressed, the current drops down to 19mA (!?) and stays around this value for all the time the game is ongoing.

    In the START loop, pressing the RED button will ask the user to choose how many players will play. When it comes back to the initial display (still in the START loop), the current has dropped to 19mA (!?).

    I can software reset the game (no power OFF) so the timer can come back to the very starting point of the program = same point as when the circuit is powered-on. The current goes then back to 50mA.

    I assume something is wrong in my "START" loop.

    Yes but what???

    I had to attach the code in a .TXT file since it was to big to be fit in the post.

    PS: it's my first "real" program so critics & comments are really welcome
    Attached Files Attached Files
    Last edited by flotulopex; - 9th December 2006 at 12:38.
    Roger

Similar Threads

  1. Battery powered applications
    By NavMicroSystems in forum Off Topic
    Replies: 7
    Last Post: - 22nd June 2009, 07:12
  2. Pic getting part power from Analog Port
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 22nd April 2009, 10:34
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. Replies: 4
    Last Post: - 16th May 2008, 14:35
  5. Program returns to beginning at interupt
    By BGreen in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 25th April 2005, 11:20

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